Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Quote Originally Posted by Rakuuza View Post
    Really probably is easier using a web scraping method!!
    Lol, easier than simply adding a new user to the database and restricting their access?

    Anyways, login via Web Requests for MPGH is pretty straightforward. Examine what MPGH sends to the server by checking the data sent by the post request when you login and see how you should replicate it. Protip: Open up the pagesource of the page before you actually press the login button, half the values are are in hidden fields.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  2. #17
    tlokzz's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    Riverdale, CA
    Posts
    26
    Reputation
    10
    Thanks
    7
    My Mood
    Inspired
    As Jason said. There is no reason to hook into anything deeper then HTTP requests. That would expose a security that no site would allow. Plus it needs some sort of an API. Purchase VB and search through its source.

    Here is a working example for MPGH.

    -- This is only the source. I don't want to disrespect forum rules and post straight executable. I use VS 2011 Beta.

    I developed Forums.exe which is a form you can type in your credentials and it will send the request, save the cookie, and add it to the WebClients objects header. To show that you are logged in it will also show another form with just a richtextbox that has MPGH - MultiPlayer Game Hacking - Hacks, Cheats, Trainers, Downloads, Combat Arms Hacks, CrossFire Hacks, Call of Duty Hacks, Battlefield Hacks, Blacklight Retribution Hacks, Vindictus Hacks, Battlefield 3 Hacks, Project Blackout Hacks, WarRock Hacks source. Read through the source and you'll find out if your successfully logged in. Took less then 30 mins to create. Enjoy.

    Credits: [C#] vBulletin Login function - Classes and Code Snippets - CODECALL Programming Forum -- Initial function (don't use it has a bug in it and won't work, mine is same function but fixed, so still cred required)

    https://www.virustotal.com/file/73b6...is/1336635096/
    https://virusscan.jotti.org/en-gb/sca...2aadba7728e926
    <b>Downloadable Files</b> Downloadable Files
    Last edited by master131; 05-10-2012 at 02:34 AM. Reason: Form not Forum :P

  3. The Following 6 Users Say Thank You to tlokzz For This Useful Post:

    envyofficial (04-24-2016),[MPGH]Flengo (06-23-2013),[MPGH]master131 (05-10-2012),Monstercaat (10-08-2016),NIgga* (05-01-2015),Rakuuza (05-08-2012)

  4. #18
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,669
    My Mood
    Breezy
    /file approved

    Note that I didn't thank on purpose, it was from the attachment download.
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  5. #19
    tlokzz's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    Riverdale, CA
    Posts
    26
    Reputation
    10
    Thanks
    7
    My Mood
    Inspired
    It's ok... I won't tell

  6. #20
    ||Excision||'s Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    19
    Reputation
    16
    Thanks
    0
    My Mood
    Aggressive
    Well you can use this since its a vbulletin forum.
    Its in Vb.net but theres loads of converters
    This is for module code

    Code:
    Imports System.Security.Cryptography
    Imports System.Text
    Imports System.Net
    Imports System. I O
    Module Module1
        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://yoururlhere/login.php?do=login")
                request.Method = WebRequestMethods.Http.Post
                reques*****ntentType = "application/x-www-form-urlencoded"
                request.UserAgent = "-- vBulletin Vaidation  --"
    
    
    
                reques*****ntentLength = 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
                    valid = False
                End If
    
    
                response.Close()
    
            Catch ex As Exception
                MessageBox.Show(ex.Message, "Error: MPGH.net -  Login!", 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
    and to use it youd use this with a button, a combo box as the username field, and a textbox as the password field:
    Code:
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            If Login(ComboBox1.Text, TextBox2.Text) Then
                MsgBox("Successfully Logged In! WELCOME!")
                Me.Hide()
                Form2.Show()
            Else
                MsgBox("Incorrect Username/Password")
            End If
        End Sub
    Obviously remove the spaces in Imports System. I O
    If you need any help let me know
    Last edited by ||Excision||; 06-02-2012 at 12:29 PM.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. MPGH Login Script(Help)
    By ShadowPwnz in forum Visual Basic Programming
    Replies: 7
    Last Post: 02-21-2010, 08:16 AM
  2. [Announcement] (To all In My Opinion.) Please Help MPGH Minions!
    By shnarg in forum Combat Arms Discussions
    Replies: 32
    Last Post: 09-18-2009, 05:13 AM
  3. [Help]MPGH Public Hack
    By Saga778 in forum CrossFire Hacks & Cheats
    Replies: 15
    Last Post: 06-30-2009, 03:42 PM
  4. Help MPGH Pub Hack Error
    By ALLCAPONE in forum Combat Arms Hacks & Cheats
    Replies: 7
    Last Post: 01-03-2009, 11:47 AM
  5. [Help] MPGH PU
    By ihm3d43 in forum Combat Arms Hacks & Cheats
    Replies: 13
    Last Post: 10-16-2008, 04:16 PM