sullo / nikto

Nikto web server scanner
Other
8.6k stars 1.24k forks source link

Bug: Cannot scan from a file #789

Closed D4rkL0tus closed 1 year ago

D4rkL0tus commented 1 year ago

Good morning Nikto Team, I have encountered a bug this morning while working with the Nikto tool. The bug consists of not scanning servers from a file. I edited the file to include both https:// as well as the plain domain.

The Nikto Version is v2.1.6 which is what I am currently using, I haven't checked any other version to see if there are any bugs of this sort within any of them.

The steps to produce: Create a TXT file listing all the servers that you wish to scan. Start the Nikto tool via CLI Add the the file to the host "-h" parameter. Press Enter.

This should produce an error stating something along the lines of "IP not found"

sullo commented 1 year ago

Hello @dendrit3, I am unable to reproduce this with version 2.1.6: image

Please validate that the file is readable by your user, and that the name actually resolves.

D4rkL0tus commented 1 year ago

I will look at here at some point, maybe I configured something wrong. If anything, else pops up I will let Nikto team know.

sullo commented 1 year ago

I'll close this for now, but please reopen if you still have a problem.