Imperial Conflict external
Official IC external Forum
 

 

W0000t – Warning this post was made firstly a long time ago and also when I was angry, I have only kept it for archiving purposes.

 

 

Post new topic   Reply to topic

   Imperial Conflict external Forum Index -> Killer Hobbits Playground

 

View previous topic :: View next topic  

Author

Message

Killer_hobbits



Joined: 08 Apr 2005
Posts: 5

PostPosted: Fri Apr 08, 2005 9:43 pm    Post subject: W0000t

Reply with quoteEdit/Delete this post


 

so it seems ive got a forum, firstly I have no idea why I have a forum, except for me suggesting a bug about posting in ic from here, bleh that was confusing, so now I have a forum and have little to no ideas what to do with it, maybe I can get Wendy to set up a group to let a few tutors post in here as well (as long as I can mod this forum ofc)

hmm on the bright side, it seems bbcode is built to ignore pictures that aren’t pictures, and that bug for now is limited to exploits from fmods and mods on ic and ic family leaders (who for the most part wont risk it)

maybe I can use this as a blog of ic exploits or something....
_________________

Back to top

View user's profileSend private messageMSN Messenger

Killer_hobbits



Joined: 08 Apr 2005
Posts: 5

PostPosted: Fri Apr 08, 2005 9:58 pm    Post subject:

Reply with quoteEdit/Delete this post


 

hmm a pre test on the bugs thing, which tipped me off to the fam pic bug, was the fact you can use php pages as fam pics, which I used to my advantage for a day or two by making it show a different random picture each time you loaded the page, but smartys tipped me off on what I could do by changing that picture page so it didn’t just load the picture bit did something secret in the background as well, hmm after a while of chatting about this smartys mentioned something about talking to Stefan and him being able to block it by recording refer's which would flag up my site.

Later on I decided instead of researching into if I could do evil by hiding stuff in a fam picture which smartys said was soon to be blocked, but just to try sticking in a url and seeing if it loaded, my first idea was to make it pm a mod whoever loaded the page, then to disband the whole fleet, but I thought that was evil, so I decided to set up a harmless test that wouldn’t be too bad, so I decided to make a forum post url, I stuck it up, refreshed the fam page and sure enough I posted in the general forum. I quickly hopped along to the bugs forum and pointed out I had found a bug in the fam pic e.g. fam 1650 and then hopped into #mod to see what mods I could report it too. 

Hmm as time progressed, I found quite a few people testing out the bug and posting in the forum, sure enough most of them were checking out the bug mentioned in the bug’s forum. 

In the end I was blocked for the whole thing :/
_________________

Back to top

View user's profileSend private messageMSN Messenger

Killer_hobbits



Joined: 08 Apr 2005
Posts: 5

PostPosted: Fri Apr 08, 2005 10:03 pm    Post subject:

Reply with quoteEdit/Delete this post


 

mIRC, hmm the people that know me from ic, know im good at mIRC, coding and for the most part I find it easy, I a little while ago found out that syek had been sticking quotes on his website and decided I wanted them for my mIRC bot, as chance has it they are shown as random, and therefore I couldn’t just steal the file. 

what I did was set up mIRC to load his website once a second and to steal the quote, then check if it was the same as one I had, and then if it wasn’t save it in a text file.  This worked and I worked great it meant after a while I had 99% of his quotes in a text file and I added them to my bot.

the next step was ic, what could I do loading from ic.  The first idea was maybe returning the top 10 topics of a forum.  this script I made as well pretty quickly and simply it just went to the forum page and took the top 10 topics and showed them in the chan, ofc this spammed my bot and I quickly removed it but I decided to leave in one

Code:


on *:text:!forumtime:#: {
  set %ictimechan $chan
  sockopen ictime imperialconflict.com 80
}
on *:sockopen:ictime:{
  sockwrite -n $sockname GET /board.php?board=1 HTTP/1.1
  sockwrite -n $sockname Host: imperialconflict.com $+ $crlf $+ $crlf
}
on *:sockread:ictime:{
  if ($sockerr) {
    echo -a Error.
    halt
  }
  else {
    var %temptext
    sockread %temptext
    if (<font size=1 face=Arial>*</font> iswm %temptext) {
      msg %ictimechan ic's local time is: $htmlfree(%temptext)
      sockclose ictime
    }
    elseif (*<font size=1 face=Arial>*</font>* iswm %temptext) {
      msg %ictimechan ic's local time is: $remove($htmlfree(%temptext),Imperial Conflict Forums)
      sockclose ictime
    }
  }
}



this code when put into mIRC simply goes to the forum and returns the time at the top
_________________

Back to top

View user's profileSend private messageMSN Messenger

Killer_hobbits



Joined: 08 Apr 2005
Posts: 5

PostPosted: Fri Apr 08, 2005 10:10 pm    Post subject:

Reply with quoteEdit/Delete this post


 

since I was able to access ic quickly and easily I decided to see what I could do in the way of expanding it, and within about half an hour on the net found I could make mIRC store and load (or fake) cookies which meant I could then log in and do anything with my ingame account.  the next step was what I thought id find hard, what had replaced the apeness test, the ic account choose menu thingy, the thing that had stopped scripts in the past, but this I found to be easy I could easily get mIRC to return the link the same way as the time.

Code:


alias iclogin {
  if ($2-) {
    set %user $1
    set %pass $2
    ; Variables to be used in the future URL are being set here!
    sockopen iclogin imperialconflict.com 80
  }
  else {
    echo -a You didn't specify a user and the info.
  }
}

on *:sockopen:iclogin:{
  sockwrite -n $sockname GET /account.php?username= $+ %user $+ &pass= $+ %pass HTTP/1.1
  unset %user
  unset %pass
  sockwrite -n $sockname Host: imperialconflict.com $+ $crlf $+ $crlf
}
on *:sockread:iclogin:{
  if ($sockerr) {
    echo -a Error.
  }
  else {
    var %temptext
    sockread %temptext
    if (Set-Cookie: PHPSESSID=ic*; path=/ iswm %temptext) {
      set %iclogincookie1 $left($gettok($htmlfree(%temptext),2,32),-1)
      iclogin2
    }
  }
}

alias iclogin2 {
  sockclose iclogin
  sockclose iclogin2
  sockopen iclogin2 imperialconflict.com 80
}

on *:sockopen:iclogin2:{
  sockwrite -n $sockname GET /account.php HTTP/1.1
  sockwrite -n $sockname Host: imperialconflict.com
  sockwrite -n $sockname Connection: Keep-Alive
  sockwrite -n $sockname Cookie: %iclogincookie1
  sockwrite -n $sockname
}

on *:sockread:iclogin2:{
  if ($sockerr) {
    echo -a Error.
  }
  else {
    var %temptext
    sockread %temptext
    if (*"login.php?id=*">Play as* iswm %temptext) {
      set %login2url / $+ $gettok(%temptext,2,34)
      echo the new url is %login2url
      unset %loginpass
      iclogin3
      halt
    }
    if (<a href="login.php?id= isin %temptext) {
      set %loginpass 0
    }
    if (%loginpass != $null) {
      inc %loginpass
      if (%loginpass = 3) {
        set %login2url /login.php?id= $+ %temptext
        echo the new url is %login2url
        unset %loginpass
        iclogin3
        halt
      }
    }
  }
}



and that would be all the code needed to then log into ic, that script gets all the info needed to do anything in ic, from bidding on the market to building on planets and building units

I around this time quit ic and didn’t work on this script again, being a tutor I didn’t have need to start working on this script again, though I have been tempted on many occasions to share this script and start a whole new realm of ic player bots or even release a full ai player bot, which ofc I could then update and keep ahead of any blockers, as in mIRC you can fake EVERYTHING, from refer's to client ids etc
_________________

Back to top

View user's profileSend private messageMSN Messenger

Killer_hobbits



Joined: 08 Apr 2005
Posts: 5

PostPosted: Fri Apr 08, 2005 10:19 pm    Post subject:

Reply with quoteEdit/Delete this postDelete this post


 

I haven’t played ic by my main account in ages, and I haven’t even ran the script pasted

I had promised myself I wasn’t going to do anything to put in jeopardy my tutorship and decided not to work on the scripts further. 

I am no longer tutor, but I think im still going to keep the scripts under raps and even decided to post them here, where if Wendy sees fit she can give access to mods to read and maybe stay ahead of the game, or give Stefan some hints on how to make ic3 a little better.  I am forever training up people on mIRC scripting, and besides pie that works in a different field there are now 4 mIRC scripter’s capable of doing exactly what I have pasted above in the code, and that was wrote over a year ago.  I have also shared my syek quote script, which shares the same sort of coding as that script above which the scripter’s would be easily able to build upon.  I like to think of my self more grown up now from when I wrote that script, and I no longer see any pleasure in making cheats, specially of a game I haven’t played in over a year, but I would still like to see the continued improvement of ic
_________________

Back to top

View user's profileSend private messageMSN Messenger

Screenshots from the family picture bug

 

 

 

 

Post new topic   Reply to topic

   Imperial Conflict external Forum Index -> Killer Hobbits Playground

All times are GMT

Page 1 of 1

 

Watch this topic for replies
 

Jump to:  

You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



Powered by phpBB 2.0.13 © 2001, 2002 phpBB Group