Home > stuff > How to play iphone’s imobsters & co in firefox

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.

  1. Lucius
    August 5th, 2009 at 15:35 | #1

    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

  2. Lucius
    August 5th, 2009 at 15:36 | #2

    [code]

    iMobsters

    [/code]

  3. Lucius
    August 5th, 2009 at 15:37 | #3

    Crap, it doesnt seem to work to publish html-code in a comment.

  4. Lucius
    August 5th, 2009 at 16:06 | #4

    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)

  5. Doop
    August 7th, 2009 at 04:59 | #5

    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.

  6. admin
    August 17th, 2009 at 15:03 | #6

    @Doop: Did you update all parameters required? These are udid, pf and pnum!

  7. Lucius
    August 18th, 2009 at 00:49 | #7

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

  8. WzK
    August 21st, 2009 at 17:15 | #8

    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!

  9. WzK
    August 23rd, 2009 at 14:30 | #9

    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!

  10. WzK
    August 24th, 2009 at 01:23 | #10

    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.

  11. WasabiPain
    August 31st, 2009 at 05:00 | #11

    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

  12. bl
    September 6th, 2009 at 11:14 | #12

    anyone knows how to get pf from udid?

  13. CD
    September 10th, 2009 at 18:48 | #13

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

  14. September 23rd, 2009 at 19:03 | #14

    Great article!
    Could anyone post links for the bottom menu please???

  15. Lucius
    September 24th, 2009 at 01:34 | #15

    You have it in my post above here.

  16. September 24th, 2009 at 15:04 | #16

    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?

  17. Justin
    September 29th, 2009 at 14:48 | #17

    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.

  18. October 6th, 2009 at 22:13 | #18

    Does anybody know how to post links in the comments. Posting links to other players would be GREAT!

  19. Soldier7n
    October 10th, 2009 at 21:28 | #19

    How can i get the UDID of my world war account?

  20. foor
    October 11th, 2009 at 07:33 | #20

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

    Thanks! Any update on this?

  21. matt
    October 13th, 2009 at 21:54 | #21

    i dont understand what this package-dump is… im already stuck =( any help?

  22. October 14th, 2009 at 03:18 | #22

    Can anyone post how to find my code on a mac?

  23. October 14th, 2009 at 18:18 | #23

    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…

  24. loi
    October 15th, 2009 at 09:45 | #24

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

  25. loi
    October 17th, 2009 at 02:36 | #25

    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?

  26. October 20th, 2009 at 02:19 | #26

    Hugo :
    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…

    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.

  27. loi
    October 20th, 2009 at 13:12 | #27

    REBMAN :

    Hugo :
    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…

    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…

  28. loi
    October 20th, 2009 at 15:40 | #28

    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

  29. soldier7n
    October 21st, 2009 at 02:03 | #29

    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

  30. soldier7n
    October 21st, 2009 at 02:03 | #30

    @loi
    how you made it work?

  31. Doug
    October 21st, 2009 at 02:39 | #31

    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?

  32. October 25th, 2009 at 21:07 | #32

    FOR HELP WITH THIS PLEASE JOIN US @ http://www.iMobstersHax.tk a topic will be posted on how to do this shortly.

    Thanks

  33. Hugo
    November 6th, 2009 at 20:36 | #33

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

  34. arny
    November 8th, 2009 at 19:08 | #34

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

  35. Doug
    November 12th, 2009 at 04:10 | #35

    I was wondering if anyone figured out the salt for generating the PF number.

  36. soldier7n
    November 13th, 2009 at 03:26 | #36

    Hey i made it work… anybody here have scripts for imobsters or world war?

  37. Kennedy
    November 14th, 2009 at 05:25 | #37

    @soldier7n
    Still having trouble, don’t think my scripts are right. Help?

  38. soldier7n
    November 14th, 2009 at 21:16 | #38

    @Kennedy do you have scripts ?

  39. Hugo
    November 15th, 2009 at 06:56 | #39

    what scripts are you guys wanting? mine?

  40. cem
    November 18th, 2009 at 08:23 | #40

    @Hugo

    Hugo, that would be awesome :o )

  41. November 18th, 2009 at 18:53 | #41

    Please see the update here!

  42. soldier7n
    November 19th, 2009 at 06:45 | #42

    @Hugo i mean scripts for the game bro

  43. James
    December 24th, 2009 at 02:39 | #43

    @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

  44. Defender
    December 25th, 2009 at 06:57 | #44

    @WzK
    Can you upload it another time. It got deleted by rapidshare :(

  45. SnooP GOW
    January 23rd, 2010 at 05:46 | #45

    this is way too complicated for me. is there an easier way, or is there anyone that can explain it better to me?!?!?

  46. soldier7n
    January 26th, 2010 at 21:07 | #46

    its not working anymore.

  47. bob
    February 3rd, 2010 at 06:02 | #47

    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.

  48. February 6th, 2010 at 01:03 | #48

    if you go to http://wwonpc.com you can still play on pc

  1. November 18th, 2009 at 18:49 | #1