Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Hackertarget not working #26

Closed
NurvX opened this issue Mar 23, 2023 · 2 comments
Closed

Hackertarget not working #26

NurvX opened this issue Mar 23, 2023 · 2 comments

Comments

@NurvX
Copy link

NurvX commented Mar 23, 2023

It seems something might have changed on hackertarget side, scanless needs an update.
`Python 3.11.2 (main, Feb 12 2023, 00:48:52) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import scanless
sl = scanless.Scanless()
output = sl.scan('scanme.nmap.org', scanner='hackertarget')
Traceback (most recent call last):
File "", line 1, in
File "/home/kali/.local/lib/python3.11/site-packages/scanless/core.py", line 76, in scan
return self.scannersscanner
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/.local/lib/python3.11/site-packages/scanless/core.py", line 106, in hackertarget
output = soup.findAll("pre", {"id": "formResponse"})[0].string
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
`

@vesche
Copy link
Owner

vesche commented Mar 23, 2023

Hey @NurvX thanks for the report. Looks like they have added reCAPTCHA to their online scanner. I'll likely have to disable this module.

Screen Shot 2023-03-23 at 08 45 23

@vesche
Copy link
Owner

vesche commented Mar 23, 2023

Fixed this in v2.2.1 (removed the hackertarget module).

Upgrade to latest to fix this error.

@vesche vesche closed this as completed Mar 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants