forked from ring04h/thorns
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
0 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1 @@ | ||
# wyportmap | ||
目标端口扫描+系统服务指纹识别 | ||
|
||
运行流程 | ||
----------------------------------- | ||
* 为wyportmap指定扫描目标 | ||
* 调用nmap启动后台扫描任务 | ||
* NmapParser处理扫描结果 | ||
* 后台插件自动分析扫描结果,存入数据库(ORM架构,自动创建表和表结构) | ||
|
||
BUG反馈 | ||
----------------------------------- | ||
> 微博:http://weibo.com/ringzero<br /> | ||
> 邮箱:[email protected]<br /> | ||
使用说明 | ||
----------------------------------- | ||
### 配置扫描结果存入的数据库 | ||
使用的ORM架构,会自动创建数据库表和数据结构 | ||
|
||
修改wyportmap.py文件第18行 | ||
global_dbcoon = 'mysql+mysqldb://root:[email protected]:3306/wyportmap' | ||
global_dbcoon = 'mysql+mysqldb://用户名:密码@数据库服务器IP:数据库端口/数据库名称' | ||
|
||
### 命令行使用 | ||
usage: wyportmap.py targets taskid | ||
|
||
首先你要先安装nmap程序 | ||
|
||
CentOS | ||
sudo yum -y install nmap | ||
|
||
Kali & Ubuntu & Debian | ||
sudo apt-get install nmap | ||
|
||
告诉wyportmap.py你的扫描目标,扫描结果会自动存入数据库 | ||
sudo python wyportmap.py 42.42.42.42-52 | ||
|