New StealRS, Will never break :)

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

Thread Status:
Not open for further replies.
New StealRS, Will never break :)
  1. Unread #1 - Jan 21, 2008 at 10:02 AM
  2. Stuart
    Joined:
    May 5, 2005
    Posts:
    1,580
    Referrals:
    2
    Sythe Gold:
    10

    Stuart Guru
    Banned

    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
    
     
  3. Unread #2 - Jan 21, 2008 at 6:27 PM
  4. hmm
    Joined:
    Jan 21, 2007
    Posts:
    181
    Referrals:
    2
    Sythe Gold:
    5

    hmm Active Member

    New StealRS, Will never break :)

    nice job, mind explaining how it works exactly?
    never really messed with body.inner/all.ite..
     
  5. Unread #3 - Jan 22, 2008 at 2:03 AM
  6. Stuart
    Joined:
    May 5, 2005
    Posts:
    1,580
    Referrals:
    2
    Sythe Gold:
    10

    Stuart Guru
    Banned

    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.
     
  7. Unread #4 - Jan 22, 2008 at 5:11 AM
  8. X Zero
    Joined:
    Jan 21, 2007
    Posts:
    577
    Referrals:
    0
    Sythe Gold:
    0

    X Zero Forum Addict

    New StealRS, Will never break :)

    Oh thats fucking sexy, leeches :D nah creds
     
  9. Unread #5 - Jan 22, 2008 at 5:30 AM
  10. Pyrokinetic
    Referrals:
    0

    Pyrokinetic Guest

    New StealRS, Will never break :)

    Wot Du joo du wif it?

    Just joking, good job :D
     
  11. Unread #6 - Feb 5, 2008 at 5:37 PM
  12. kharg0
    Joined:
    Feb 25, 2007
    Posts:
    131
    Referrals:
    0
    Sythe Gold:
    0

    kharg0 Active Member

    New StealRS, Will never break :)

    ME SA LUVY DUVY !! good job
     
  13. Unread #7 - Mar 4, 2008 at 1:21 PM
  14. rattytatt50
    Joined:
    Oct 26, 2007
    Posts:
    67
    Referrals:
    0
    Sythe Gold:
    0

    rattytatt50 Member

    New StealRS, Will never break :)

    Sweet! Nice job! The old StealRS needed a module and about 150 lines of code.
     
  15. Unread #8 - Mar 5, 2008 at 1:22 AM
  16. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    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.
     
  17. Unread #9 - Mar 5, 2008 at 3:52 AM
  18. Stuart
    Joined:
    May 5, 2005
    Posts:
    1,580
    Referrals:
    2
    Sythe Gold:
    10

    Stuart Guru
    Banned

    New StealRS, Will never break :)

    Ya it works really well actually even those its so simplistic.
     
  19. Unread #10 - Jun 20, 2009 at 8:15 AM
  20. kridan500
    Joined:
    Feb 11, 2007
    Posts:
    217
    Referrals:
    1
    Sythe Gold:
    0

    kridan500 Active Member
    Banned

    New StealRS, Will never break :)

    it doesent work more, and yes i have changed url.
    Some1 knows whats wrong?
     
  21. Unread #11 - Jun 22, 2009 at 3:03 AM
  22. MMO KING
    Joined:
    Nov 19, 2008
    Posts:
    580
    Referrals:
    0
    Sythe Gold:
    0

    MMO KING Forum Addict
    Banned

    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?
     
  23. Unread #12 - Jun 22, 2009 at 4:24 AM
  24. Darthatron
    Joined:
    May 22, 2006
    Posts:
    1,612
    Referrals:
    3
    Sythe Gold:
    0

    Darthatron Massive Troll
    Retired Sectional Moderator Visual Basic Programmers

    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 >

Users viewing this thread
1 guest
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site