Update README.md

main
witchdocsec 2024-05-23 22:59:15 +01:00 committed by GitHub
parent 716c796a1d
commit 27795c9177
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 7 deletions

View File

@ -5,18 +5,19 @@ we will add more payloads but for now we just execute shell commands. via the os
## useage (standalone) ## useage (standalone)
web request mode 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] usage: balsamic.py webreq [-h] [-m METHOD] -u URL [-p PARAMETER] [-co COOKIE] -P PAYLOAD
[-c COMMAND] [-H HEADERS]
options: options:
-h, --help show this help message and exit -h, --help show this help message and exit
-s {http,https}, --schema {http,https}
-m METHOD, --method METHOD -m METHOD, --method METHOD
-rh RHOST, --rhost RHOST -u URL, --url URL
-rp RPORT, --rport RPORT
-p PARAMETER, --parameter PARAMETER -p PARAMETER, --parameter PARAMETER
-co COOKIE, --cookie COOKIE -co COOKIE, --cookie COOKIE
-P PAYLOAD, --payload PAYLOAD -P PAYLOAD, --payload PAYLOAD
-c COMMAND, --command COMMAND -c COMMAND, --command COMMAND
-H HEADERS, --headers HEADERS
``` ```
socksend mode socksend mode
``` ```
@ -48,7 +49,7 @@ options:
``` ```
from balsamic import balsamic from balsamic import balsamic
balsamic.utility.command="command" balsamic.utility.command="command"
balsamic.webreq("schema","method","rhost","rport","payload","parameter","cookie") balsamic.webreq("method", "url", "payload", "param", "cookie", custom_headers)
balsamic.socksend("ip",port,"payload",encode,steps) balsamic.socksend("rhost", rport, "payload", enc, steps)
balsamic.socklisten(port,"payload",encode,steps) balsamic.socklisten(lport, "payload", enc, steps)
``` ```