Код находится: Ссылка удалена модератором.
Ошибка:
Traceback (most recent call last):
File "/home/miwa/log4j-shell-poc/poc.py", line 144, in <module>
main()
File "/home/miwa/log4j-shell-poc/poc.py", line 134, in main
if not check_java():
File "/home/miwa/log4j-shell-poc/poc.py", line 86, in check_java
exit_code = subprocess.call([
File "/usr/lib/python3.10/subprocess.py", line 345, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.10/subprocess.py", line 969, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.10/subprocess.py", line 1845, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: '/home/miwa/log4j-shell-poc/jdk1.8.0_20/bin/java'