Skip to content

Commit 4b55f04

Browse files
committed
Updated user agent documentation/help
1 parent e64815f commit 4b55f04

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ $ pip install -r requirements.txt
4343
| --fuzzy-logic | If set then all unique content replies are compared and a similarity ratio is given for each pair. This helps to isolate vhosts in situations where a default page isn't static (such as having the time on it). |
4444
| --no-lookups | Disbale reverse lookups (identifies new targets and append to wordlist, on by default). |
4545
| --rate-limit | Amount of time in seconds to delay between each scan (default 0). |
46+
| --random-agent | If set, each scan will use a random user-agent from a predefined list. |
47+
| --user-agent | Specify a user agent to use for scans. |
4648
| --waf | If set then simple WAF bypass headers will be sent. |
4749
| -oN OUTPUT_NORMAL | Normal output printed to a file when the -oN option is specified with a filename argument. |
4850
| - | By passing a blank '-' you tell VHostScan to expect input from stdin (pipe). |

VHostScan.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ def main():
3333
parser.add_argument("--fuzzy-logic", dest="fuzzy_logic", action="store_true", help="If set then fuzzy match will be performed against unique hosts (default off).", default=False)
3434
parser.add_argument("--no-lookups", dest="no_lookup", action="store_true", help="Disable reverse lookups (identifies new targets and appends to wordlist, on by default).", default=False)
3535
parser.add_argument("--rate-limit", dest="rate_limit", type=int, help='Amount of time in seconds to delay between each scan (default 0).', default=0)
36+
parser.add_argument('--random-agent', dest='random_agent', action='store_true', help='If set, then each scan will use random user-agent from predefined list.', default=False)
37+
parser.add_argument('--user-agent', dest='user_agent', type=str, help='Specify a user-agent to use for scans')
3638
parser.add_argument("--waf", dest="add_waf_bypass_headers", action="store_true", help="If set then simple WAF bypass headers will be sent.", default=False)
3739
parser.add_argument("-oN", dest="output_normal", help="Normal output printed to a file when the -oN option is specified with a filename argument." )
3840
parser.add_argument("-", dest="stdin", action="store_true", help="By passing a blank '-' you tell VHostScan to expect input from stdin (pipe).", default=False)
39-
parser.add_argument('--random-agent', dest='random_agent', action='store_true', help='If set, then each scan will use random user-agent from predefined list', default=False)
40-
parser.add_argument('--user-agent', dest='user_agent', type=str, help='User-agent for scans')
4141

4242
arguments = parser.parse_args()
4343
wordlist = []

0 commit comments

Comments
 (0)