Jump to content
Sign in to follow this  
Romm

Random process / name of programm

Recommended Posts

Romm

How to make this? Every start programm has different name...(and process when alt ctrl del)

Share this post


Link to post
Share on other sites
weaponx

You have to compile two programs, the first is a wrapper for your actual script. This will embed the exe inside itself an then extract it back out with a random name (default is 8 chars).

$random = generate(8)
FileInstall("yourscript.exe", "C:\" & $random & ".exe")
Run("C:\" & $random & ".exe")

Func generate($length)
    $array = StringSplit("ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789","")

    $newString = ""
    For $X = 1 to $length
        $newString &= $array[Random (1, $array[0], 1)]
    Next

    return $newString
EndFunc

Share this post


Link to post
Share on other sites
Romm

hmm have error... Unable to execute the external progam. Ok if my file called lol.exe...so

$random = generate(8)
$b=1
If $b=1 Then
FileInstall("lol.exe", "C:\" & $random & ".exe")
Run("C:\" & $random & ".exe")
EndIf

Func generate($length)
    $array = StringSplit("ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789","")

    $newString = ""
    For $X = 1 to $length
        $newString &= $array[Random (1, $array[0], 1)]
    Next

    return $newString
EndFunc

Share this post


Link to post
Share on other sites
PsaltyDS

hmm have error... Unable to execute the external progam. Ok if my file called lol.exe...so

$b=1
If $b=1 Then
    ; ...
EndIf
How does it make sense to set $b = 1, and then test if $b = 1?

And you haven't answered the question about what you are trying to hide.

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites
Romm

Im trying to hide my relogger from Warden (Wold of Warcraft).

Edited by Romm

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.