Adblock breaks this site

New StealRS, Will never break :)

Discussion in 'Archives' started by Stuart, Jan 21, 2008.

Thread Status:
Not open for further replies.
  1. Stuart

    Stuart Guru
    Banned

    Joined:
    May 5, 2005
    Posts:
    1,580
    Referrals:
    2
    Sythe Gold:
    10
    New StealRS, Will never break :)

    I made this for cruels.net but thought I would post it here aswell :)

    It dynamically edits the runescape page to load up just the applet.

    Code:
        Private Sub WebBrowser1_DocumentCompleted(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
            WebBrowser1.Document.Body.InnerHtml = WebBrowser1.Document.All.Item("app").OuterHtml
            WebBrowser1.Width = WebBrowser1.Document.All.Item("app").GetAttribute("width")
            WebBrowser1.Height = WebBrowser1.Document.All.Item("app").GetAttribute("height")
        End Sub
    
        Private Sub WebBrowser1_Navigating(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserNavigatingEventArgs) Handles WebBrowser1.Navigating
            If (e.Url.ToString = "http://www.runescape.com/") Then
                e.Cancel = True
            End If
        End Sub
    
        Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
            WebBrowser1.Navigate("http://sl1.runescape.com/l1,p0,j1")
        End Sub
    
     
  2. hmm

    hmm Active Member

    Joined:
    Jan 21, 2007
    Posts:
    181
    Referrals:
    2
    Sythe Gold:
    5
    New StealRS, Will never break :)

    nice job, mind explaining how it works exactly?
    never really messed with body.inner/all.ite..
     
  3. Stuart

    Stuart Guru
    Banned

    Joined:
    May 5, 2005
    Posts:
    1,580
    Referrals:
    2
    Sythe Gold:
    10
    New StealRS, Will never break :)

    Sure thing,

    Code:
    WebBrowser1.Document.Body.InnerHtml = WebBrowser1.Document.All.Item("app").OuterHtml
    
    Basically the document.body.InnerHtml is the sourcecode for a webpage which can be edited any time without having to refresh the page which means that jagex still thinks it is being run from their website.

    WebBrowser1.Document.All.Item("app") is the java applets name on the webpage so basically all I did was get the OuterHtml of the applet which is something like this but without the document.write because this was taken from jagex's script http://jolt3.runescape.com/plugin.js?lowmem=1&plugin=0.

    Code:
     document.write('<app');
     document.write('let name=app width=765 height=503 archive=loader-1811809475.jar code=loader.class mayscript>');
     document.write('<param name=cabbase value=loader-1127804024.cab>');
     document.write('<param name=worldid value=82>');
     document.write('<param name=members value=1>');
     document.write('<param name=modewhat value=0>');
     document.write('<param name=modewhere value=0>');
     document.write('<param name=lowmem value=1>');
     document.write('<param name=lang value=0>');
     document.write('<param name=plug value=0>');
     document.write('<param name=js value=1>');
     document.write('<param name=game value=0>');
     document.write('</applet>');
    
    So basically everything between <applet> and </applet> was copied onto the loaded webpage which makes just leave the applet on the page and nothing else.

    Im not very good at explainations as you can see but hope you understand that.
     
  4. X Zero

    X Zero Forum Addict

    Joined:
    Jan 21, 2007
    Posts:
    577
    Referrals:
    0
    Sythe Gold:
    0
    New StealRS, Will never break :)

    Oh thats fucking sexy, leeches :D nah creds
     
  5. Pyrokinetic

    Pyrokinetic Guest

    Referrals:
    0
    New StealRS, Will never break :)

    Wot Du joo du wif it?

    Just joking, good job :D
     
  6. kharg0

    kharg0 Active Member

    Joined:
    Feb 25, 2007
    Posts:
    131
    Referrals:
    0
    Sythe Gold:
    0
    New StealRS, Will never break :)

    ME SA LUVY DUVY !! good job
     
  7. rattytatt50

    rattytatt50 Member

    Joined:
    Oct 26, 2007
    Posts:
    67
    Referrals:
    0
    Sythe Gold:
    0
    New StealRS, Will never break :)

    Sweet! Nice job! The old StealRS needed a module and about 150 lines of code.
     
  8. Swan

    Swan When They Cry...
    Retired Global Moderator

    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner
    New StealRS, Will never break :)

    Nowhere near 150 lines - maybe 20-30 at the absolute most.

    I'm actually fairly surprised someone didn't do this earlier. I guess people just wanted to look professional or something by using an API (lol); Not usually the best thing to do, as you can see.
     
  9. Stuart

    Stuart Guru
    Banned

    Joined:
    May 5, 2005
    Posts:
    1,580
    Referrals:
    2
    Sythe Gold:
    10
    New StealRS, Will never break :)

    Ya it works really well actually even those its so simplistic.
     
  10. kridan500

    kridan500 Active Member
    Banned

    Joined:
    Feb 11, 2007
    Posts:
    217
    Referrals:
    1
    Sythe Gold:
    0
    New StealRS, Will never break :)

    it doesent work more, and yes i have changed url.
    Some1 knows whats wrong?
     
  11. MMO KING

    MMO KING Forum Addict
    Banned

    Joined:
    Nov 19, 2008
    Posts:
    580
    Referrals:
    0
    Sythe Gold:
    0
    New StealRS, Will never break :)

    Can someone explain it to me in more depth? Is it some kind of hack or does it steal the source of the game?
     
  12. Darthatron

    Darthatron Massive Troll
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    May 22, 2006
    Posts:
    1,612
    Referrals:
    3
    Sythe Gold:
    0
    New StealRS, Will never break :)

    It sets the browser size to the size of the java applet. No hacking involved.

    EDIT: It doesn't work anymore so I'm closing this thread.
     
< [Paypal] Buying PSP 3000 (second hand brand new, I don't care) [Paypal only] | The Verts problem >
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site