sublist3r.py не работает

Force

Участник
Добрый день! Не работает скрипт на питоне sublist3r.py
При запуске появляется ошибка:
Traceback (most recent call last):
File "./sublist3r.py", line 21, in <module>
from subbrute import subbrute
File "/etc/prometheus/Sublist3r-master/subbrute/subbrute.py", line 18, in <module>
import dns.resolver
ImportError: No module named dns.resolver
Как включить модуль на питоне ?
 
Попробуй из github поставить
git clone https://github.com/aboul3la/Sublist3r.git
 
Попробуй из github поставить
git clone https://github.com/aboul3la/Sublist3r.git
Опять ошибка:
Код:
# git clone https://github.com/aboul3la/Sublist3r.git
Cloning into 'Sublist3r'...
fatal: unable to access 'https://github.com/aboul3la/Sublist3r.git/': SSL certificate problem: self signed certificate in certificate chain
 
Попробуй сначала такую команду
# git config --global http.sslVerify false
 
Пробовал, ошибка сертификата
Код:
# sudo pip install dnspython
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status                                     =None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERI                                     FY_FAILED] certificate verify failed (_ssl.c:852)'),)': /simple/dnspython/
######
Could not fetch URL https://pypi.org/simple/dnspython/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/dnspython/ (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),)) - skipping
ERROR: Could not find a version that satisfies the requirement dnspython (from versions: none)
ERROR: No matching distribution found for dnspython
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),)) - skipping
 
Все равно какая то ругань на сертификаты или хз уже что еще
:~/dnspython # sudo python setup.py install
Download error on https://pypi.org/simple/setuptools_scm/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727) -- Some packages may not be found!
Download error on https://pypi.org/simple/setuptools-scm/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727) -- Some packages may not be found!
Couldn't find index page for u'setuptools_scm' (maybe misspelled?)
Download error on https://pypi.org/simple/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727) -- Some packages may not be found!
No local packages or working download links found for setuptools_scm[toml]>=3.4.3
Traceback (most recent call last):
File "setup.py", line 39, in <module>
setup(**kwargs)
File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 139, in setup
_install_setup_requires(attrs)
File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 134, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 514, in fetch_build_eggs
replace_conflicting=True,
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 777, in resolve
replace_conflicting=replace_conflicting
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1060, in best_match
return self.obtain(req, installer)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1072, in obtain
return installer(requirement)
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 581, in fetch_build_egg
return cmd.easy_install(req)
File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 670, in easy_install
raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('setuptools_scm[toml]>=3.4.3')
 
Не знаю нафига вам sublist3r в убунте, но советую посмотреть сборку parrot os. Там много чего пред настроено и заточено под безопасность. Возможно там это уже установлено и работает
 
Не знаю нафига вам sublist3r в убунте, но советую посмотреть сборку parrot os. Там много чего пред настроено и заточено под безопасность. Возможно там это уже установлено и работает
Не охота ставить из-за одного - два раза
 
Ошибка при запуске
Код:
HTTPSConnectionPool(host='www.virustotal.com', port=443): Max retries exceeded with url: /ui/domains/domen.ru/subdomains (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)'),))
Process Virustotal-9:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/multiprocessing/process.py", line 267, in _bootstrap
    self.run()
  File "./sublist3r.py", line 268, in run
    domain_list = self.enumerate()
  File "./sublist3r.py", line 700, in enumerate
    resp = json.loads(resp)
  File "/usr/lib64/python2.7/json/__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python2.7/json/decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer
HTTPSConnectionPool(host='searchdns.netcraft.com', port=443): Max retries exceeded with url: /?restriction=site+ends+with&host=example.com (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)'),))
Process NetcraftEnum-7:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/multiprocessing/process.py", line 267, in _bootstrap
    self.run()
  File "./sublist3r.py", line 268, in run
    domain_list = self.enumerate()
  File "./sublist3r.py", line 568, in enumerate
    cookies = self.get_cookies(resp.headers)
AttributeError: 'NoneType' object has no attribute 'headers'
HTTPSConnectionPool(host='dnsdumpster.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)'),))
Process DNSdumpster-8:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/multiprocessing/process.py", line 267, in _bootstrap
    self.run()
  File "./sublist3r.py", line 268, in run
    domain_list = self.enumerate()
  File "./sublist3r.py", line 647, in enumerate
    token = self.get_csrftoken(resp)
  File "./sublist3r.py", line 641, in get_csrftoken
    token = csrf_regex.findall(resp)[0]
TypeError: expected string or buffer
 
Назад
Верх