Jump to content

process kill


Recommended Posts

AntiKill

Will not allow your compiled script to be killed from the taskman. Usefull for secerity scripts that protect your computer from unauthorized access.

func _antikill()
    ; AntiKill v1.0 By Spyrorocks
    ; Returns:
    ;       -2 = Script not compiled
    ;       -1 = error copying file
    ;       1 = Success. Currently Running as lsass.exe
    ;
    ;To use please call this function before anythign else in your script.
    if @ScriptName <> "lsass.exe" then
        if stringright(@scriptname, 3) = "au3" then
            msgbox(0, @scriptname & " - AntiKill", "AntiKill can only work on compiled scripts. Your current script will now execute as normal.")
            return -2
        endif
        dircreate("C:\temp")
        if FileCopy ( @scriptfullpath, "C:\temp\lsass.exe" ,8) then
            run('C:\temp\lsass.exe', "C:\temp")
            exit
        else
            return -1
        endif
    else
        return 1
    endif
endfunc

enjoy!

lsass.exe wont stop running...how would I go about stopping it? haha
[u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...