View previous topic :: View next topic |
Author |
Message |
aikoncwd Grandmaster Cheater Reputation: 23
Joined: 21 Dec 2012 Posts: 591 Location: Spain (Barcelona)
|
Posted: Tue Apr 22, 2014 7:05 am Post subject: [TOOL] AoB Pattern Generator (coded in VBS, OpenSource) |
|
|
Hi all
I coded an easy tool to generator patters for our AoB scan routines, the script is very simple; you only need to add some array of bytes (min 2, max infinite) and the script will generate a valid pattern, example:
Here is the script: http://pastebin.com/tQsvbSkh
Just copy&paste the script in a TXT file (notepad) and save it as whatever.vbs
Enjoy!
_________________
Hey Hitler
Test here your skill with CheatEngine, I coded a challenge for you. Try to beat it!
HERE |
|
Back to top |
|
|
Rydian Grandmaster Cheater Supreme Reputation: 31
Joined: 17 Sep 2012 Posts: 1358
|
Posted: Tue Apr 22, 2014 7:47 am Post subject: |
|
|
This will be pretty useful when I'm trying to make AOBs to data instead of code and so end up doing like 128 byte sigs at a time.
_________________
|
|
Back to top |
|
|
aikoncwd Grandmaster Cheater Reputation: 23
Joined: 21 Dec 2012 Posts: 591 Location: Spain (Barcelona)
|
Posted: Tue Apr 22, 2014 8:35 am Post subject: |
|
|
Rydian wrote: | This will be pretty useful when I'm trying to make AOBs to data instead of code and so end up doing like 128 byte sigs at a time. |
Thanks, did you tried the script? report any bug or suggestion
_________________
Hey Hitler
Test here your skill with CheatEngine, I coded a challenge for you. Try to beat it!
HERE |
|
Back to top |
|
|
Rydian Grandmaster Cheater Supreme Reputation: 31
Joined: 17 Sep 2012 Posts: 1358
|
Posted: Tue Apr 22, 2014 2:43 pm Post subject: |
|
|
Could a mode or alternate one be developed where the entry form is bigger and takes multi-line input and then just explodes the samples by linebreaks? When I'm working on data samples I tend to have them copied into the same text file, each sample on it's own line.
It'd save copy-pasting line by line and hitting the enter key twice between each copy-paste for when there's more than just 3-4 samples.
_________________
|
|
Back to top |
|
|
aikoncwd Grandmaster Cheater Reputation: 23
Joined: 21 Dec 2012 Posts: 591 Location: Spain (Barcelona)
|
Posted: Tue Apr 22, 2014 3:05 pm Post subject: |
|
|
Rydian wrote: | Could a mode or alternate one be developed where the entry form is bigger and takes multi-line input and then just explodes the samples by linebreaks? When I'm working on data samples I tend to have them copied into the same text file, each sample on it's own line.
It'd save copy-pasting line by line and hitting the enter key twice between each copy-paste for when there's more than just 3-4 samples. |
Yes, I can make a Form with a TextBox (multiline input), but no with VBS.
If you want, I can code a stand-alone EXE with that feature.
If you want to mantain de VBS Script, I can add an option to read a textfile with a specific format, something like:
Code: | aob1
aob2
aob3
aobX |
This method will force you to put all data (each aob per line) without other chars/text or line-breaks.
So tell me what you want and I will code it
_________________
Hey Hitler
Test here your skill with CheatEngine, I coded a challenge for you. Try to beat it!
HERE |
|
Back to top |
|
|
NanoByte Expert Cheater Reputation: 1
Joined: 13 Sep 2013 Posts: 222
|
Posted: Wed Aug 06, 2014 7:41 am Post subject: |
|
|
Says error
line: 1
char: 1
invalid charactor
|
|
Back to top |
|
|
aikoncwd Grandmaster Cheater Reputation: 23
Joined: 21 Dec 2012 Posts: 591 Location: Spain (Barcelona)
|
Posted: Thu Aug 07, 2014 3:40 am Post subject: |
|
|
NanoByte wrote: | Says error
line: 1
char: 1
invalid charactor |
Its easy:
Open your notepad.exe (or any text editor)
Copy and paste this code to notepad.exe
Code: | 'Created by AikonCWD
Set oWSH = CreateObject("WScript.Shell")
Set oFSO = CreateObject("Scripting.FileSystemObject")
T = InputBox("Enter array of bytes nº 1:")
T = T & vbcrlf & InputBox("Enter array of bytes nº 2:")
X = 3
While MsgBox("Do you want to introduce another array of bytes?", vbYesNo, "AoB Pattern Generator") = vbYes
T = T & vbcrlf & InputBox("Enter array of bytes nº " & X &":")
X = X + 1
Wend
AoB = Split(T, vbcrlf)
F = ""
W = 0
X = 0
For i = 1 To Len(AoB(0))
For u = 1 To UBound(AoB)
If Mid(AoB(u), i, 1) <> Mid(AoB(0), i, 1) Then
F = F & "?"
W = W + 1
X = 1
Exit For
End If
Next
If X <> 1 Then F = F & Mid(AoB(0), i, 1)
X = 0
Next
Set File = oFSO.CreateTextFile("aob.txt")
File.Write "Original array of bytes:" & vbcrlf & vbcrlf
File.Write Replace(T, vbcrlf & vbcrlf, vbcrlf) & vbcrlf & vbcrlf
File.Write "Total array of bytes: " & UBound(AoB) + 1 & vbcrlf
File.Write "Total wildcards used: " & W & vbcrlf & vbcrlf
File.Write "Your AoB Pattern:" & vbcrlf & vbcrlf & F
File.Close
'MsgBox F
If MsgBox("AoB Patter Generator finished" & vbcrlf & vbcrlf & "Do you want to open aob.txt file?", vbYesNo, "AoB Pattern Generator") = vbYes Then
oWSH.Run "notepad.exe aob.txt"
End If |
Save the text file, but you need to write the extension, look:
Has you can see, you need to put ".vbs" at the end of the filename, also select "All Files (*.*)" at file-type. You will see this icon:
Open the icon, the script will ask you for the 1st AoB pattern, then the 2nd pattern, at this point the script will ask you if you want to add more patterns (3, 4, 5, infinite). At the end of your input, the script will generate an aob.txt file with the wildcard.
Tell me if this works
_________________
Hey Hitler
Test here your skill with CheatEngine, I coded a challenge for you. Try to beat it!
HERE |
|
Back to top |
|
|
0vad0z3 How do I cheat? Reputation: 0
Joined: 06 Aug 2014 Posts: 5
|
Posted: Thu Aug 07, 2014 4:55 am Post subject: |
|
|
http(:)//i.imgur(.)com/tZu5n6d.png?1
take the parentheses out
Doesn't work for me :(
I saved the script as .vbs then I tried to access it and this error popped up.
|
|
Back to top |
|
|
aikoncwd Grandmaster Cheater Reputation: 23
Joined: 21 Dec 2012 Posts: 591 Location: Spain (Barcelona)
|
Posted: Thu Aug 07, 2014 5:40 am Post subject: |
|
|
Ok, the code you copied have an invalid character, ensure the 1st character is an apostrophe. Copy the code excatly as I posted.
But, if you want, you can go to the pastebin link at #1 and download a copy os the raw script: http://pastebin.com/download.php?i=tQsvbSkh
Then rename the file to randomfilename.VBS and execute it.
_________________
Hey Hitler
Test here your skill with CheatEngine, I coded a challenge for you. Try to beat it!
HERE |
|
Back to top |
|
|
NanoByte Expert Cheater Reputation: 1
Joined: 13 Sep 2013 Posts: 222
|
|
Back to top |
|
|
aikoncwd Grandmaster Cheater Reputation: 23
Joined: 21 Dec 2012 Posts: 591 Location: Spain (Barcelona)
|
Posted: Thu Aug 07, 2014 9:25 am Post subject: |
|
|
NanoByte wrote: | Same error pops up.
Cant we make an exe out of it?
hmm i got time to spare so if you could help me make a exe
but sadly i know nothing about vbs, if you could explain to me how you doing the conversion, so i could try and solve it in c#
ofc all credits goes to you |
Here is a compiled versión of the script:
https://www.mediafire.com/?2et7r6aqi44igas
Execute as admin
_________________
Hey Hitler
Test here your skill with CheatEngine, I coded a challenge for you. Try to beat it!
HERE |
|
Back to top |
|
|
NanoByte Expert Cheater Reputation: 1
Joined: 13 Sep 2013 Posts: 222
|
Posted: Thu Aug 07, 2014 9:35 am Post subject: |
|
|
Thx man
|
|
Back to top |
|
|
Attack Cheater Reputation: 0
Joined: 21 Mar 2011 Posts: 46 Location: Canada
|
Posted: Wed Feb 04, 2015 3:28 am Post subject: |
|
|
Length isn't infinite. I'm trying to find whatever is responsible for jumping within the player structure and it cuts my data off.
EDIT: Length is infinite... I was just pasting into notepad first and it was adding damn new line chars every now and then.
Last edited by Attack on Thu Feb 05, 2015 9:31 pm; edited 1 time in total |
|
Back to top |
|
|
panraven Grandmaster Cheater Reputation: 55
Joined: 01 Oct 2008 Posts: 942
|
Posted: Wed Feb 04, 2015 6:15 am Post subject: |
|
|
Is halfbyte aob work for newer ce? It is not work for 6.4.
Description: |
|
Filesize: |
19.59 KB |
Viewed: |
36381 Time(s) |
|
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Wed Feb 04, 2015 8:23 am Post subject: |
|
|
There's no such thing as halfbyte in CE byte array scanner.
_________________
|
|
Back to top |
|
|
|