forked from p15670423/monkey
Agent: fix log4shell exploitation indication
This commit is contained in:
parent
c382987430
commit
5ac6d12fe9
|
@ -82,7 +82,9 @@ class Log4ShellExploiter(WebRCE):
|
||||||
|
|
||||||
ldap_thread.join(Log4ShellExploiter.DOWNLOAD_TIMEOUT)
|
ldap_thread.join(Log4ShellExploiter.DOWNLOAD_TIMEOUT)
|
||||||
ldap.stop()
|
ldap.stop()
|
||||||
return True
|
|
||||||
|
# If java class was downloaded it means that victim is vulnerable
|
||||||
|
return Log4ShellExploiter.HTTPHandler.class_downloaded
|
||||||
|
|
||||||
def build_ldap_payload(self):
|
def build_ldap_payload(self):
|
||||||
interface_ip = get_interface_to_target(self.host.ip_addr)
|
interface_ip = get_interface_to_target(self.host.ip_addr)
|
||||||
|
|
Loading…
Reference in New Issue