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

Don't know why it's not working #111

Closed
fr33s0ul opened this issue Feb 5, 2019 · 1 comment
Closed

Don't know why it's not working #111

fr33s0ul opened this issue Feb 5, 2019 · 1 comment

Comments

@fr33s0ul
Copy link

fr33s0ul commented Feb 5, 2019

  ____  __          __
 / __ \/ /_  ____  / /_____  ____
/ /_/ / __ \/ __ \/ __/ __ \/ __ \

/ / / / / // / // // / / / /
/
/ // //_/_/_// /_/ v1.2.1

Traceback (most recent call last):
File "photon.py", line 266, in
zap(main_url, args.archive, domain, host, internal, robots)
File "/pentest/Photon/core/zap.py", line 23, in zap
response = requests.get(inputUrl + '/robots.txt').text
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 72, in get
return request('get', url, params=params, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 508, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.xxxxxxxxxxxxxx.com', port=443): Max retries exceeded with url: /robots.txt (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f343a97aad0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

@dataexfiltration
Copy link

Use python3 photon.py and it should work

@s0md3v s0md3v closed this as completed in 600ef78 Feb 11, 2019
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