识别网站上使用的技术。关于该版本的更多信息请参阅博客文章。
WebTech 可通过 pip 安装:
pip install webtech
也可以通过 setup.py 安装:
python setup.py install --user
下载 Jython 2.7.0 独立版本并安装到 Burp 中。
在 "Extender" > "Options" > "Python Environment" 中:
最后,在 "Extender" > "Extension" 中:
Burp-WebTech.py 文件扫描一个网站:
$ webtech -u https://example.com/
Target URL: https://example.com
...
$ webtech -u file://response.txt
Target URL:
...
完整用法:
$ webtech -h
Usage: webtech [options]
Options:
-h, --help show this help message and exit
-u URLS, --urls=URLS url(s) to scan
--ul=URLS_FILE, --urls-file=URLS_FILE
url(s) list file to scan
--ua=USER_AGENT, --user-agent=USER_AGENT
use this user agent
--rua, --random-user-agent
use a random user agent
--db=DB_FILE, --database-file=DB_FILE
custom database file
--oj, --json output json-encoded report
--og, --grep output grepable report
--udb, --update-db force update of remote db files
import webtech
# you can use options, same as from the command line
wt = webtech.WebTech(options={'json': True})
# scan a single website
try:
report = wt.start_from_url('https://shielder.it')
print(report)
except webtech.utils.ConnectionException:
print("Connection error")
更多示例请参见 webtech_example.py。
HTTP 头部信息 - http://netinfo.link/http/headers.html
Cookie 名称 - https://webcookies.org/top-cookie-names