x0rr-dan / s1c0n

simple recon tool to help you for searching vulnerability on web server
MIT License
61 stars 13 forks source link

NameError: name 'time' is not defined #1

Closed simrotion13 closed 2 years ago

simrotion13 commented 2 years ago

getting error while running the script

┌──(kali㉿kali)-[~/tools/s1c0n] └─$ python3 sicon.py -u hackerone.com

       [!] Error on import No module named 'nmap'

[*] nmap exist Traceback (most recent call last): File "/home/kali/tools/s1c0n/sicon.py", line 51, in check(tool) File "/home/kali/tools/s1c0n/sicon.py", line 29, in check time.sleep(0.2) NameError: name 'time' is not defined

bl700 commented 2 years ago

sudo apt install nmap Or pip3 install namp

to fixe the problem

bl700 commented 2 years ago

Add in the top

import time

x0rr-dan commented 2 years ago

the problem is in the nmap module which is not installed you can install it using pip3 install nmap or pip3 install python-nmap