unhappyghost

How to check ‪#‎webserver‬ using ‪#‎Nikto‬

Jul 23rd, 2013
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.66 KB | None | 0 0
  1. How to check ‪#‎webserver‬ by ‪#‎Nikto‬
  2. ------------------------------------
  3.  
  4. This is wonderful ‪#‎perl‬ script to check the web server ‪#‎security‬ and ‪#‎vulnerability‬ .
  5.  
  6. Get it from here :http://www.cirt.net/nikto2
  7.  
  8. Here are some key features of "Nikto":
  9. - Uses rfp's LibWhisker as a base for all network funtionality
  10. - Main scan database in CSV format for easy updates
  11. - Determines "OK" vs "NOT FOUND" responses for each server, if possible
  12. - Determines ‪#‎CGI‬ directories for each server, if possible
  13. - Switch ‪#‎HTTP‬ versions as needed so that the server understands requests properly
  14. - SSL Support (‪#‎Unix‬ with ‪#‎OpenSSL‬ or maybe Windows with ActiveState's Perl/‪#‎NetSSL‬)
  15. - Output to file in plain text, HTML or CSV
  16. - Generic and "server type" specific checks
  17. - Plugin support (standard PERL)
  18. - Checks for outdated server software
  19. - ‪#‎Proxy‬ support (with ‪#‎authentication‬)
  20. - Host authentication (Basic)
  21. - Watches for "bogus" OK responses
  22. - Attempts to perform educated guesses for Authentication realms
  23. - Captures/prints any Cookies received
  24. - Mutate mode to "go fishing" on web servers for odd items
  25. - Builds Mutate checks based on robots.txt entries (if present)
  26. - Scan multiple ports on a target to find web servers (can integrate ‪#‎nmap‬ for speed, if available)
  27. - Multiple IDS evasion techniques
  28. - Users can add a custom scan ‪#‎database‬
  29. - Supports automatic code/check updates (with web access)
  30. - Multiple host/port scanning (scan list files)
  31. - Username guessing plugin via the cgiwrap program and ‪#‎Apache‬ ~user methods
  32.  
  33.  
  34. Sample Output
  35. ------------------
  36. $ nikto.pl -h yourwebserver
  37. This is sample output - yours may be different.
  38. nikto.pl -h webserv
  39. - Nikto v2.03/2.04
  40. ---------------------------------------------------------------------------
  41. + Target IP: 198.162.5.2
  42. + Target Hostname: wevserv
  43. + Target Port: 80
  44. + Start Time: 2009-08-30 10:17:12
  45. ---------------------------------------------------------------------------
  46. + Server: Apache/2.2.0 (Fedora)
  47. + No CGI Directories found (use '-C all' to force check all possible dirs)
  48. + Apache/2.2.0 appears to be outdated (current is at least Apache/2.2.9). Apache 1.3.39 and 2.0.61 are also current.
  49. + OSVDB-877: TRACE / : TRACE option appears to allow XSS or credential theft. See http://www.cgisecurity.com/whitehat-mirror/WhitePaper_screen.pdf for details
  50. + 3577 items checked: 2 item(s) reported on remote host
  51. + End Time: 2009-08-30 10:17:21 (9 seconds)
  52. ---------------------------------------------------------------------------
  53. + 1 host(s) tested
  54.  
  55. Test Options: -h webserv
  56. ---------------------------------------------------------------------------
  57.  
  58.  
  59. Source : http://www.commandlinefu.com/commands/view/3241/how-to-check-webserver-by-nikto
  60.  
  61. . ‪#‎UnhappyGhost‬ ‪#‎GeekSchool‬ ‪#‎GeekSch00l‬
  62. .
  63.  
  64. ##############################################################
  65. # ṲИℋÅℙℙУḠ♓☮$✝ #
  66. ##############################################################
  67. || Website --------> http://unhappyghost.com/ ||
  68. || Facebook -------> https://www.facebook.com/unhappygh0st ||
  69. || FB Page --------> https://www.facebook.com/geeksch00l ||
  70. || Twitter --------> https://twitter.com/unhappygh0st ||
  71. || Google+ --------> http://goo.gl/WCHeJR ||
  72. || Youtube --------> http://goo.gl/A3mQIE ||
  73. || IPv6 Vids ------> http://goo.gl/Rbcxk ||
  74. || IPv6 Event -----> http://goo.gl/TaeXv ||
  75. ##############################################################
  76.  
  77. .
Add Comment
Please, Sign In to add comment