sullo / nikto

Nikto web server scanner
Other
8.36k stars 1.21k forks source link

Bug: Syntax Check: #800

Closed Faceless0x1337 closed 10 months ago

Faceless0x1337 commented 10 months ago

Hi, thanks for your such a cool tool. Why am I getting these errors?

Steps to reproduce

$ perl nikto.pl -dbcheck

Nikto version

2.5.0 Run:

./nikto.pl -Version

Nikto 2.5.0 (LW 2.5)

Syntax Check: /home/kali/Desktop/face/tools/frameworks/nikto/program/databases/db_httpoptions 12 entries Syntax Check: /home/kali/Desktop/face/tools/frameworks/nikto/program/databases/db_embedded 16 entries Syntax Check: /home/kali/Desktop/face/tools/frameworks/nikto/program/databases/db_headers 118 entries Syntax Check: /home/kali/Desktop/face/tools/frameworks/nikto/program/databases/db_variables 38 entries Syntax Check: /home/kali/Desktop/face/tools/frameworks/nikto/program/databases/db_server_msgs 259 entries Syntax Check: /home/kali/Desktop/face/tools/frameworks/nikto/program/databases/db_realms 170 entries Syntax Check: /home/kali/Desktop/face/tools/frameworks/nikto/program/databases/db_404_strings 39 entries Syntax Check: /home/kali/Desktop/face/tools/frameworks/nikto/program/databases/db_domino 274 entries Syntax Check: /home/kali/Desktop/face/tools/frameworks/nikto/program/databases/db_content_search 20 entries Syntax Check: /home/kali/Desktop/face/tools/frameworks/nikto/program/databases/db_drupal 6244 entries Syntax Check: /home/kali/Desktop/face/tools/frameworks/nikto/program/databases/db_dictionary 1825 entries Syntax Check: /home/kali/Desktop/face/tools/frameworks/nikto/program/databases/db_multiple_index 35 entries Syntax Check: /home/kali/Desktop/face/tools/frameworks/nikto/program/databases/db_favicon 361 entries Syntax Check: /home/kali/Desktop/face/tools/frameworks/nikto/program/databases/db_outdated 1256 entries Syntax Check: /home/kali/Desktop/face/tools/frameworks/nikto/program/databases/db_tests 6951 entries Syntax Check: /home/kali/Desktop/face/tools/frameworks/nikto/program/databases/db_parked_strings 9 entries Checking plugins for duplicate test IDs

Some (probably) open IDs: 000137, 000154, 000287, 000326, 000407, 000427, 000429

sullo commented 10 months ago

Hi! These are not errors. This looks like the output of the -dbcheck option, which checks the syntax of the db_* files in the databases folder. It is reporting the total number of entries and no syntax errors.

This should only happen with -dbcheck and not with -Version--can you confirm?

Here is my output of -Version:

perl nikto.pl -Version
Nikto 2.5.0 (LW 2.5)
Faceless0x1337 commented 10 months ago

Hi! These are not errors. This looks like the output of the -dbcheck option, which checks the syntax of the db_* files in the databases folder. It is reporting the total number of entries and no syntax errors.

This should only happen with -dbcheck and not with -Version--can you confirm?

Here is my output of -Version:

perl nikto.pl -Version
Nikto 2.5.0 (LW 2.5)

Yes, that’s right, this only happens in -dbcheck, I apologize for the confusion in the question. Thanks, good luck