Hackertarget not working
NurvX opened this issue · comments
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
`
Hey @NurvX thanks for the report. Looks like they have added reCAPTCHA to their online scanner. I'll likely have to disable this module.
Fixed this in v2.2.1
(removed the hackertarget
module).
Upgrade to latest to fix this error.