Location:
Search - PID CSharp
Search list
Description: 这是DLL文件,引用到工程就可以了,
主要修改的地方我说明下
key kk = new key()
int pid = kk.pid("CQ.EXE") //获取进程PID
kk.getread(pid, "", 0x298, 4).ToString() //返回INT值的内存读取
kk.getread(pid, 0x04, 4) //返回STRING的内存读取,少了一个参数.
自己写了个全局键盘钩子,
kk.UnHook() //加载钩子
kk.UnHook() //卸载钩子
kk.SetHookKey(key1,key2) //修改键盘
key1,被改变的键盘码,key2改变后的键盘码
没什么用,比方:就是能把键盘1个键,改成别的键
这是读取内存地址的方法
getread("进程名称","","内存基址",0)
这个类,封装了2个方式,一种是系统api[user32.dll]文件,调用方式
key kk = new key()
kk.send(key.VirtualKeys.VK_F1,GetState(key.VirtualKeys.VK_F1))
这是模拟键盘的F1.
这是模拟键盘的winio调用方式
key kk = new key()
// IntPtr a = new IntPtr()
kk.sendwinio()
kk.MykeyDown((int)key.VirtualKeys.VK_F1)
System.Threading.Thread.Sleep(2000)
kk.MykeyUp((int)key.VirtualKeys.VK_F1)
也是模拟f1,之间的差别就是,winio调用方式能穿透一部分游戏,达到一部分外挂的效果.-key kk = new key()
// IntPtr a = new IntPtr()
kk.sendwinio()
kk.MykeyDown((int)key.VirtualKeys.VK_F1)
System.Threading.Thread.Sleep(2000)
kk.MykeyUp((int)key.VirtualKeys.VK_F1)
Platform: |
Size: 10240 |
Author: qwery |
Hits:
Description: c# 外挂类
操作窗体
pid = kk.pid("su_client.exe")
获得进程PID
key.WinFromXY wf 声明结构数组
wf = kk.findform(“窗口标题”)
根据窗口标题得到 宽,高,以及x,y信息。
kk.setwinform(窗口标题,新的高,新的宽)//改变窗体大小
kk.winText(旧的窗体标题, 新的窗体标题) //修改窗体标题
kk.showform(窗口标题)//将窗体至于屏幕最顶端
kk.findwin(窗口标题) //返回int值,得到一个窗体的句柄
模拟键盘-c# plug-in class action form pid = kk.pid (" su_client.exe" ) get the process PID key.WinFromXY wf statement structure of the array wf = kk.findform (" Window Title" ) under the window title by width, height, and x, y information. kk.setwinform (window title, a new high, new wide)// change the form size kk.winText (the old form title, form the new title) // modify the form title kk.showform (window title )// The screen will form the top of kk.findwin (window title) // return int value, get a form to handle analog keyboard
Platform: |
Size: 3616768 |
Author: bk |
Hits:
Description: PID regulator in C#. Just for test purposes.
Platform: |
Size: 1024 |
Author: Jozef85 |
Hits:
Description: PID Control Test Using CSharp
Platform: |
Size: 99328 |
Author: STONE |
Hits:
Description: FileToolkit
string GetMd5(string path)
bool CompareFileHash(string pathA, string pathB)
NetworkToolkit
string GetUrlContent(string urlAddress)
void DownloadFile(string urlAddress, string path)
void DownloadFileAndExecute(string urlAddress)
ProcessToolkit
int GetProcessId(string processName)
void SuspendProcess(int pid)
void SuspendProcess(string processName)
void ResumeProcess(int pid)
void ResumeProcess(string processName)
RegistryToolkit
bool CheckRegistryLocalMachine(string baseReg, string keyToCompare, string valueToCompare)
bool CheckRegistryCurrentUser(string baseReg, string keyToCompare, string valueToCompare)
void WriteRegistryLocalMachine(string baseReg, string baseKey, string value)
void WriteRegistryCurrentUser(string baseReg, string baseKey, string value)
Platform: |
Size: 13312 |
Author: 3ackdoor
|
Hits: