识别网站上使用的技术

webtech的Python项目详细描述


网络技术

识别网站上使用的技术。More info on the release's blogpost

cli安装

WebTech在PIP上可用:

pip install webtech

也可以通过setup.py:

python setup.py install --user

BURP集成

下载Jython2.7.0独立版并将其安装到BURP中。

在“extender”>;“options”>;“python environment”中:

  • 选择Jython jar位置

最后,在“extender”>;“extension”中:

  • 单击“添加”
  • 选择“py”或“python”作为扩展格式
  • 选择此文件夹中的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

将WebTech用作库

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

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
Android Java在活动之间传递值   java当实体中存在关系时,我可以只使用实体的id而不是从DB中获取实体吗?   bouncycastle Java运行SSHD服务器错误未找到类定义   java SWT/Swing>Threads n'Hell   java多线程数据库读取   java如何在Eclipse中轻松提交Git   java在哪里可以找到字符串相等比较的一组特定排序规则?   无连接表的java单向单域关系   java扩展三角文件   java spring。杰克逊。序列化。failonemptybeans   java无法加载请求的类:oracle。jdbc。驾驶员OracleDriver   java通过数组进行索引循环并打印出元素?   找不到eclipse错误类中的java提交Hadoop作业   Java:随机设定种子   java片段、异步任务和侦听器   java在分号后使用{}