_ _ _ _____ _ _ _
| |_| |_| | / _____|_) _ | | | |
| | ( (____ _ _| |_ _____ __| |_____| |
| _ | \____ \| (_ _|____ |/ _ | ___ | |
| |_| | _____) ) | | |_/ ___ ( (_| | ____| |
| | (______/|_| \__)_____|\____|_____)\_)
Sitadel 基本上是 WAScan 的更新版本,使其兼容 python >= 3.11 它让您可以更灵活地编写新模块并实现新功能:
本项目支持 python >= 3.11(不再支持较旧的、已生命周期结束的版本)。不会向后移植到 2.7。
git clone https://github.com/shenril/Sitadel.git
cd Sitadel
pip3 install .
# run via the installed console command...
sitadel --help
# ...or directly from the checkout
python -m sitadel --help
指纹识别
攻击:
sitadel [-h] [-r {0,1,2}] [-ua USER_AGENT] [--random-agent] [--redirect]
[--no-redirect] [-t TIMEOUT] [-c COOKIE] [-p PROXY]
[-f FINGERPRINT [MODULE ...]] [-a ATTACK [MODULE ...]]
[--config CONFIG] [-v] [--version]
TARGET_URL
| ATTACK | MODULE DESCRIPTION |
|---|---|
| bruteforce | 尝试暴力枚举多个文件的位置(备份文件、管理后台...) |
| injection | 尝试对多种语言执行注入(SQL、html、ldap、javascript...) |
| vulns | 尝试测试一些已知漏洞(crime、shellshock) |
| other | 尝试探测各种有趣的资源(DAV、htmlobjects、phpinfo、robots.txt...) |
简单运行
sitadel http://website.com
以 DANGEROUS 风险级别运行,并且不跟随重定向
sitadel http://website.com -r 2 --no-redirect
仅运行指定模块并启用完整详细程度
sitadel http://website.com -a bruteforce -f header server -v
docker build -t sitadel .
docker run sitadel http://example.com
| ARGUMENT | DESCRIPTION |
|---|
| -h, --help | 显示帮助 |
| -r, --risk {0,1,2} | 决定希望 Sitadel 运行的风险级别(某些攻击将不会执行) |
| -ua, --user-agent | 用于攻击的 HTTP 请求的用户代理 |
| --random-agent | 为每次扫描请求使用随机 User-Agent |
| --redirect | 指示 Sitadel 跟随 302 请求进行页面重定向 |
| --no-redirect | 指示 Sitadel 不要跟随 302 请求进行页面重定向 |
| -t, --timeout | 指定向网站发送 HTTP 请求的超时时间 |
| -c, --cookie | 允许指定随攻击请求发送的 cookie |
| -p, --proxy | 允许指定代理来执行 HTTP 请求 |
| -f, --fingerprint | 指定要激活以扫描网站的指纹识别模块 {cdn,cms,framework,frontend,header,lang,server,system,waf} |
| -a, --attack | 指定要激活以扫描网站的攻击模块 {bruteforce, injection, vulns, other} |
| -c, --config | 指定 Sitadel 扫描的配置文件,默认文件位于 config/config.yml |
| -v, --verbosity | 提高日志的默认详细程度,例如:-v , -vv, -vvv |
| --version | 显示 Sitadel 版本 |
| FINGERPRINT | MODULE DESCRIPTION |
|---|
| cdn | 尝试判断目标是否使用内容分发网络(fastly, akamai,cloudflare...) |
| cms | 尝试判断目标是否使用内容管理系统(drupal,wordpress,magento...) |
| framework | 尝试判断目标是否使用后端框架(cakephp, rails, symfony...) |
| frontend | 尝试判断目标是否使用前端框架(angularjs, jquery, vuejs...) |
| header | 检查与目标交换的 HTTP 头 |
| lang | 尝试判断目标使用的服务器语言(asp, python, php...) |
| server | 尝试判断目标使用的服务器技术(nginx,apache...) |
| system | 尝试判断目标使用的操作系统(linux,windows...) |
| waf | 尝试判断目标是否使用 Web 应用防火墙(barracuda, bigip,paloalto...) |