Skip to main content

Pentest tool for bypassing restricted access using various techniques

Project description


Pentest tool for bypassing 4xx restrictions and spotting unusual 200 OK responses.
Quickly uncovers misconfigurations and weak access controls.


Installation

pipx install multibypass

Usage

usage: multibypass [-X ] [-H ] [-d ] [-b ] [-A ] [-x ] [-L] [-k] [-m ] [-h] [-D ] [-t ] [-s]
                   [-o ] [-q] [-v] [-C] [-n] [-l] [-V] [-i ] [-w ] url

Pentest tool for bypassing restricted access using various techniques.

REQUIRED:
  url                Target URL

HTTP OPTIONS:
  -X, --request      HTTP method to use (default: GET)
  -H, --header       Add an HTTP header (default: [])
  -d, --data         HTTP request data (default: None)
  -b, --cookie       Add a cookie (default: [])
  -A, --user-agent   Set the User-Agent (default: Mozilla/5.0)
  -x, --proxy        HTTP proxy to use (e.g. http://127.0.0.1:8080) (default: None)
  -L, --location     Follow redirects (default: False)
  -k, --insecure     Allow insecure connections (default: False)
  -m, --max-time     Request timeout in seconds (default: 10)

GENERAL OPTIONS:
  -h, --help         Show this help message
  -D, --delay        Delay or delay range between requests (e.g. 0.2 or 0.5-2) (default: 0)
  -t, --threads      Number of threads (default: 32)
  -s, --stop         Stop if the target returns HTTP 429 Too Many Requests (default: False)

OUTPUT OPTIONS:
  -o, --output       Write output to file (default: None)
  -q, --quiet        Only show the final analysis (default: False)
  -v, --verbose      Display extra debugging information (default: False)
  -C, --curl         Show recommended curl commands (default: False)
  -n, --no-color     Disable log colorization (default: False)

ATTACK OPTIONS:
  -l, --light        Perform a light attack (default: False)
  -V, --variations   Also test case variations (default: False)
  -i, --ip           Add a custom IP for spoofing attacks (default: [])
  -w, --wordlists    Use a custom wordlist directory (default: install-dir/wordlists)

Implemented Bypass Techniques

Verb Tampering

Use non-standard or alternative HTTP methods to bypass access controls.

Examples:

  • If GET /admin is blocked then POST /admin, HEAD /admin or TRACE /admin can work.
  • Some WAFs/firewalls only filter GET/POST and let others through.
  • GET /admin?method=POST

IP Spoofing via Header Injection

Add an header to impersonate a trusted client, such as an internal, localhost or corporate IP.

Examples:

  • X-Forwarded-For: 127.0.0.1
  • X-Client-IP: 10.0.0.1
  • X-Real-IP: 127.0.0.1

Paths with Alternate Casing

Some servers or filters are case-sensitive, others are not. Changing letter case can bypass filters.

Examples:

  • /ADMIN vs /admin
  • /file.PHp vs /file.php

Searching for Backup Files

Look for misconfigured or forgotten backup/temporary files that bypass access restrictions.

Examples:

  • /admin.bak, /admin.old, /index.php~, /config.php.save
  • Git/SVN metadata: /.git/, /.svn/
  • IDE/editor leftovers: index.php.swp, index.php.bak

Various Filter Evasion Techniques

Trick input validation and filtering logic.

Examples:

  • Encoding: %2E%2E%2F
  • Double encoding: %252E%252E%252F
  • Path traversal: ../

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

multibypass-1.1.0.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

multibypass-1.1.0-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file multibypass-1.1.0.tar.gz.

File metadata

  • Download URL: multibypass-1.1.0.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for multibypass-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d0bea8ccbac58337dd2fe0def149ab3a88163729575722b9331660718a6b540d
MD5 4f78059b0e1ba5fb4e46b0cec4ee9403
BLAKE2b-256 5ff77fdcbd17af7c12c7504243621687dc4eea5d348cf7477216ac2e647c9274

See more details on using hashes here.

File details

Details for the file multibypass-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: multibypass-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for multibypass-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d20f7fdbb874ad67ac524ac537093aab4b266a381baf2cc5a03a869a3bc7873
MD5 2c93e01bb1dcf00a6fc8015f5a3f0468
BLAKE2b-256 2f904ad1b85d648ebc6f72ecf1286eaec17c7d7ea78d0ff3050e043e85d1074c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page