msf出现[-] Unknown command: db_hosts错误
2011-08-26 21:25
393 查看
笔记:Metasploit, The Penetration Tester's Guide
内容:msf出现[-] Unknown command: db_hosts错误
在Msfconsole中使用db_hosts命令出现如下错误:
内容:msf出现[-] Unknown command: db_hosts错误
在Msfconsole中使用db_hosts命令出现如下错误:
[-] Unknown command: db_hosts.原因是在最新版本(4.0)中此命令已经被hosts命令取代。
msf > hosts Hosts ===== address mac name os_name os_flavor os_sp purpose info comments ------- --- ---- ------- --------- ----- ------- ---- -------- 192.168.91.1 00:50:56:C0:00:08 Microsoft Windows 7 Home Basic b7600 client 192.168.91.181 00:0C:29:6F:85:2A Microsoft Windows XP SP2 client类似的还有db_services被services取代,可以输入help命令查看最新的命令。
msf > help NeXpose Commands ================ Command Description ------- ----------- nexpose_activity Display any active scan jobs on the NeXpose instance nexpose_command Execute a console command on the NeXpose instance nexpose_connect Connect to a running NeXpose instance ( user:pass@host[:port] ) nexpose_disconnect Disconnect from an active NeXpose instance nexpose_discover Launch a scan but only perform host and minimal service discovery nexpose_dos Launch a scan that includes checks that can crash services and devices (caution) nexpose_exhaustive Launch a scan covering all TCP ports and all authorized safe checks nexpose_report_templates List all available report templates nexpose_scan Launch a NeXpose scan against a specific IP range and import the results nexpose_site_devices List all discovered devices within a site nexpose_site_import Import data from the specified site ID nexpose_sites List all defined sites nexpose_sysinfo Display detailed system information about the NeXpose instance Core Commands ============= Command Description ------- ----------- ? Help menu back Move back from the current context banner Display an awesome metasploit banner cd Change the current working directory color Toggle color connect Communicate with a host exit Exit the console help Help menu info Displays information about one or more module irb Drop into irb scripting mode jobs Displays and manages jobs kill Kill a job load Load a framework plugin loadpath Searches for and loads modules from a path makerc Save commands entered since start to a file quit Exit the console reload_all Reloads all modules from all defined module paths resource Run the commands stored in a file route Route traffic through a session save Saves the active datastores search Searches module names and descriptions sessions Dump session listings and display information about sessions set Sets a variable to a value setg Sets a global variable to a value show Displays modules of a given type, or all modules sleep Do nothing for the specified number of seconds spool Write console output into a file as well the screen threads View and manipulate background threads unload Unload a framework plugin unset Unsets one or more variables unsetg Unsets one or more global variables use Selects a module by name version Show the framework and console library version numbers Database Backend Commands ========================= Command Description ------- ----------- creds List all credentials in the database db_autopwn Automatically exploit everything db_connect Connect to an existing database db_disconnect Disconnect from the current database instance db_driver Specify a database driver db_export Export a file containing the contents of the database db_import Import a scan result file (filetype will be auto-detected) db_nmap Executes nmap and records the output automatically db_status Show the current database status hosts List all hosts in the database loot List all loot in the database notes List all notes in the database services List all services in the database vulns List all vulnerabilities in the database workspace Switch between database workspaces Auxiliary Commands ================== Command Description ------- ----------- exploit This is an alias for the run command reload Reloads the auxiliary module rerun Reloads and launches the auxiliary module rexploit This is an alias for the rerun command run Launches the auxiliary module
相关文章推荐
- caffe程序中出现的db.cpp:#line(行号) unknown database backend问题
- MYSQL用source命令导入数据库出现unknown command '\'
- MySQL 采用 source 命令导入出现 unknown command '\'
- mysql还原mysqldump导出的数据时出现ERROR at line 660: Unknown command '\"'.
- MySQL导入sql文件出现unknown command '\'
- MySQLl导入数据出现--unknown command '\'
- Mysql 导入文件的时候出现Unknown command '\\'的解决方法
- driver.startActivity 启动app出现 An unknown server-side error occurred while processing the command
- command line warning #10006: ignoring unknown option '/NODEFAULTLIB'错误解决(XPDF编译时出现的问题)
- xshell出现unknown command "free"是因为用的是sftp,而不是 ssh方式登录
- telnet连接Android模拟器后,输入命令时出现"KO: unknown command, try 'help' "
- mysql导入数据出现--unknown command '\'
- cmd:scrapy 中出现Unknown command: crawl问题
- mysql导入时出现"ERROR at line : Unknown command '\''."的解决办法
- 解决ADT升级后出现的Unknown Command 'crunch'编译问题
- 编译源码时出现 Checking API: checkapi-last (unknown): error 17解决方法
- Ubuntu 中Codelite出现No executable file specified. Use the "file" or "exec-file" command
- python安装Fabrix出现Command "python setup.py egg_info"错误
- eclipse进行android,运行就提示ERROR: Unknown command 'crunch'
- ERROR at line 46: Unknown command '\'