File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ def main():
32
32
arguments = parser .parse (sys .argv [1 :])
33
33
34
34
wordlist_helper = WordList ()
35
- wordlist , word_list_types = wordlist_helper .get_wordlist (arguments .wordlist )
35
+ wordlist , wordlist_types = wordlist_helper .get_wordlist (arguments .wordlist )
36
36
37
37
if len (wordlist ) == 0 :
38
38
print ("[!] No words found in provided wordlists, unable to scan." )
@@ -43,7 +43,7 @@ def main():
43
43
"port {port} and {inputs}" .format (
44
44
host = arguments .target_hosts ,
45
45
port = arguments .port ,
46
- inputs = ', ' .join (word_list_types ),
46
+ inputs = ', ' .join (wordlist_types ),
47
47
)
48
48
)
49
49
Original file line number Diff line number Diff line change @@ -35,8 +35,9 @@ def write_grepable(self, filename):
35
35
def output_normal_likely (self ):
36
36
uniques = False
37
37
depth = str (self .scanner .unique_depth )
38
- output = "\n [+] Most likely matches with a unique count " \
39
- "of {} or less:" .format (depth )
38
+ output = (
39
+ "\n [+] Most likely matches with a unique count "
40
+ "of {} or less:" ).format (depth )
40
41
41
42
for p in self .scanner .likely_matches ():
42
43
output += "\n \t [>] {}" .format (p )
@@ -45,8 +46,9 @@ def output_normal_likely(self):
45
46
if (uniques ):
46
47
return output
47
48
else :
48
- return "\n [!] No matches with an" \
49
- " unique count of {} or less." .format (depth )
49
+ return (
50
+ "\n [!] No matches with an"
51
+ " unique count of {} or less." ).format (depth )
50
52
51
53
def output_json (self , filename ):
52
54
file = file_helper (filename )
You can’t perform that action at this time.
0 commit comments