# MetaMap
### A simple Python script to run a Metasploit module over the hosts in an Nmap scan
## Usage
```
usage: metamap.py [-h] (--xml-file XML_FILE | --regex-file REGEX_FILE | --target TARGET_IP) [--filter [SUBNET [SUBNET ...]]] [--verbose] [--debug]
[--module-options MODULE_OPTIONS]
output-file module-path
Run the IP addresses in a Nmap xml file or any file containing IP addresses through a Metasploit module.
positional arguments:
output-file File to contain the Metasploit module output
module-path Full path to the module e.g. "auxiliary/scanner/rdp/cve_2019_0708_bluekeep"
optional arguments:
-h, --help show this help message and exit
--xml-file XML_FILE, -x XML_FILE
Nmap xml file containing scan results
--regex-file REGEX_FILE, -r REGEX_FILE
Any file containing seperated IP addresses. IP addresses will be captured using a regular expression
--target TARGET_IP, -t TARGET_IP
Single target IP
--filter [SUBNET [SUBNET ...]], -f [SUBNET [SUBNET ...]]
Subnet to exclude from the scan e.g. "10.10.10.0/24 10.11.0.0/16"
--verbose, -v Display Metasploit output
--debug, -d Display debug output
--module-options MODULE_OPTIONS, -m MODULE_OPTIONS
Semi-colon seperated commands to set options e.g. "set ShowProgressPercent 1; set VERBOSE true;"
```
## Example
```
python3 metamap.py --xml-file rdp_nmap.xml --filter 10.10.10.0/24 10.11.0.0/16 --module-options "set showprogressPercent 1; set VERBOSE true;" out.txt "auxiliary/scanner/rdp/cve_2019_0708_bluekeep"
```
没有合适的资源?快使用搜索试试~ 我知道了~
MetaMap:一个简单的Python脚本,可在Nmap扫描中在主机上运行Metasploit模块
共4个文件
md:1个
license:1个
py:1个
5星 · 超过95%的资源 需积分: 32 2 下载量 68 浏览量
2021-03-31
06:22:06
上传
评论
收藏 14KB ZIP 举报
温馨提示
元图 一个简单的Python脚本,可在Nmap扫描中在主机上运行Metasploit模块 用法 usage: metamap.py [-h] (--xml-file XML_FILE | --regex-file REGEX_FILE | --target TARGET_IP) [--filter [SUBNET [SUBNET ...]]] [--verbose] [--debug] [--module-options MODULE_OPTIONS] output-file module-path Run the IP addresses in a Nmap xml file or any file containing IP addresses through a Metasploit module. positi
资源详情
资源评论
资源推荐
收起资源包目录
MetaMap-master.zip (4个子文件)
MetaMap-master
requirements.txt 29B
LICENSE 32KB
README.md 2KB
metamap.py 6KB
共 4 条
- 1
MachineryLy
- 粉丝: 29
- 资源: 4611
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Jetson sdkmanager-2.1.0
- Oracle.ManagedDataAccess.dll4.122.23.1
- 基础知识基础知识基础知识
- Oracle.ManagedDataAccess.dll4.122.21.1
- 基础知识基础知识基础知识
- iris.py
- 火灾自动报警系统设计-毕设.doc
- 模拟退火算法最早由N. Metropolis等人于1953年提出,随后在1983年由S. Kirkpatrick等人成功应用于组
- 深度学习框架,如TensorFlow、PyTorch、Keras等,是机器学习领域中的关键工具 这些框架通常包含大量的预定义函数
- 资源介绍:##Y821FLrR1##PAGE 概述 ##Y821FLrR1##PAGE 是一项独特而富有价值的资源,它可能代表
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1