Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[AutoIt3] Hiding a net process

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Sothe
Cheater
Reputation: -1

Joined: 06 Jun 2010
Posts: 33
Location: Phoenix

PostPosted: Sun Jun 06, 2010 2:38 pm    Post subject: [AutoIt3] Hiding a net process Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites