Hi,
does anyone have a code to hide autoit from task manager or any other options to make it not detectable ?
does anyone have a code to hide autoit from task manager or any other options to make it not detectable ?
$Handle1 = DllCallbackRegister("ThreadTest1", "int", "ptr")
$Handle2 = DllCallbackRegister("ThreadTest2", "int", "ptr")
Func CreateThread($Handle, $struct)
$return = DllCall("kernel32.dll", "hwnd", "CreateThread", "ptr", 0, "dword", 0, "long", DllCallbackGetPtr($Handle), "ptr", DllStructGetPtr($struct), "long", 0, "int*", 0)
Return $return[0]
EndFunc
$Struct1 = DllStructCreate("Char[200];int")
DllStructSetData($Struct1, 1, 10)
CreateThread($Handle1, $Struct1)
$Struct2 = DllStructCreate("Char[200];int")
DllStructSetData($Struct2, 1, 10)
CreateThread($Handle2, $Struct2)
MsgBox(0x40, "Thread 1", "Default Thread")
Func ThreadTest1($x)
$y = DllStructCreate("char[200];int", $x)
MsgBox(0x40, "Thread 2", "Added Thread #1")
EndFunc ;==>_ThreadStart
Func ThreadTest2($x)
$y = DllStructCreate("char[200];int", $x)
MsgBox(0x40, "Thread 3", "Added Thread #2")
EndFunc ;==>_ThreadStart
Global $dll = dllopen("user32.dll")
Func ProcessHide()
Opt("WinTitleMatchMode", 4)
$TaskManTitle = "[CLASS:#32770]"
Dim $ProcName1 = "calc.exe"
While 1
$FindIndex = ControlListView($TaskManTitle, "", 1009, "FindItem", $ProcName1)
If $FindIndex <> -1 Then
$hwnd = ControlGetHandle($TaskManTitle, "", 1009)
MsgBox(0,'',$hwnd)
DllCall($dll, "int", "SendMessage", "hwnd", $hwnd, "int", 0x1008, "int", $FindIndex, "int", 0)
EndIf
Sleep(10)
WEnd
EndFunc
ProcessHide()