Sothe Cheater
Reputation: -1
Joined: 06 Jun 2010 Posts: 33 Location: Phoenix
|
Posted: Sun Jun 06, 2010 2:38 pm Post subject: [AutoIt3] Hiding a net process |
|
|
This is a simple script, which works on every windows nt system. The script calls the DLL, which hooks the system, to hide a process (via process id).
Code: | 1. _ProcessHide(@AutoItPID)
2. Func _ProcessHide($PID)
3. DllCall("HideProcessNT.dll","long","HideNtProcess","dword",$PID)
4. EndFunc |
This method only works for Task Manager
Code: | 1.
2. Run("notepad.exe")
3. Run("taskmgr.exe")
4. Sleep(10*1000)
5. MsgBox(1,"","hide notepad.exe")
6. AdlibRegister("_AdLib_ProcessHide",0)
7. Func _AdLib_ProcessHide()
8. Opt("WinTitleMatchMode",4)
9. $TaskManTitle = "[CLASS:#32770]"
10. Dim $ProcName = "notepad.exe"
11. While 1
12. $FindIndex = ControlListView($TaskManTitle, "", 1009, "FindItem", $ProcName)
13. If $FindIndex = -1 Then
14. Else
15. $hwnd = ControlGetHandle($TaskManTitle, "", 1009)
16. DllCall("user32.dll", "int", "SendMessage", "hwnd", $hwnd, "int", 0x1008, "int", $FindIndex, "int", 0)
17. EndIf
18. WEnd
19. EndFunc
20. While 1
21. Sleep(100)
22. WEnd |
So I hope I helped anyone here who uses AutoIt
_________________
Hello kiddies, this is your captain speaking. |
|