How to play iphone’s imobsters & co in firefox
See an update of this article here.
The games iMobsters, Vampires Live and Kingdoms Live are widespread MMORPGs für the iPhone. The games are completly based on html but embedded into an app.
The user-authentication is made via a guid in combination with the cellphone-number.
So the first task is to get the complete url with parameters for your iPhone.
Therefore you have to install a package-dumper like wireshark and a proxy server on your machine. If your internet-gateway is a linux-box skip this and simply use ngrep.
Connect your iPhone with your WLAN and set your machine as proxy-server. Start the package-dump open e.g. iMobsters on your iPhone. Look for http-packages in the dump. You will find a request to a url looking like that (this is an example for iMobsters):
http://im.storm8.com/index.php?version=F1.4&udid=437236572346572465782964& pf=4524556723678730575968&pnum=+49&20171&2012345678&model=iPhone
This url is a little messed up by the encoding, so you should replace the “+” from the international prefix with “00″ and remove all encoded whitespaces “%20″.
http://im.storm8.com/index.php?version=F1.4&udid=437236572346572465782964& pf=4524556723678730575968&pnum=004917112345678&model=iPhone
Take this url an put it into firefox. You will see a blank page, because the website detects, that your client is not an iPhone. What we have to do next, is to change firefox’s browser signature.
Open firefox and enter “about:config” into the address-field. A whole bunch of settings come up. Right-click into the window and click “New” -> “String“.
Enter
general.useragent.override
in the first window popping up and
Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_2_1 like Mac OS X; de-de) AppleWebKit/525.18.1 (KHTML, like Gecko) Mobile/5H11
into the second one.
Now try the above game-url again.
Hint: If you use this, it would be wise not to play the game via your Iphone (using UMTS / GPRS) and your computer at the same time. The ip-addresses will be different at the same time. This could drag the game-provider’s attention on your account.
Hint²: If you update your iPhone, maybe your safari-browser-signature will also change. You should always keep the signature of your phone and your fake-signature in sync.
I tried this and it works good but when I opened it in firefox it has white background color, which is quite annoying.
I solved it by just making a simple html-file with an iframe(with black background-color) which opened the iMobsters url.
iMobsters
[code]
iMobsters
[/code]
Crap, it doesnt seem to work to publish html-code in a comment.
Hi again, i sniffed the targets of the bottom links on the iMobsters app too. And i added them to the html-file aswell.
Here is a html-file where you just have to change the iframe url to your url that you have sniffed from your iphone.
http://rapidshare.com/files/264011275/iMobsters-html.rar (Size: 429 bytes)
Is this still working?!
I’ve downloaded the rapidshare html – updated the url… and get:
“Error: Invalid access to this application. You must install the app from Apple App Store first.”
Things I’ve tried:
Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_2_1 like Mac OS X; de-de) AppleWebKit/525.18.1 (KHTML, like Gecko) Mobile/5H11
My sniffed data shows this instead:
Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0_1 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Mobile/7A400
My sniffed data also shows:
version=1.6
So tried that too – still no luck
Any Ideas?!
So I changed this in the html – still no good.
@Doop: Did you update all parameters required? These are udid, pf and pnum!
@Doop
It’s still working.
Change the src=”" parameter in the iframe to the link you sniff when you’re trying to connect to iMobsters on the iPhone.
Thanks for the tutorial, rather easy. You could explain the 3rd part software a bit more though. but i googled tuts on that elsewhere.
@Lucius: great work, thanks for the code!
I created a page myself for Firefox. It looks 100% like the game on your iphone. including the menu bar graphics and links. Real easy for those without HTML knowledge.
http://rapidshare.com/files/270522180/imobsters.firefox.zip.html
if you like it, post your comment here!
I’m working on a Windows application that does all of the above, at the moment.
- It can be used by anyone. it gets real easy this way.
- it gets the required data from your iphone as described above. You dont even need to click once. just setup a proxy in your phone. It explains it all real easy.
- It connects to the Storm8 servers and shows you a 1 on 1 copy of the iPhone game in Windows. fully functional!
- No need to alter brower agents anymore and get mobile sites on your desktop.
- No need to packet sniff with wireshark or install a proxy. it does it all.
- Ability to save the info for usage every time, or freshly sync for latest agent and url.
hang in there! ill be posting it here when its ready in a few days.
Great guide. I just wonder if u can write a guide in more detail how to get the url? I tried to install both softwares, and seem that I cant get the iphone connection go through my computer.
Thx
anyone knows how to get pf from udid?
@WzK
Link is not working any more:
This file is neither allocated to a Premium Account, or a Collector’s Account, and can therefore only be downloaded 10 times.
This limit is reached.
To download this file, the uploader either needs to transfer this file into his/her Collector’s Account, or upload the file again. The file can later be moved to a Collector’s Account. The uploader just needs to click the delete link of the file to get further information.
Great article!
Could anyone post links for the bottom menu please???
You have it in my post above here.
Lucius, it gives error message (session expiried or some other crap) when I’m trying to DL from Rapidshare. Can you just post links here please?
Does anybody know how to fetch the pf argument yet?
I see this url:
?sv=3.0&version=1.3&udid=&pf=&fpts=300
But I still cant get my finger behind the pf argument. It differs per game, so it can not be the phone number encrypted or such.
Does anybody know how to post links in the comments. Posting links to other players would be GREAT!
How can i get the UDID of my world war account?
Thanks! Any update on this?
i dont understand what this package-dump is… im already stuck =( any help?
Can anyone post how to find my code on a mac?
This does not work any longer!
You need to set cookies with the appropriate settings.
Using an ad-hoc network from iphone to pc, you can then use wireshark to sniff the data. you will see the the following cookies:asc=,dd=,pf=,uid= and Version=.
With out them, it wont work.
The above posted url does not work.
The one i use (after setting the cookies) is:
http://im.storm8.com/home.php?showHomeBg=true&dt=
but not sure if the dt parameter is specific to me or the game, so i wont post.
there is no menu along the bottom, so you have to type in the correct page in the url. i.e. hitlist.php,fight.php etc…
@admin
how do you find the pf and pnum on an ipod touch. also i installed wireshark to try sniff the required data but i couldnt install it properly on my mac.
ok i managed to find my pf udid and mine shows something like this on an ipod touch:
http://im.storm8.com/points.php?version=1.73&udid=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&pf=EC78384851C2DBBA15F73DAC5B63927F&model=iPod%20touch&sv=3.1.2
by the way i dont know if my pf is correct i noticed the given example has 22 characters i have 32 in mine. and i dont have a pnum since its not a phone. so what do i do now?
Actually it does work.
You don’t need the pf, uid, & Version Cookies because they are the ones You give in the URL…
ASC & DD Are the only 2 you need to manually add.
what do u mean u by you dont need the pf and version? i thought the pf needed to be included in the url though…
nvm lol. i got everything to work on the browser and made it look like the actual game screen thanks to Lucius =) and a packet sniffer
I cant get this to work.. it tells me i need to install the app from the apple store first. anyone can help me please
@loi
how you made it work?
I need a little more in-depth help. I don’t really know how to sniff the data with wireshark. Can I get a little bit more help? When following the instructions in the article, am I suppose to find my own unique URL by sniffing?
FOR HELP WITH THIS PLEASE JOIN US @ http://www.iMobstersHax.tk a topic will be posted on how to do this shortly.
Thanks
using the greasemonkey add-on for firefox, i now have the background color set to black and have a custom script that checks the time for 59 minutes (49 for zombies), redirects to the bank page and automatically deposits my earnings!!
i have ALL the storm8 games running in firefox now with the above scripts!
take that you stinking farmers!!
hey guys, needing some help doing this – Hugo could you or anyone else who knows how to set this up email me pls ( j0n2003@hotmail.com )
cheers :>
I was wondering if anyone figured out the salt for generating the PF number.
Hey i made it work… anybody here have scripts for imobsters or world war?
@soldier7n
Still having trouble, don’t think my scripts are right. Help?
@Kennedy do you have scripts ?
what scripts are you guys wanting? mine?
@Hugo
Hugo, that would be awesome
)
Please see the update here!
@Hugo i mean scripts for the game bro
@Hugo
@Hugo
Hugo, can you give me a step by step of this? I got until when it said I had to install iMobsters… please help me. sibusiswe@aim.com
@WzK
Can you upload it another time. It got deleted by rapidshare
this is way too complicated for me. is there an easier way, or is there anyone that can explain it better to me?!?!?
its not working anymore.
It used to work for me, but it doesn’t any more. I didn’t really use it to play, but it sure made inviting people to your army FAR less painful. You could copy/paste between two open windows. It’s a nightmare trying to build an army over 50 in the app itself.
if you go to http://wwonpc.com you can still play on pc