Home > stuff > Update: iphone’s iMobsters & co in Browser

Update: iphone’s iMobsters & co in Browser

November 18th, 2009 Leave a comment Go to comments

After a while if have found some time to write an update on this article.

Storm8 must have changed some things, because the original way in the first article does not work anymore.

I found another way, which follows the same principle.

You still have to grab the http-requests from the iPhone with wireshark or ngrep.
You will receive something like this:

http://im.storm8.com/index.php?version=1.72&udid=234575309t7n5nvzg7zv5gnv34g&pf=485utnv37ghg73vhgm7vm6834h5g78345hg&model=iPhone&sv=3.1.2

You don’t have to write down or copy any of the parameters shown in this url, you just have to call it in a browser.

The url will change, after the game-page has been loaded. You will now see something like:

http://im.storm8.com/home.php?appEntry=true&promote=&bonusCash=0&formNonce=358t3897ggn3hg75h3g50v350v&h=3485ugv309jh7v0gm70jh6gm03#&setTab0Badge=&changeApplicationBadge=0&setTab4Badge=

Now the cookie has been set to your browser, and you can call the game simply by attaching the h-Parameter to the basic game-url:

http://im.storm8.com/home.php?h=3485ugv309jh7v0gm70jh6gm03#

Thats all.

I wrote a little php-script, which takes the h-parameter in line 3 and also puts the main-navigation on the top of the window. Due to copyright-restrictions I will not give away the image-files included in the source-code. Search google for screenshots and get create your own navigation. :-)

Here comes the code:

<?php
 
	$h = "3485ugv309jh7v0gm70jh6gm03#";	
 
	if($_GET['nav'] == "")
	{
		$_GET['nav'] = "home";
	}
 
	$url  	 = 'http://im.storm8.com/'.$_GET['nav'].'.php?h='.$h;
	echo $url;
?>
<html>
	<body bgcolor="#000000">
		<table border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td><a href="imob.php?nav=home"><img src="imob_01.jpg" border="none"></a></td>
				<td><a href="imob.php?nav=missions"><img src="imob_02.jpg" border="none"></td>
				<td><a href="imob.php?nav=attack"><img src="imob_03.jpg" border="none"></td>
				<td><a href="imob.php?nav=equipment"><img src="imob_04.jpg" border="none"></td>
				<td><a href="imob.php?nav=recruit"><img src="imob_05.jpg" border="none"></td>
			</tr>
		</table>
		<iframe frameborder="0" width="340px" height="600px" src="<?php echo $url; ?>"></iframe>
	</body>
</html>

imobscreen
The result of this script looks like this in the chrome-browser. Please be aware, that it will only work as long as the cookie you set with the first url is valid.

Have fun.

