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 9
9
from lib .helpers .output_helper import *
10
10
from lib .helpers .file_helper import get_combined_word_lists
11
11
from lib .helpers .file_helper import load_random_user_agents
12
+ from lib .helpers .wordlist_helper import WordList
12
13
from lib .core .__version__ import __version__
13
14
from lib .input import cli_argument_parser
14
15
@@ -31,6 +32,7 @@ def main():
31
32
parser = cli_argument_parser ()
32
33
arguments = parser .parse (sys .argv [1 :])
33
34
35
+ wordlist_helper = WordList ()
34
36
wordlist = []
35
37
word_list_types = []
36
38
@@ -39,7 +41,7 @@ def main():
39
41
40
42
if not sys .stdin .isatty ():
41
43
word_list_types .append ('stdin' )
42
- wordlist .extend (list ( line for line in sys . stdin . read (). splitlines () ))
44
+ wordlist .extend (wordlist_helper . get_stdin_wordlist ( ))
43
45
44
46
combined = get_combined_word_lists (arguments .wordlists or default_wordlist )
45
47
word_list_types .append ('wordlists: {}' .format (
You can’t perform that action at this time.
0 commit comments