中文/
中文/
中文/
中文/
中文/
中文/
中文/
中文/
中文/
中文/
软件Tags: [db:tag]
Recon-NG简介:
Recon-NG 是由 Python 编写的一个开源的 Web 侦查(信息收集)框架,使用它可以自动的收集信息和网络侦查。
使用说明:
下面是一些有用的使用Recon-ng框架的块。虽然并非涵盖所有功能,但以下注释将帮助理解几个框架更有帮助和复杂的功能。
你只需要在终端中输入下面这条命令就可以打开并看到它的界面
root@kali:~# recon-ng
手动忽略个性图标
[76] Recon modules
[8] Reporting modules
[2] Import modules
[2] Exploitation modules
[2] Discovery modules
[recon-ng][default] >
如果你完全不知道应该进行的下一步操作,我想你需要查看帮助
[recon-ng][default] > help
Commands (type [help|?] <topic>):
---------------------------------
add 将记录添加到数据库中
back 退出当前回话
delete 从数据库中删除记录
exit 退出框架
help 显示帮助
keys 管理框架API键
load 加载指定模块
pdb 打开 Python 的 Debug 回话
query 查询数据库
record Records commands to a resource file
reload 重新加载所有模块
resource Executes commands from a resource file
search 搜索可用的模块
set 设置模块的选择
shell 执行shell命令
show 显示各种框架项目
snapshots 管理工作区快照
spool Spools output to a file
unset 附件模块选择
use 加载指定的模块
workspaces 管理工作区
接下来你应该需要了解你可以使用的模块有哪些
[recon-ng][default] > show modules
Discovery
---------
省略2个
Exploitation
------------
省略2个
Import
------
省略2个
Recon
-----
省略76个
Reporting
---------
省略2个
对了查看一下 show 命令的选项,可能会更利于你掌握 Recon-NG
[recon-ng][default] > show
Shows various framework items
Usage: show [banner|companies|contacts|credentials|dashboard|domains|hosts|keys|leaks|locations|modules|netblocks|options|ports|profiles|pushpins|repositories|schema|vulnerabilities|workspaces]
那我们可以使用一个 bing_api
[recon-ng][default] > use recon/domains-hosts/bing_domain_api
[recon-ng][default][bing_domain_api] > show options
Name Current Value Required Description
------ ------------- -------- -----------
LIMIT 0 yes limit total number of api requests (0 = unlimited)
SOURCE default yes source of input (see 'show info' for details)
[recon-ng][default][bing_domain_api] > set SOURCE bing.com
SOURCE => bing.com
[recon-ng][default][bing_domain_api] > run
--------
BING.COM
--------
[!] FrameworkException: API key 'bing_api' not found. Add API keys with the 'keys add' command.
最后一排错误提示,很让人出乎意料,可是在此之前你并未对该网站进行 api 的添加,这也是情理之中的,关于 api ,使用 keys 命令来进行操作。至于添加的内容,请查看官方指南的 Acquiring API Keys(获取 api 密钥)
[recon-ng][default][bing_domain_api] > keys list
+---------------------------+
| Name | Value |
+---------------------------+
| bing_api | |
| builtwith_api | |
| facebook_api | |
| facebook_password | |
| facebook_secret | |
| facebook_username | |
| flickr_api | |
| fullcontact_api | |
| google_api | |
| google_cse | |
| instagram_api | |
| instagram_secret | |
| ipinfodb_api | |
| jigsaw_api | |
| jigsaw_password | |
| jigsaw_username | |
| linkedin_api | |
| linkedin_secret | |
| pwnedlist_api | |
| pwnedlist_iv | |
| pwnedlist_secret | |
| shodan_api | |
| twitter_api | |
| twitter_secret | |
+---------------------------+
[recon-ng][default][bing_domain_api] > keys add bing_api <你的api密钥内容>
[*] Key 'bing_api' added.