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

[Nmap Warning] Failed to resolve "locahost". > [Nmap Warning] WARNING: No targets were specified, so 0 hosts scanned. #293

Open
reeswar21 opened this issue Sep 17, 2021 · 6 comments
Labels

Comments

@reeswar21
Copy link

I have this issue.Can you help me out
Screenshot 2021-09-17 at 4 00 48 PM
?

@Ullaakut
Copy link
Owner

@reeswar21 Hi, thanks for opening this issue.

You wrote -t locahost instead of -t localhost. It's missing a letter, that's it.

Please let me know if fixing the typo solves your issue.

@reeswar21
Copy link
Author

Hi, I tried the first command and it worked. It showed me until the URL but there was no username and password. Surprisingly,it doesn't work now ag
Screenshot 2021-09-17 at 5 00 47 PM
a

@Ullaakut
Copy link
Owner

The target that you are now specifying is not localhost anymore. Are you sure that it's not because you have valid targets on localhost, but none on the IP range that you provided?

Also, if you're using a net mask (/24 at the end of the target), you're going to scan all IPs between 175.138.231.0 and 175.138.231.255, which I guess is not what you meant to do.

Finally, please make sure that you are scanning the IP of a machine that you own or are allowed to be auditing.

@reeswar21
Copy link
Author

Yes, I'm scanning the IP of a machine that is allowed. Is there any IP for test/trial?

@Ullaakut
Copy link
Owner

For testing, you should use your own network. If you do not own any physical cameras or sources of RTSP streams, you can use RTSPAllTheThings to boot up some virtual cameras with authentication and RTSP routes.

Running docker run --rm -e RTSP_USERNAME=admin -e RTSP_PASSWORD=test -p 8554:8554 ullaakut/rtspatt followed by running Cameradar on your own network should be a good place to start.

@reeswar21 reeswar21 reopened this Sep 17, 2021
@reeswar21
Copy link
Author

Thank you for your assistance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants