File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ def scan(self):
5555
5656 if self .add_waf_bypass_headers :
5757 headers = {
58+ 'User-Agent' : 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36' ,
5859 'Host' : hostname if self .real_port == 80 else '{}:{}' .format (hostname , self .real_port ),
5960 'Accept' : '*/*' ,
6061 'X-Originating-IP' : '127.0.0.1' ,
@@ -64,6 +65,7 @@ def scan(self):
6465 }
6566 else :
6667 headers = {
68+ 'User-Agent' : 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36' ,
6769 'Host' : hostname if self .real_port == 80 else '{}:{}' .format (hostname , self .real_port ),
6870 'Accept' : '*/*'
6971 }
@@ -121,4 +123,4 @@ def likely_matches(self):
121123 segmented_data = dataframe .groupby ("val_col" ).filter (lambda x : len (x ) <= self .unique_depth )
122124 matches = ((segmented_data ["key_col" ].values ).tolist ())
123125
124- return matches
126+ return matches
You can’t perform that action at this time.
0 commit comments