Update balsamic.py

main
witchdocsec 2024-05-18 04:31:48 +01:00 committed by GitHub
parent 1013fd74c1
commit fc080ae720
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ def updatecmd(newcmd):
def webreq(schema,method,rhost,rport,payload,param=None,cook=None):
methods=["get","post","put","patch"]
payload=utility.b64pickle(payload)
payload=payload.decode("utf-8")
if method in methods:
r=getattr(requests,method)
if param: