Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

('Connection aborted.', BadStatusLine("''",)) Process NetcraftEnum-7: #148

Closed
hktalent opened this issue Oct 15, 2018 · 1 comment
Closed

Comments

@hktalent
Copy link

hktalent commented Oct 15, 2018

#py2 sublist3r.py -d gov.cn -o /mysvn/all_gov.cn.txt
('Connection aborted.', BadStatusLine("''",))
Process NetcraftEnum-7:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap
    self.run()
  File "sublist3r.py", line 264, in run
    domain_list = self.enumerate()
  File "sublist3r.py", line 566, in enumerate
    if 'Next page' not in resp:
TypeError: argument of type 'int' is not iterable

git pull

Traceback (most recent call last):
  File "sublist3r.py", line 985, in <module>
    interactive()
  File "sublist3r.py", line 982, in interactive
    res = main(domain, threads, savefile, ports, silent=False, verbose=verbose, enable_bruteforce=enable_bruteforce, engines=engines)
  File "sublist3r.py", line 952, in main
    write_file(savefile, subdomains)
  File "sublist3r.py", line 107, in write_file
    with open(str(filename), 'wt',encoding='utf-8') as f:
TypeError: 'encoding' is an invalid keyword argument for this function


('Connection aborted.', BadStatusLine("''",))
Process NetcraftEnum-7:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap
    self.run()
  File "sublist3r.py", line 264, in run
    domain_list = self.enumerate()
  File "sublist3r.py", line 567, in enumerate
    if 'Next page' not in resp:
TypeError: argument of type 'int' is not iterable
@amustaque97
Copy link
Contributor

Hey, @hktalent after removing encoding block from line no 107 it is working for python2 as well.Sorry for the bug. ^_^
gitupload

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants