通过篡改请求方法、Body体、拓展、默认凭证、UA等方法绕过40X页面

免责声明

本文发布的工具和脚本,仅用作测试和学习研究,禁止用于商业用途,不能保证其合法性,准确性,完整性和有效性,请根据情况自行判断。
如果任何单位或个人认为该项目的脚本可能涉嫌侵犯其权利,则应及时通知并提供身份证明,所有权证明,我们将在收到认证文件后删除相关内容。
文中所涉及的技术、思路及工具等相关知识仅供安全为目的的学习使用,任何人不得将其应用于非法用途及盈利等目的,间接使用文章中的任何工具、思路及技术,我方对于由此引起的法律后果概不负责。

关于
通过篡改请求方法、Body体、拓展、默认凭证、UA等方法绕过40X页面_第1张图片

基于Go的40X/HTTP绕过。特征:篡改动词、请求头、#bugbountytips,用户代理,扩展,默认凭据
byp4xx <cURL or byp4xx options> <URL or file>

Some cURL options you may use as example:
  -L follow redirections (30X responses)
  -x <ip>:<port> to set a proxy
  -m <seconds> to set a timeout
  -H for new headers. Escape double quotes.
  -d for data in the POST requests body
  -...
  
 Built-in options:
  --all Verbose mode (by default only 2xx and 3xx codes will be prompted)
  -t or --thread Set the maximum threads. Rate limit disabled when threads are enabled. Use carefully.
  --rate Set the maximum reqs/sec. Only one thread enforced, for low rate limits. (5 reqs/sec by default)
  -xV Exclude verb tampering
  -xH Exclude headers
  -xUA Exclude User-Agents
  -xX Exclude extensions
  -xD Exclude default creds
  -xS Exclude CaSe SeNsiTiVe
  -xM Exclude middle paths
  -xE Exclude end paths
  -xB Exclude #bugbountytips

示例如下:

常规用法:

byp4xx http://localhost/test
如果响应不是401,请避免默认信用:
byp4xx -xD http://localhost/test
如果URL以/结尾,请避免结束路径和扩展名:
byp4xx -xE -xX http://localhost/test
设置2秒超时,遵循重定向并使用代理
byp4xx -m 2 -L -x 127.0.0.1:8080 http://localhost/test
自定义头,你应该转义双引号:
byp4xx -H \"Authorization: Bearer <JWT>\" http://localhost/test

产品特点:

多个HTTP动词/方法

#bugbountytips中提到的多种方法

多个标题:Referer,X-Custom-IP-Authorization.

接受任何cURL选项

基于Seclist

UserAgents

扩展

默认凭证

项目地址

https://github.com/lobuhi/byp4xx/

你可能感兴趣的:(web安全,测试工具,网络安全)