Skip to content

Commit 89af2f4

Browse files
authored
Update README.md
Added two examples
1 parent 33943a0 commit 89af2f4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,17 @@ A virtual host scanner that detects catch-all scenarios and attempts to work aro
1717
| --ignore-content-length IGNORE_CONTENT_LENGTH | Ignore content lengths of specificed amount. |
1818
| --unique-depth UNIQUE_DEPTH | Show likely matches of page content that is found x times (default 1). |
1919
| --ssl | If set then connections will be made over HTTPS instead of HTTP. |
20+
21+
## Examples
22+
23+
The most straightforward example runs the default wordlist against example.com using the default of port 80:
24+
25+
```bash
26+
$ VHostScan.py -t example.com
27+
```
28+
29+
Say you have an SSH port forward listening on port 4444 fowarding traffic to port 80 on example.com's development machine. You could use the following to make VHostScan connect through your SSH tunnel via localhost:4444 but format the header requests to suit connecting straight to port 80:
30+
31+
```bash
32+
$ VHostScan.py -t localhost -b example.com -p 4444 -r 80
33+
```

0 commit comments

Comments
 (0)