Jump to content
Sign in to follow this  
mike

(Newbie)How can I prevent unauthorized person running my script

Recommended Posts

mike

I make a script and I want to set white list of people, based on Character name IN-GAME (actually Perfect World online)

the script will check who can use my script and who can't use, so,unauthorized name/person can't use it.

or .. are there alternative checking method besides using in-game character name?

Could anybody help me with this or script it please?

Edited by mike

Share this post


Link to post
Share on other sites
Valuater

XProTec.au3 concept can help, Maybe change the "blacklist" to a "white list" like this...

If InetGet($D_Link & "Blacklist.txt", $rtemp, 1) = 1 Then
    $itemp = FileRead($rtemp)
    FileDelete($rtemp)
    ; just and NOT below
    If StringInStr($itemp, $X_read003) Or StringInStr($itemp, $ND_Mail) Then mError("This program has been abused and will now close    ", 6, 1)
EndIf

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
mike

is it possible to use the List.txt to check the authorized people

if i check the Names list from online game's character name

(still working on retrieve the name from _MemoryRead function) :)

for example.. : the boy next to my home use my Script on online game,and his game character name is ABCD

when he online,use my script,it will check the "ABCD" string, if not "ABCD" it will close itself.

can Autoit script do that thing ?

um... can anyone help me here to retrieve the string from PC client Memory reading? (example : the offset for the String is 01234567)

Share this post


Link to post
Share on other sites
oMBRa

I do not understand what u mean with:

retrieve the string from PC client Memory reading?

Share this post


Link to post
Share on other sites
mike

i use UCE/CheatEngine to find the offset address for that Strings

Share this post


Link to post
Share on other sites
oMBRa

search in the forum for nomad memory function

Edited by oMBra

Share this post


Link to post
Share on other sites
mike

@Valuater

thanks man .. the whitelist hint would be useful someday

PS: what is exactly the structure inside the Blacklist.txt file ?

is it like this :

name1

name2

name3

or like this : name1 name2 name3

@oMBra

yes.. i have already use NomadMemory.au3 before i post this thread :)

problem is : how to compare the string i got from Memory reading using NomadMemory with strings in WhiteList.txt file?

Share this post


Link to post
Share on other sites
mike

XProTec.au3 concept can help, Maybe change the "blacklist" to a "white list" like this...

If InetGet($D_Link & "Blacklist.txt", $rtemp, 1) = 1 Then
    $itemp = FileRead($rtemp)
    FileDelete($rtemp)
    ; just and NOT below
    If StringInStr($itemp, $X_read003) Or StringInStr($itemp, $ND_Mail) Then mError("This program has been abused and will now close    ", 6, 1)
EndIf

8)

thanks Valuater..

like this?

If NOT StringInStr($itemp, $X_read003) Or NOT StringInStr($itemp, $ND_Mail) Then mError("This program has been abused and will now close ", 6, 1)

@Valuater

i have this offsets 50 00 65 00 72 00 69 50 00 65 00 72 => P e r i P e r

its a name

can i compare it with the blacklist.txt ?can you give an example

what exactly should the string be in the blacklist.txt

Edited by mike

Share this post


Link to post
Share on other sites
oMBRa

write in the list the name of the autorized persons then compare it with the name u read in the memory

Share this post


Link to post
Share on other sites
Robin

Best "wrapper" i ever dealt with was Armadillo..if not THE best...

Far as i can recall you just add a password to it and is a "bitch" to crack :)

Edited by Robin

Share this post


Link to post
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
Sign in to follow this  

×