Skip to content

Commit ec89187

Browse files
committed
Fixed spacing / line endings
1 parent 1125fe5 commit ec89187

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

VHostScan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def main():
2828
parser.add_argument('--unique-depth', dest='unique_depth', type=int, help='Show likely matches of page content that is found x times (default 1).', default=1)
2929
parser.add_argument("--ssl", dest="ssl", action="store_true", help="If set then connections will be made over HTTPS instead of HTTP (default http).", default=False)
3030
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)
31-
parser.add_argument("--rate-limit", dest="rate_limit", type=int, help='Amount of time in seconds between each scan (default 0).', default=0)
31+
parser.add_argument("--rate-limit", dest="rate_limit", type=int, help='Amount of time in seconds between each scan (default 0).', default=0)
3232
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)
3333
parser.add_argument("-oN", dest="output_normal", help="Normal output printed to a file when the -oN option is specified with a filename argument." )
3434
parser.add_argument("-", dest="stdin", action="store_true", help="By passing a blank '-' you tell VHostScan to expect input from stdin (pipe).", default=False)

lib/core/virtual_host_scanner.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def __init__(self, target, wordlist, **kwargs):
2727
self.unique_depth = unique_depth
2828
self.ssl = ssl
2929
self.fuzzy_logic = fuzzy_logic
30-
self.rate_limit = rate_limit
30+
self.rate_limit = rate_limit
3131
self.add_waf_bypass_headers = add_waf_bypass_headers
3232
self.base_host = kwargs.get('base_host')
3333
self.port = int(kwargs.get('port', 80))
@@ -118,8 +118,8 @@ def scan(self):
118118
# add url and hash into array for likely matches
119119
self.results.append(hostname + ',' + page_hash)
120120

121-
#rate limit the connection, if the int is 0 it is ignored
122-
time.sleep(self.rate_limit)
121+
#rate limit the connection, if the int is 0 it is ignored
122+
time.sleep(self.rate_limit)
123123

124124
self.completed_scan=True
125125

0 commit comments

Comments
 (0)