View previous topic :: View next topic |
Author |
Message |
Elitecommando Newbie cheater
Reputation: 0
Joined: 21 Dec 2012 Posts: 10
|
Posted: Wed Jan 09, 2013 8:07 pm Post subject: Help me with finding .swf files and finding/changing AoB's? |
|
|
I am currently using firefox at the moment and lets say I'm trying to get the swf file for a simple game such as learn to fly on kongregate. I have found a way to find the .swf file for "learn to fly" And I was wondering do any of these steps actually work in finding the correct game swf file? If not, could anyone please explain to me on how to find the .swf game file.
Finding swf file for a game: First we goto a game E.x Learn to fly on kongregate and then we right click on background image **NOT GAME** Hit on view page info and click on media. From there we look for the swf file and save it.
Is this correct?
Second thing I need help with is AoB's (Array of Bytes)
Ok now that I have the swf file do I use swf decompiler to find the AoB for a game? example I want to change the cost of an item. Or could I use cheat engine to find the AoB?
This is what I have so far:
Step 1. Open SWF Decompiler
Step 2. Make sure to have swf file opened in it.
Step 2. Goto ActionScript and click Raw Data, and check the box by the search that says:Ignore Case, Now you can see the code/aob's
Step 3. What now??? After finding the correct Swf file How do I find the AoB to modify the prices? Do I search for price/gold or something?
Things I need help with:
#1. How to find .swf game file
#2. If found the correct swf file, how do you find the AoB? For example the pricing
#3. How would you change the AoB?
For example I got this post from another user
Free towers & upgrades
d0 66 ?? ?? 66 ?? 62 ?? a1 75
d0 66 ?? ?? 66 ?? 02 02 02 75
How would they know how to change "d0 66 ?? ?? 66 ?? 62 ?? a1 75" into
"d0 66 ?? ?? 66 ?? 02 02 02 75"
This AoB thing is stil very new to me. Much appreciated. I'll need all the help I can possibly get.
Last edited by Elitecommando on Wed Jan 09, 2013 8:11 pm; edited 1 time in total |
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25796 Location: The netherlands
|
Posted: Wed Jan 09, 2013 8:08 pm Post subject: |
|
|
you can find the .swf in memory by doing a stringscan for the text "FWS"
when you know it, you can use the lua command writeRegionToFile() to save it to a file
I think I posted a swf extarctor inh the lua section a long time ago
Also, enable mem_mapped in settings
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
Elitecommando Newbie cheater
Reputation: 0
Joined: 21 Dec 2012 Posts: 10
|
Posted: Wed Jan 09, 2013 8:23 pm Post subject: |
|
|
Dark Byte wrote: | you can find the .swf in memory by doing a stringscan for the text "FWS"
when you know it, you can use the lua command writeRegionToFile() to save it to a file
I think I posted a swf extarctor inh the lua section a long time ago
Also, enable mem_mapped in settings |
Still a bit confused :$ sorry. Ok I opened cheat engine and selected my process (Plugin-container) I next scaned for FWS in string scan and 23 results popped up. What do you exactaly mean "when you know it, you can use lua cmmand writeRegionToFile()"?
|
|
Back to top |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Fri Jan 11, 2013 12:31 am Post subject: |
|
|
Open it up with sothink, open the .swf by pressing "+" near it,
In the top bar switch to search, and write there cash/coins/money/gold etc. and press on case-sentensive and search, if you got results, press on it and change the view to Raw Data.
Then look on the script wheres the cash, take the AoB down and then replace..
for example you see something like it
24 03 68 AB CD
24 03
pushbyte 3
68 AB CD
int cash
so I'd change it to 24 7F 68 AB CD.
Or 2d 1b 68 ab cd.
for higher cash
_________________
I'm rusty and getting older, help me re-learn lua. |
|
Back to top |
|
 |
Rydian Grandmaster Cheater Supreme
Reputation: 31
Joined: 17 Sep 2012 Posts: 1358
|
Posted: Fri Jan 11, 2013 8:28 am Post subject: |
|
|
I recommend installing Fiddler2, it's a program that will log HTTP requests done on your machine. Start it, and it'll record all the HTTP requests made, even ones made from within a flash container (like youtube videos or flash ad containers).
Using that, I grabbed the URL easily.
http://chat.kongregate.com/gamez/0004/5630/live/Learn_to_fly_Final_3.52k.swf
|
|
Back to top |
|
 |
RJT Expert Cheater
Reputation: 3
Joined: 08 Oct 2008 Posts: 195
|
Posted: Fri Jan 11, 2013 10:25 am Post subject: |
|
|
DaSpamer wrote: | Open it up with sothink, open the .swf by pressing "+" near it,
In the top bar switch to search, and write there cash/coins/money/gold etc. and press on case-sentensive and search, if you got results, press on it and change the view to Raw Data.
Then look on the script wheres the cash, take the AoB down and then replace..
for example you see something like it
24 03 68 AB CD
24 03
pushbyte 3
68 AB CD
int cash
so I'd change it to 24 7F 68 AB CD.
Or 2d 1b 68 ab cd.
for higher cash |
What DaSpamer has said is about right for the #3 you need help with.
Get the AVM2 Overview document from Adobe here:
http://www.adobe.com/content/dam/Adobe/en/devnet/actionscript/articles/avm2overview.pdf
and visit page 35 for a list of all AVM2 instructions.
In his example, 0x24 would correspond to the pushbyte instruction, while 0x2D corresponds to pushint. pushint will let you push an integer onto the stack. With pushbyte the largest value you can go is 0xFF - which is 255.
So you replace operations with different operations in order to achieve what you want to achieve.
|
|
Back to top |
|
 |
|