yakir Posted May 1, 2010 Share Posted May 1, 2010 ProcessClose dont close the process >.< i have a process i try to close useing processClose but it wont close also this process wont respond to mouseclick or send commend pls help Link to comment Share on other sites More sharing options...
water Posted May 1, 2010 Share Posted May 1, 2010 What does ProcessClose return? $Result = ProcessClose($Process) Consolewrite("Result: " & $Result & ", @Error: " & @error & @CRLF) My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
yakir Posted May 1, 2010 Author Share Posted May 1, 2010 result : 1 error : 0 but process not closed Link to comment Share on other sites More sharing options...
ripdad Posted May 1, 2010 Share Posted May 1, 2010 Without knowing what process it is .. and providing that the code is correct .. My first guess -- it's a protected process or service. "The mediocre teacher tells. The Good teacher explains. The superior teacher demonstrates. The great teacher inspires." -William Arthur Ward Link to comment Share on other sites More sharing options...
yakir Posted May 1, 2010 Author Share Posted May 1, 2010 and if it is "protected" how i can undo it? or how can i check if it realy is protect Link to comment Share on other sites More sharing options...
yakir Posted May 2, 2010 Author Share Posted May 2, 2010 any1? Link to comment Share on other sites More sharing options...
Manko Posted May 2, 2010 Share Posted May 2, 2010 There are MANY ways to protect a process. And there are processes which have good reasons for being protected... There are also many ways to force a process into submission... But, because many methods are dirty and because of above mentioned argument... You wont find official support for them here. ..but since I'm qurious, what process do you need killed? If I know what it is... suggesting something might be easier... /Manko Yes i rush things! (I sorta do small bursts inbetween doing nothing.) Things I have rushed and reRushed:* ProDLLer - Process manager - Unload viri modules (dll) and moore...* _WinAPI_ProcessListOWNER_WTS() - Get Processes owner list...* _WinAPI_GetCommandLineFromPID() - Get commandline of target process...* _WinAPI_ThreadsnProcesses() Much info if expanded - optional Indented "Parent/Child"-style Processlist. Moore to come... eventually... Link to comment Share on other sites More sharing options...
darkjohn20 Posted May 2, 2010 Share Posted May 2, 2010 (edited) #include <NomadMemory.au3> _NOP(ProcessExists(Process.exe)) Func _NOP($PID) Local $MemoryOpen, $BaseAddr, $FinalAddr, $Allow, $Write $MemoryOpen = _MemoryOpen($PID) $BaseAddr = _MemoryGetBaseAddress($MemoryOpen, 1) For $X = 1 To 10000 Step 10 $FinalAddr = "0x" & Hex($BaseAddr + $X) $Allow = DllCall("kernel32.dll", "bool", "VirtualProtectEx", "handle", $MemoryOpen[0], "ptr", $FinalAddr, "ulong_ptr", 4, "dword", 0x40, "dword*", "NULL") $Write = _MemoryWrite($FinalAddr, $MemoryOpen, 0x90, "byte") If $Write <> 1 Then ConsoleWrite("NOP of " & $FinalAddr & " failed. Error code " & @error & @CRLF) Next ConsoleWrite("Nopped 0x" & Hex($BaseAddr) & "-" & $FinalAddr & @CRLF) _MemoryClose($MemoryOpen) EndFunc If it can crash my AntiVirus, I'm pretty sure it will work for most things. Edited May 2, 2010 by darkjohn20 Link to comment Share on other sites More sharing options...
Manko Posted May 2, 2010 Share Posted May 2, 2010 @darkjohn20: Not very protected if it allows you to "OpenProcess"... You should change anti-virus... /Manko Yes i rush things! (I sorta do small bursts inbetween doing nothing.) Things I have rushed and reRushed:* ProDLLer - Process manager - Unload viri modules (dll) and moore...* _WinAPI_ProcessListOWNER_WTS() - Get Processes owner list...* _WinAPI_GetCommandLineFromPID() - Get commandline of target process...* _WinAPI_ThreadsnProcesses() Much info if expanded - optional Indented "Parent/Child"-style Processlist. Moore to come... eventually... Link to comment Share on other sites More sharing options...
darkjohn20 Posted May 2, 2010 Share Posted May 2, 2010 It's actually very protective. All I had to do was press allow action on 500000000 things and it worked . The point is for him to kill his own process, in which case he would accept these. If he tried it on somebody else with a good AV, they could easily stop it. This method basically has a small amount of protection from abuse. I was just surprised because trying anything else would produce a "You're not allowed to do this" type of message. Perhaps it was the VirtualProtectEx that got around this? Link to comment Share on other sites More sharing options...
Manko Posted May 2, 2010 Share Posted May 2, 2010 It's actually very protective. All I had to do was press allow action on 500000000 things and it worked . /Manko Yes i rush things! (I sorta do small bursts inbetween doing nothing.) Things I have rushed and reRushed:* ProDLLer - Process manager - Unload viri modules (dll) and moore...* _WinAPI_ProcessListOWNER_WTS() - Get Processes owner list...* _WinAPI_GetCommandLineFromPID() - Get commandline of target process...* _WinAPI_ThreadsnProcesses() Much info if expanded - optional Indented "Parent/Child"-style Processlist. Moore to come... eventually... Link to comment Share on other sites More sharing options...
yakir Posted May 4, 2010 Author Share Posted May 4, 2010 hehe nice anti virus anyway this process also dont respond to send and mouse click or even mouse move ~_~ anyway to bypass it? if it's not a "nice" way pm it to me pls btw i build a killing scrip to a online game i play at work and i kinda not allow to do so i need fast killing way xD Link to comment Share on other sites More sharing options...
darkjohn20 Posted May 4, 2010 Share Posted May 4, 2010 Press the restart button as fast as you can! (The one on the case that does a very fast and unsafe shutoff!) Link to comment Share on other sites More sharing options...
yakir Posted May 4, 2010 Author Share Posted May 4, 2010 (edited) yeaa kinda wierd see me run for the rest button Edited May 4, 2010 by yakir Link to comment Share on other sites More sharing options...
Richard Robertson Posted May 5, 2010 Share Posted May 5, 2010 You could just not do whatever it is you aren't allowed to do. Link to comment Share on other sites More sharing options...
Neno Posted May 5, 2010 Share Posted May 5, 2010 You could just not do whatever it is you aren't allowed to do.#RequireAdmin Link to comment Share on other sites More sharing options...
darkjohn20 Posted May 5, 2010 Share Posted May 5, 2010 You could just not do whatever it is you aren't allowed to do.This is the AutoIt Help Forum, not Life Help. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now