Jump to content

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


mike
 Share

Recommended Posts

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

@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?

Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • 3 weeks later...

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...