Send malicious pickles via requests or sockets
Project description
Balsamic
balsamic is a library for sending malicious pickles to a vunlerable application, via web requests, or a malicious server or client(currently ipv4 only).
we will add more payloads but for now we just execute shell commands. via the oscmd payload.
useage (standalone)
web request mode
usage: balsamic.py webreq [-h] -s {http,https} [-m METHOD] -rh RHOST -rp RPORT [-p PARAMETER] [-co COOKIE] -P PAYLOAD [-c COMMAND]
options:
-h, --help show this help message and exit
-s {http,https}, --schema {http,https}
-m METHOD, --method METHOD
-rh RHOST, --rhost RHOST
-rp RPORT, --rport RPORT
-p PARAMETER, --parameter PARAMETER
-co COOKIE, --cookie COOKIE
-P PAYLOAD, --payload PAYLOAD
-c COMMAND, --command COMMAND
socksend mode
usage: balsamic.py socksend [-h] -rh RHOST -rp RPORT -P PAYLOAD [-c COMMAND] [-s STEPS]
options:
-h, --help show this help message and exit
-rh RHOST, --rhost RHOST
-rp RPORT, --rport RPORT
-P PAYLOAD, --payload PAYLOAD
-c COMMAND, --command COMMAND
-s STEPS, --steps STEPS
socklisten mode
usage: balsamic.py socklisten [-h] -lp LPORT -P PAYLOAD [-c COMMAND]
options:
-h, --help show this help message and exit
-lp LPORT, --lport LPORT
-P PAYLOAD, --payload PAYLOAD
-c COMMAND, --command COMMAND
useage (library)
from balsamic import balsamic
balsamic.utility.command="command"
balsamic.webreq("schema","method","rhost","rport","payload","parameter","cookie")
balsamic.socksend("ip",port,"payload",steps)
balsamic.socklisten(port,"payload",steps)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
balsamic-0.1.95.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for balsamic-0.1.95-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b039f01c1cd58411ab779913f6694aacae6630cd1f4d8296c52709184bfe4b1 |
|
MD5 | 17cc5536b6c1895d98b9accc7c2a83b2 |
|
BLAKE2b-256 | 42b58ef2a637fa044d8ec479da79099e047a06c26ccb7d3865d2b6d87f3832b6 |