P.S. I just noticed that all functions with popups (as selling equipment or item-information) will not work in the browser.

  1. soldier7n
    November 19th, 2009 at 06:47 | #1

    hey you have other scripts?

  2. zzeedddd
    November 19th, 2009 at 11:10 | #2

    Hi, when entering the first URL, I only get a blank page, and the page has finished loading. Also the URL remains the same which I have entered. I also set the user agent. Any ideas? Thanks!

  3. zzeedddd
    November 19th, 2009 at 11:11 | #3

    sure I changed the udid and pf in the link to mine.

  4. November 19th, 2009 at 11:15 | #4

    @zzeedddd I don’t know if it came clear that you still have to get the parameter-values from the package-trace and put them in the first url.

    @soldier7n What kind of scripts?

  5. November 19th, 2009 at 11:18 | #5

    This is weird, but I will check it again in a few hours and see if I forgot to mention any step. Plz stand by.

  6. November 19th, 2009 at 17:35 | #6

    @zzeedddd : It works for me in firefox 3.5.5 (windooze) using this plugin to switch the useragent: https://addons.mozilla.org/en-US/firefox/addon/59

    What completly confuses me is that it worked yesterday without switching the useragent at all. Maybe they changed something again…

    Hello Storm8.. are you reading this blog? :D

  7. soldier7n
    November 20th, 2009 at 02:21 | #7

    @ralf any scripts

  8. blackfox
    December 2nd, 2009 at 23:05 | #8

    hey! could you please tell me how to get the http-requests at all? I installed ngrep to my iPod and I got MobileTerminal, too. Now what do I have to do?

  9. December 3rd, 2009 at 15:12 | #9

    @blackfox
    It will only work, if you can put ngrep to the background while starting iMobsters.
    If you are not able to run the terminal in background, it makes no sense to use ngrep on your ipod.

    The ngrep-command would look like this:
    ngrep "storm8.com" port 80 -q -W byline

    (I don’t know if the syntax is similar to standard-ngrep for linux, so it may differ a bit)

  10. Joey
    December 6th, 2009 at 15:07 | #10

    Im totally confused….Im a noob when it comes to this stuf but i really want to learn and get it done….I downloaded wireshark and proxy server and installed both…I have my phone connected via usb cable to my pc. My Pc is conncted via a wireless n router in the basement…….dont know if that matters…..but I dont know what to do next….Im not even sure if I have this all setup properly…can u please help!!!

  11. Leif
    December 23rd, 2009 at 07:03 | #11

    @blackfox
    Install the program “Backgrounder” through Cydia, and you can collect the necessary info through ngrep – worked for me with Chrome and switching the user agent.

  12. Aig
    December 24th, 2009 at 05:08 | #12

    Leif :
    @blackfox
    Install the program “Backgrounder” through Cydia, and you can collect the necessary info through ngrep – worked for me with Chrome and switching the user agent.

    What’s the ngrep command?

  13. Aig
    December 24th, 2009 at 08:09 | #13

    can someone confirm if this method still works?
    I got the ngrep command to work, however, when I enter the URL in my browser the page stays blank and the URL doesn’t change.

  14. Aig
    December 24th, 2009 at 09:20 | #14

    nevermind all my posts, I finally got it working :)

  15. Joseph
    January 10th, 2010 at 23:13 | #15

    @Aig
    what did you do – im getting your same problem

  16. joel
    January 22nd, 2010 at 03:08 | #16

    dude i’ve tried looking for that http packet thing, and the address and it wont show up in wireshark

  17. soldier7n
    January 26th, 2010 at 21:09 | #17

    its not working anymore.

  18. wei
    February 2nd, 2010 at 13:06 | #18

    Does this work on the IPod Touch ?

  19. bob
    February 3rd, 2010 at 06:03 | #19

    it used to work as of a couple or three weeks ago. Doesn’t any more. I only used it to do army invites because those are such a PITA in the app.

  20. Hugo
    February 14th, 2010 at 09:26 | #20

    got it working again.

    you will need greasemonkey for the following code. you will need to learn how to use greasemonkey as i wont teach you.

    //back ground color
    document.body.style.background=’#000000′;

    //show the main content div.
    document.getElementsByTagName(“div”).item(0).style.display=”block”;

    //reset the media property in the link tags.
    //this will allow the stylesheet to display the page correctly.
    document.getElementsByTagName(“link”).item(0).media=”"
    document.getElementsByTagName(“link”).item(1).media=”"
    document.getElementsByTagName(“link”).item(2).media=”"

  21. Hugo
    February 18th, 2010 at 14:28 | #21

    they changed it once more.

    here we go again.
    make sure to fix the quotes as this page will reformat them.

    function passValidation(nname){

    if (nname==”SCRIPT” || nname==”META” || nname==”LINK” || nname==”TITLE” || nname==”TD”)
    {
    return(false);
    }
    return(true);

    }

    function fixDom(){
    //tried to break down what there code is doing with out looking like i copied it! :)
    var objDom=document.getElementsByTagName(‘*’)
    for (var i=0;i<objDom.length-1;i++){
    var domNode=objDom.item(i)
    var dname=domNode.nodeName.toUpperCase();
    if (domNode.style){
    if (passValidation(dname))
    {
    domNode.style.display="";
    }
    }

    }
    }

    function fixit(){

    fixDom();
    document.body.style.background='#000000';
    document.body.style.display="block;"
    document.getElementsByTagName("div").item(0).style.display="none";
    document.getElementsByTagName("link").item(0).media=""
    document.getElementsByTagName("link").item(1).media=""
    document.getElementsByTagName("link").item(2).media=""
    }

    setTimeout (fixit,500)

  22. Hugo
    February 22nd, 2010 at 05:09 | #22

    WOOOOOOOOOOOOW this is what i saw on one of the games i have been testing!!!!

    in red letters!!!

    Notice from Storm8:
    We have detected suspicious activities in your account. Any player using third-party tools to play our games will be suspended permanently.

  23. March 19th, 2010 at 20:06 | #23

    you can play at http://imobsters.s8onpc.com/ too
    ive been playing since December and still no red letters

  24. holly
    March 19th, 2010 at 23:18 | #24

    i too use http://s8onpc.com

  25. Mattnet
    August 10th, 2010 at 22:21 | #25

    @Hugo
    ANy updates on this? Does it still work?

  26. jaxy
    September 5th, 2010 at 04:21 | #26

    update: It still works.

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