Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such file or directory: 'Driver.class' #5

Open
imbas007 opened this issue Jan 10, 2023 · 2 comments
Open

No such file or directory: 'Driver.class' #5

imbas007 opened this issue Jan 10, 2023 · 2 comments

Comments

@imbas007
Copy link

imbas007 commented Jan 10, 2023

[] Bypass authentication.
[
] Start deploying the jdbc backdoor.
[*] Compile java code.
Traceback (most recent call last):
File "/home/root/poc/CVE-2022-36537/CVE-2022-36537.py", line 210, in
deploy_jdbc_backdoor(args.url)
File "/home/root/poc/CVE-2022-36537/CVE-2022-36537.py", line 106, in deploy_jdbc_backdoor
build_jdbc_backdoor()
File "/home/root/poc/CVE-2022-36537/CVE-2022-36537.py", line 165, in build_jdbc_backdoor
shutil.copy('Driver.class', 'jdbc_jar/com/mysql/jdbc/')
File "/usr/lib/python3.10/shutil.py", line 417, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.10/shutil.py", line 254, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: 'Driver.class'

@tsvetkovsecurity
Copy link

i got same error when -d deploy.

@h00die-gr3y
Copy link

yep, same here !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants