nikto
漏洞扫描工具在我的靶场上测试报告如下:
测试时间会很长,我是在虚拟环境下做的,给的配置不高,吃尽CPU,最后不得不强制关闭虚拟机,通过-o
参数将结果输出到文档中。

结果显示:
一些黑客比较感兴趣的URL,这个URL可以访问到某些资源。
- /144_34_143_180.tgz: Potentially interesting archive/cert file found.
- /144_34_143_180.jks: Potentially interesting archive/cert file found.
还有就是比较常见的:
- Cookie _xsrf created without the httponly flag
- The anti-clickjacking X-Frame-Options header is not present.
- The X-XSS-Protection header is not defined. This header can hint to the user agent to protect against some forms of XSS
- Uncommon header 'x-backend-response' found, with contents: 0.000
常用玩法:
nikto -host "http://96.45.188.252:4000/"
更多花里胡哨的,可以查看帮助文档,当然用处基本不大,参数-Help
。总之呢,是一个傻瓜式Kali自带的渗透测试工具。

Options:-ask+ Whether to ask about submitting updatesyes Ask about each (default)no Don't ask, don't sendauto Don't ask, just send-Cgidirs+ Scan these CGI dirs: "none", "all", or values like "/cgi/ /cgi-a/"-config+ Use this config file-Display+ Turn on/off display outputs:1 Show redirects2 Show cookies received3 Show all 200/OK responses4 Show URLs which require authenticationD Debug outputE Display all HTTP errorsP Print progress to STDOUTS Scrub output of IPs and hostnamesV Verbose output-dbcheck Check database and other key files for syntax errors-evasion+ Encoding technique:1 Random URI encoding (non-UTF8)2 Directory self-reference (/./)3 Premature URL ending4 Prepend long random string5 Fake parameter6 TAB as request spacer7 Change the case of the URL8 Use Windows directory separator (\)A Use a carriage return (0x0d) as a request spacerB Use binary value 0x0b as a request spacer-Format+ Save file (-o) format:csv Comma-separated-valuejson JSON Formathtm HTML Formatnbe Nessus NBE formatsql Generic SQL (see docs for schema)txt Plain textxml XML Format(if not specified the format will be taken from the file extension passed to -output)-Help Extended help information-host+ Target host/URL-404code Ignore these HTTP codes as negative responses (always). Format is "302,301".-404string Ignore this string in response body content as negative response (always). Can be a regular expression.-id+ Host authentication to use, format is id:pass or id:pass:realm-key+ Client certificate key file-list-plugins List all available plugins, perform no testing-maxtime+ Maximum testing time per host (e.g., 1h, 60m, 3600s)-mutate+ Guess additional file names:1 Test all files with all root directories2 Guess for password file names3 Enumerate user names via Apache (/~user type requests)4 Enumerate user names via cgiwrap (/cgi-bin/cgiwrap/~user type requests)5 Attempt to brute force sub-domain names, assume that the host name is the parent domain6 Attempt to guess directory names from the supplied dictionary file-mutate-options Provide information for mutates-nointeractive Disables interactive features-nolookup Disables DNS lookups-nossl Disables the use of SSL-no404 Disables nikto attempting to guess a 404 page-Option Over-ride an option in nikto.conf, can be issued multiple times-output+ Write output to this file ('.' for auto-name)-Pause+ Pause between tests (seconds, integer or float)-Plugins+ List of plugins to run (default: ALL)-port+ Port to use (default 80)-RSAcert+ Client certificate file-root+ Prepend root value to all requests, format is /directory-Save Save positive responses to this directory ('.' for auto-name)-ssl Force ssl mode on port-Tuning+ Scan tuning:1 Interesting File / Seen in logs2 Misconfiguration / Default File3 Information Disclosure4 Injection (XSS/Script/HTML)5 Remote File Retrieval - Inside Web Root6 Denial of Service7 Remote File Retrieval - Server Wide8 Command Execution / Remote Shell9 SQL Injection0 File Uploada Authentication Bypassb Software Identificationc Remote Source Inclusiond WebServicee Administrative Consolex Reverse Tuning Options (i.e., include all except specified)-timeout+ Timeout for requests (default 10 seconds)-Userdbs Load only user databases, not the standard databasesall Disable standard dbs and load only user dbstests Disable only db_tests and load udb_tests-useragent Over-rides the default useragent-until Run until the specified time or duration-update Update databases and plugins from CIRT.net-url+ Target host/URL (alias of -host)-useproxy Use the proxy defined in nikto.conf, or argument http://server:port-Version Print plugin and database versions-vhost+ Virtual host (for Host header)+ requires a value