Go Back   Gaming Gutter > Non-Gaming > Programming > Source Code


Source Code - Have a source code/project files you want to post? Do so here.

» Site Navigation
» Home
» FAQ
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Advertisement
» GG Stuff

Follow us on Twitter!

Get the GG toolbar today (for firefox only)
» Recent Threads
Go to first new post If you could be the...
Today 03:57 AM
by Charger
Last post by Charger
Today 04:18 AM
2 Replies, 3 Views
Go to first new post Post Your Picture (Read...
10-10-2006 12:34 AM
by Ryan
Last post by Fran
Today 04:12 AM
13,111 Replies, 221,433 Views
Go to first new post Does it make a guy gay...
03-22-2009 01:32 PM
Last post by Charger
Today 04:11 AM
263 Replies, 7,780 Views
Go to first new post Do Parents Have The...
11-18-2009 10:07 PM
by dsi
Last post by Charger
Today 03:49 AM
2 Replies, 19 Views
Go to first new post Gay for Pay?
09-03-2009 02:30 PM
by Gloomy
Last post by Charger
Today 03:42 AM
27 Replies, 289 Views
Reply
 
LinkBack Thread Tools Display Modes

 Complex NeoLogin [vb6]
Old 04-25-2007, 07:47 PM   #1 (permalink)
Banned

Zachafer is offline
 
Join Date: Apr 2007
Posts: 94
GPoints: 45
iTrader: 0 / 0%
Zachafer Is a New Face in Town
Rep Power: 0
Complex NeoLogin [vb6]

Code:
'============================
'MADE BY ZACHAFER
'============================
'If you use this please give
'me credits for login. Thanks
'and enjoy! This was written
'on 4/25/07. Email:
'vb6eats@yahoo.com


Private Sub cmdLogin_Click()
Dim str1 As String
Dim str2 As String
Dim str3 As String
Dim strUser As String
Dim strPet As String
Dim strNP As String
        lblStatus.Caption = "Logging to Neopets."
    str1 = wrap.GetWrapper("http://www.neopets.com/loginpage.phtml", "http://www.neopets.com")
        lblStatus.Caption = "Visiting Login Page."
            SecondsToWait 1
    str2 = wrap.PostWrapper("http://neopets.com/login.phtml", "username=" & txtUser.Text & "&password=" & txtPass.Text & "&destination=%2Fpetcentral.phtml", wrap.LastPage)
        lblStatus.Caption = "Logging In."
            SecondsToWait 1
    str3 = wrap.GetWrapper("http://neopets.com/petcentral.phtml", "http://neopets.com")
        lblStatus.Caption = "Visiting Pet Central."
            SecondsToWait 1
    If InStr(1, str3, "Pet Central", vbTextCompare) Then
    lblStatus.Caption = "Logged In As " & txtUser.Text & ""
    Frame1.Enabled = False
    Frame2.Enabled = True
    SecondsToWait 1
    str2 = wrap.GetWrapper("http://neopets.com/petcentral.phtml", wrap.LastPage)
    strUser = GB(str3, "/randomfriend.phtml?user=", ">")
    lblUser.Caption = "Logged In As: " & strUser & ""
    strPet = GB(str3, "Pet : <a class=tl href=/quickref.phtml>", "</a>", 1)
    lblPet.Caption = "Active Pet: " & strPet & ""
    strNP = GB(str3, "NP : <a class=tl href=/objects.phtml?type=inventory>", "</a>", 1)
    lblNP.Caption = "Current NP: " & strNP & ""
        lblStatus.Caption = "Grabbed Login Details."
        End If
    ElseIf InStr(1, str3, "combination is invalid. Either ", vbTextCompare) Then
        lblStatus.Caption = "Bad Password for " & txtUser.Text & ""
        Frame1.ForeColor = &HFF&
        End If
    ElseIf InStr(1, str3, "This account has been", vbTextCompare) Then
        lblStatus.Caption = "The Account " & txtUser.Text & " Has Been Frozen."
        Frame1.ForeColor = &HFF&
        Else
        Frame1.ForeColor = &HFF&
        lblStatus.Caption = "Unknown Error."
        End If
        End Sub
'==============================
'sockopen's GetBetween Function:
'==============================
Public Function GB(rC As String, rS As String, rF As String, Optional lgB As Long = 1) As String
    lgB = InStr(lgB, rC, rS) + Len(rS): GB = Mid$(rC, lgB, InStr(lgB, rC, rF) - lgB)
End Function
Cool.

Last edited by Zachafer; 04-25-2007 at 09:34 PM..
  Reply With Quote

 
Old 04-26-2007, 05:45 PM   #2 (permalink)
sockopen
Guest

 
Posts: n/a
GPoints: 0 [Check]
iTrader: / %
Rep Power:
No longer works.
  Reply With Quote

 
Old 04-26-2007, 11:31 PM   #3 (permalink)
Donor

Male Aethean is offline
 
Aethean's Avatar
 
Join Date: Nov 2006
Location: Ontario
Age: 19
Posts: 2,282
GPoints: 6,789
iTrader: 1 / 100%
Aethean Is a Party CaptainAethean Is a Party Captain
Rep Power: 15
Mind explaining why and how to fix it..?
__________________

  Reply With Quote

 
Old 04-27-2007, 05:40 PM   #4 (permalink)
Banned

Zachafer is offline
 
Join Date: Apr 2007
Posts: 94
GPoints: 45
iTrader: 0 / 0%
Zachafer Is a New Face in Town
Rep Power: 0
I know.
Stupid Neopets Changed everythin!
DANGIT
  Reply With Quote

 
Old 04-27-2007, 05:41 PM   #5 (permalink)
Full Member

Male second2none is offline
 
Join Date: Sep 2006
Location: BrisBANE <----
Age: 20
Posts: 5,496
GPoints: 1,390
iTrader: 1 / 100%
second2none Is a Lord of Awesomenesssecond2none Is a Lord of Awesomenesssecond2none Is a Lord of Awesomeness
Rep Power: 20
My neo login works fine o.0
__________________
This is from:
Screenies Of A Mod
Code:
How did you do it? FLP , jotform, some other form of hacking? - First Class Noob
Lawl.. funny shit.

Quote:
Originally Posted by Kore
By k[ore] on Today, 08:44 AM
i'll give you rep alright, but it won't be positive.
Lawl Ownt

Hoes forgot to eat a dick and shut the FUCK UP!
  Reply With Quote

 
Old 04-27-2007, 06:07 PM   #6 (permalink)
Banned

Zachafer is offline
 
Join Date: Apr 2007
Posts: 94
GPoints: 45
iTrader: 0 / 0%
Zachafer Is a New Face in Town
Rep Power: 0
Cool.
Does it show the amount of NP and active pet?

I bet not.
  Reply With Quote

 
Old 04-27-2007, 06:09 PM   #7 (permalink)
Full Member

Male second2none is offline
 
Join Date: Sep 2006
Location: BrisBANE <----
Age: 20
Posts: 5,496
GPoints: 1,390
iTrader: 1 / 100%
second2none Is a Lord of Awesomenesssecond2none Is a Lord of Awesomenesssecond2none Is a Lord of Awesomeness
Rep Power: 20
yeha.. o.0 Just had to change the GB start & finish. Wasn't hard took like 2 seconds o.0
__________________
This is from:
Screenies Of A Mod
Code:
How did you do it? FLP , jotform, some other form of hacking? - First Class Noob
Lawl.. funny shit.

Quote:
Originally Posted by Kore
By k[ore] on Today, 08:44 AM
i'll give you rep alright, but it won't be positive.
Lawl Ownt

Hoes forgot to eat a dick and shut the FUCK UP!
  Reply With Quote

 
Old 04-27-2007, 06:13 PM   #8 (permalink)
Banned

Zachafer is offline
 
Join Date: Apr 2007
Posts: 94
GPoints: 45
iTrader: 0 / 0%
Zachafer Is a New Face in Town
Rep Power: 0
What GB?
  Reply With Quote

 
Old 04-27-2007, 06:25 PM   #9 (permalink)
Full Member

Male second2none is offline
 
Join Date: Sep 2006
Location: BrisBANE <----
Age: 20
Posts: 5,496
GPoints: 1,390
iTrader: 1 / 100%
second2none Is a Lord of Awesomenesssecond2none Is a Lord of Awesomenesssecond2none Is a Lord of Awesomeness
Rep Power: 20
GetBetween o.0 Sockopens one. To get the Pet & Username.
__________________
This is from:
Screenies Of A Mod
Code:
How did you do it? FLP , jotform, some other form of hacking? - First Class Noob
Lawl.. funny shit.

Quote:
Originally Posted by Kore
By k[ore] on Today, 08:44 AM
i'll give you rep alright, but it won't be positive.
Lawl Ownt

Hoes forgot to eat a dick and shut the FUCK UP!
  Reply With Quote

 
Old 04-27-2007, 06:26 PM   #10 (permalink)
Banned

Zachafer is offline
 
Join Date: Apr 2007
Posts: 94
GPoints: 45
iTrader: 0 / 0%
Zachafer Is a New Face in Town
Rep Power: 0
post the GB code plox

edit:

Code:
Public Function GB(rC As String, rS As String, rF As String, Optional lgB As Long = 1) As String
    lgB = InStr(lgB, rC, rS) + Len(rS): GB = Mid$(rC, lgB, InStr(lgB, rC, rF) - lgB)
End Function
right?
  Reply With Quote
Reply

Bookmarks



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Powered by vBadvanced CMPS v3.1.0

All times are GMT -7. The time now is 04:23 AM.


vBulletin skin developed by: eXtremepixels
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The contents of this webpage are copyright © 2006-2008 GamingGutter.com. All Rights Reserved.

Page generated in 0.16877103 seconds (100.00% PHP - 0% MySQL) with 21 queries