-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
The script will fail if the target does not reply to ICMP request #7
Comments
Still autoenum fails to work. every command will return something like this Starting Nmap 7.80 ( https://nmap.org ) at 2021-02-03 16:02 EST
WARNING: No targets were specified, so 0 hosts scanned.
Nmap done: 0 IP addresses (0 hosts up) scanned in 0.38 seconds |
hmm I'll do some testing and see if I can replicate this and work on a fix |
There is another failing scenario
the script will still attempt to resolve that ipv4 address and fail when the target does not reply to ICMP requests. it should not resolve an ipv4 address. Using -nr fixes the problem |
Well yeah because by default, autoenum attempts to verify if the machine is up. |
Here is the issue https://github.com/Gr1mmie/autoenum/blob/master/functions/help_general.sh#L15 You are assigning the value only if it matches an ip address, in case of a domain name $IP is not set |
The script will end if the target does not reply to ICMP requests with a message "the domain cannot be resolved". Running nmap directly still works as expected
The text was updated successfully, but these errors were encountered: