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

Trying luck with PunkSpider does not work! #271

Open
k4n4n opened this issue Sep 28, 2018 · 5 comments
Open

Trying luck with PunkSpider does not work! #271

k4n4n opened this issue Sep 28, 2018 · 5 comments

Comments

@k4n4n
Copy link

k4n4n commented Sep 28, 2018

datasploit does not work, when try integrate some API, this happens:

---> Trying luck with PunkSpider

Traceback (most recent call last):
File "datasploit.py", line 112, in
main(sys.argv[1:])
File "datasploit.py", line 68, in main
auto_select_target(single_input, output)
File "datasploit.py", line 104, in auto_select_target
domainOsint.run(target, output)
File "/home/root/CTI/datasploit-master/domainOsint.py", line 9, in run
osint_runner.run("domain", "domain", domain, output)
File "/home/root/CTI/datasploit-master/osint_runner.py", line 28, in run
data = x.main(m_input)
File "/home/root/CTI/datasploit-master/domain/domain_checkpunkspider.py", line 40, in main
return checkpunkspider(reversed_domain)
File "/home/root/CTI/datasploit-master/domain/domain_checkpunkspider.py", line 24, in checkpunkspider
req = requests.post("http://www.punkspider.org/service/search/detail/" + reversed_domain, verify=False)
File "/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/api.py", line 112, in post
File "/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/api.py", line 58, in request
File "/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/sessions.py", line 508, in request
File "/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/sessions.py", line 618, in send
File "/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/adapters.py", line 508, in send
requests.exceptions.ConnectionError: HTTPConnectionPool(host='www.punkspider.org', port=80): Max retries exceeded with url: /service/search/detail/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f6115a05190>: Failed to establish a new connection: [Errno 111] Connection refused',))

This happens when connecting to www.punkspider.org fails the connection. Verifying punkspider is down and changing its domain to https://punk.sh/ but it is not up there either

@k4n4n k4n4n changed the title Trying luck with PunkSpider does not workwork! Trying luck with PunkSpider does not work! Sep 28, 2018
@highmeh
Copy link

highmeh commented Nov 5, 2018

Having the same issue - If you're running ./datasploit.py -i and don't need PunkSpider specifically, as a workaround, change "ENABLED: TRUE" in ./datasploit/domain/domain_checkpunkspider.py to "ENABLED: FALSE". It doesn't fix the root cause but lets you run datasploit without it failing out. Note that I also had to change "ENABLED: FALSE" in ./datasploit/domain/domain_subdomains.py as that bombed out on me as well.

@bwhack16
Copy link

bwhack16 commented Nov 8, 2018

@highmeh I am still receiving the same error after the above updates. Are there any steps required after changing the code?

@eddiezab
Copy link

I'm not sure if the issue you were having in November is the same issue as of now, but it looks like punkspider.com is resolving to localhost. I don't know on the permanence of this issue, but it looks as an alternative to the solution @highmeh posted, you should just be able to delete the ./datasploit/domain/domain_checkpunkspider.py file

@kawaxi
Copy link

kawaxi commented Aug 6, 2019

same error here, please let me know how we can contribute to fix it.

@jepunband
Copy link

punkspider is down for good!. like @highmeh said deleting domain_checkpunkspider.py is the best option.

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

6 participants