Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsteele committed Nov 3, 2014
1 parent b468059 commit 4b54529
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
burpstaticscan
==============

Use burp's JS static code analysis on code from your local system.
Use burp's JS static code analysis on code from your local system. Here's generally how the process works:
* Go static file server is started to host the specified directory
* Add file server URL to burp's scope
* Walk the directory
* For every file make a request to the file server
* Send the raw request and response to burp's passive scanner through burpbuddy
* Issues can be seen in burp

```
$ ./burpstaticscan -dir ./foo
Expand All @@ -11,3 +17,16 @@ $ ./burpstaticscan -dir ./foo
2014/11/02 18:11:22 1 file sent to burp
2014/11/02 18:11:22 http://localhost:9999 removed from scope
```

## Installation
Depends on the [burpbuddy](https://github.com/liftsecurity/burpbuddy) extenstion. Binary packages for most operating systems are available [here](https://github.com/tomsteele/burpstaticscan/releases/latest). There are no external dependencies, just extract and run with `./burpstaticscan`.

## Usage
```
$ ./burpstaticscan -h
Usage of ./burpstaticscan:
-burpbuddy="http://localhost:8001": HTTP API URL for burpbuddy
-dir="": directory with code to scan
-host="localhost": host for the file server to listen on
-port="9999": port for the file server to listen on
```

0 comments on commit 4b54529

Please sign in to comment.