• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 2 of 2
    1. #1
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      ssssssssss's Avatar
      Join Date
      May 2014
      Posts
      1
      Thanks (-->)
      0
      Thanks (<--)
      0

      VBulletin Login Module / get subscriptions

      John Kittz
      Imports System.Text
      Imports System.Net
      Imports System.Security.Cryptography
      Imports System.IO
      Module VBLogin
      Public Function Login(ByVal Username As String, ByVal Password As String)

      Password = MD5(Password)
      Dim valid As Boolean = False
      Dim data As String = "vb_login_username=" & Username & "&vb_login_password=&s=&do=login&vb_login_md5password=" & Password & "&vb_login_md5password_utf=" & Password
      Try
      Dim request As HttpWebRequest = WebRequest.Create("https://example/forum/login.php?do=login")
      request.Method = WebRequestMethods.Http.Post
      request.ContentType = "application/x-www-form-urlencoded"
      request.UserAgent = "-- vBulletin Vaidation --"
      request.CookieContainer = New CookieContainer()
      request.ContentLength = data.Length
      Dim rStream As New StreamWriter(request.GetRequestStream)
      rStream.Write(data)
      rStream.Flush()
      rStream.Close()
      Dim response As HttpWebResponse = request.GetResponse
      Dim resReader As New StreamReader(response.GetResponseStream)
      Dim str As String = resReader.ReadToEnd
      If str.Contains("Thank you for logging in") Then
      valid = True
      Else
      End If

      Using client As New WebClient
      Dim text As String = client.DownloadString("https://example.net/forum/subcheck.php")
      Dim lines As String() = text.Split(New String() {ControlChars.CrLf}, StringSplitOptions.RemoveEmptyEntries)
      main.ComboBox1.Items.AddRange(lines)
      End Using


      response.Close()
      Catch ex As Exception
      MessageBox.Show(ex.Message, "Login: Error!", MessageBoxButtons.OK, MessageBoxIcon.Error)
      End Try
      Return valid
      End Function
      Public Function MD5(ByVal number As String) As String
      Dim ASCIIenc As New ASCIIEncoding
      Dim strReturn As String = String.Empty
      Dim ByteSourceText() As Byte = ASCIIenc.GetBytes(number)
      Dim Md5Hash As New MD5CryptoServiceProvider
      Dim ByteHash() As Byte = Md5Hash.ComputeHash(ByteSourceText)
      For Each b As Byte In ByteHash
      strReturn &= b.ToString("x2")
      Next
      Return strReturn
      End Function
      End Module


      Hey guys that's the VBLogin module used to log into Vbulletin, under it I added a link to a PHP script I made that displays a users subscriptions on Vbulletin E.G.
      Cheat:1
      Cheat:2

      However to view subcheck.php you are required to be logged in or it will show a blank page. How can I make it so after VBLogin the script checks that page for the person who just logged in? So I can get their subscriptions?

    2. #2
      Coder
      Learning to hack games!
       
      Feeling Normal
       
      brinkz's Avatar
      Join Date
      Sep 2012
      Posts
      213
      Thanks (-->)
      5
      Thanks (<--)
      74
      Cheats'n'Trainers
      I don't know how vbulletin exactly handles it, but check if it creates a Session object or cookie when the User logged in
      Oh and just to let you know: your code is very unsecure, since you are checking for a static string in the result this would be cracked in no time (Checking the subscriptions is easy cracked too, if the User had access ocne).

    Similar Game Hacker Threads

    1. PHP Social Media vbulletin plugin
      By [GH]Rake in forum Misc Coding
      Replies: 2
      Last Post: 05-25-2016, 06:55 AM
    2. [Community] VBulletin Upgrade
      By [GH]Rake in forum Announcements
      Replies: 10
      Last Post: 02-18-2016, 02:33 PM
    3. How to create client login
      By RaptorEaglex in forum General Coding Discussion
      Replies: 4
      Last Post: 07-14-2014, 07:29 PM
    4. [Help] Secure server login c#
      By layne3 in forum GH Tutorials Help
      Replies: 8
      Last Post: 12-06-2012, 06:21 AM

    Tags for this Thread