forked from p34709852/monkey
Agent: Start log4shell java class server on daemon thread
This commit is contained in:
parent
64827ac589
commit
67ade141a0
|
@ -193,4 +193,8 @@ class Log4ShellExploiter(WebRCE):
|
|||
def get_java_class_server_thread(self, ip: str, java_class: bytes):
|
||||
Log4ShellExploiter.HTTPHandler.java_class = java_class
|
||||
|
||||
return Thread(target=self._run_class_http_server, args=[ip])
|
||||
# Setting `daemon=True` to save ourselves some trouble when this is merged to the
|
||||
# agent-refactor branch.
|
||||
# TODO: Make a call to `create_daemon_thread()` instead of calling the `Thread()`
|
||||
# constructor directly after merging to the agent-refactor branch.
|
||||
return Thread(target=self._run_class_http_server, args=[ip], daemon=True)
|
||||
|
|
Loading…
Reference in New Issue