Skip to content

Commit

Permalink
No such method as Exception.toString()
Browse files Browse the repository at this point in the history
Just printing it in the f-string converts it to a string...
  • Loading branch information
giannitedesco committed Dec 18, 2021
1 parent 793c32c commit 24846e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poc.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def payload(userip , webport , lport):
print(Fore.GREEN + '[+] Exploit java class created success')

except Exception as e:
print(Fore.RED + f'[-] Something went wrong {e.toString()}')
print(Fore.RED + f'[-] Something went wrong {e}')

checkJavaAvailible()
print(Fore.GREEN + '[+] Setting up LDAP server\n')
Expand Down

0 comments on commit 24846e5

Please sign in to comment.