[Developers only] Runegear.net Login [VB.Net 2010]

DarkCore

Member
Reputation
0
Runegear.net login
DEVELOPERS ONLY​

The last 2 days I have spent playing video games and coding a Runegear.net login. The reason why this is for developers only for the time being is because I don't own the site and has you can see at this time, I'm not a developer (Hopefully soon to be changed)

What dose it do?
This is coded in VB.Net and it forces people to have a Runegear.net account before using a program. Programmers are going to take the source code and put it in there programs that they made more Runegear. I'm unaware of the programmers out there but hopefully they will use this. when they spread it around people are going to be forced to make a Runegear account.

This is the proper way of doing a login, saves cookies and uses HTTPWebrequests

Latest version: 1.00

I will ask if I can release it to the public and the file is 100% clean.
https://www.virustotal.com/file-sca...dfa021f7a2dd330175a37719cf37347cd-1299519402#

Pictures:



Download link:
http://www.mediafire.com/?rbuvs7ifbd9hsiz
 
Pictures are down, I'm a vb coder and I'm not to sure what you want to do?
 
The pictures don't work.

Please tell me you don't have a webbrowser hidden and the program uses that.
 
Oh I get it, you've made a program and before use, you'll need to sign up or have an account on runegear, smart, can I see the source code?
 
DarkCore said:
no it uses http web requests

Do you mind if you can send it to me? I haven't really attempted to learn web requests and I would like to see what is like in action.
 
fafaffy said:
This looks good, did you make it save and read cookies?

Yeah, I'm also going to make update it soon so that we can change any option in the users CP so I saved the cookies for later XD, and if you want to use them there ready to use
 
Looks pretty good.
Can I get this? I am currently working on a program for RuneGear.
I am also thinking about making a Botting program but it will be in Java.
 
Wow nice work. I do have knowledge in bit of Java
 
As a matter of fact, I will just code it myself.
Since your already offline, lol.
Thanks though, DarkCore. =P
 
Why make something like this private when it's so easy to code?

Code:
    Public Cookies As New System.Net.CookieContainer
    Public Function PostData(ByRef URL As String, ByRef POST As String, Optional ByVal Referer As String = "") As String
        Dim request As Net.HttpWebRequest
        Dim response As Net.HttpWebResponse
        request = CType(Net.WebRequest.Create(URL), Net.HttpWebRequest)
        request.CookieContainer = Cookies
        request.ContentType = "application/x-www-form-urlencoded"
        request.ContentLength = POST.Length
        request.Referer = Referer
        request.Method = "POST"
        request.AllowAutoRedirect = True
        Dim requestStream As IO.Stream = request.GetRequestStream()
        Dim postBytes As Byte() = System.Text.Encoding.ASCII.GetBytes(POST)
        requestStream.Write(postBytes, 0, postBytes.Length)
        requestStream.Close()
        response = CType(request.GetResponse(), Net.HttpWebResponse)
        Dim RT As String = New IO.StreamReader(response.GetResponseStream()).ReadToEnd()
        Return RT
    End Function

    Public Function RGLogin(ByRef User As String, ByRef Pass As String)
        On Error GoTo 1
        Dim RS As String = PostData("http://runegear.net/member.php", "action=do_login&url=http%3A%2F%2Frunegear.net%2Findex.php&quick_login=1&quick_username=" & User & "&quick_password=" & Pass & "&submit=Login&quick_remember=yes")
        Return If(RS.Contains("Log Out"), True, False)
1:      Return False
    End Function
 
1. Never said it was hard to code and that I was working on this for months.
2. The reason it's private is because this is not my website. I don't know if the Elite wants allot of accounts created just to use the program. Ill give it to you if you want to see how I did it (which is allot simpler than that. Where only longing into one website we don't need a function and 'Contains("Log Out")' dos't work when I was testing, you have to use 'Contains("User CP")' to check if the user is logged in.

Thank you for your code the only reason why I put it up was so you didn't have to do it. It's a pain in the ass if you don't C&P.
Btw: not everyone has a good connection if you release something like this with web requests add 'request.KeepAlive = True'
Http requests are faster but it's better to add it just in case.
 
DarkCore said:
1. Never said it was hard to code and that I was working on this for months.
2. The reason it's private is because this is not my website. I don't know if the Elite wants allot of accounts created just to use the program. Ill give it to you if you want to see how I did it (which is allot simpler than that. Where only longing into one website we don't need a function and 'Contains("Log Out")' dos't work when I was testing, you have to use 'Contains("User CP")' to check if the user is logged in.

Thank you for your code the only reason why I put it up was so you didn't have to do it. It's a pain in the ass if you don't C&P.
Btw: not everyone has a good connection if you release something like this with web requests add 'request.KeepAlive = True'
Http requests are faster but it's better to add it just in case.

Small and unimportant stuff wasn't really what I was looking to post (in regards to your KeepAlive statement, although I don't understand why you wouldn't just set a long timeout time). Log Out works fine for me. I gave a function because it was an example, not because it's needed, obviously. To address your numbered arguments:

1. I never said you said it was hard to code (or that you were working on it for months, for that matter). I just said it was easy to code.
2. The code can obviously be shortened and simplified, I copied and pasted the PostData script from an older program I made, apologies for being too lazy to remove the unneeded parts (although they should help the server response). I'm pretty sure that any forum admin wants users to sign up even if they don't post because it simply looks good. I can't speak for the admin, however, but if you're honestly worried about that, then add a required post count to the program as well (which wouldn't be hard to code at all). Generally when you can get people to sign up, they'll post at least once, though.

Anyway, didn't mean to start some debate. I'm sure your code is fine, I just didn't see any honest reason to keep it private. Good contribution and good idea for the community to prevent people from distributing RG programs beyond RG without them being RG members.
 
Post the source, we don't generally allow third party applications, as they can be infected.

I'm not saying that you would infect something, but just in case.
 
Back
Top