forked from p15670423/monkey
Agent: small logging improvements in log4shel
This commit is contained in:
parent
d2181f6577
commit
dd3c5aac6f
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue