» Site Navigation | | | » Advertisement | | | » Recent Threads | | | | | | | Left 4 Dead? Today 04:59 AM  Last post by Bex Today 05:03 AM 1 Replies, 2 Views | | | |  | |  | Neomail Spammer Source |  |
12-19-2006, 08:27 PM
|
#1 (permalink)
| Æthean
Join Date: Nov 2006 Location: Ontario Age: 18 Posts: 1,294
GPoints: 580 Rep Power: 9 | Neomail Spammer Source This was made around March (so its most likely outdated) Its not indented... have fun
Oooooooh and it was my first neopets program :P so no laughing :( Code: Option Explicit
Dim dpage As String
Dim lngsend As Long
Dim Rannum As Long
Public Function GetBetween(ByRef TextToParse As String, StartDelimiter As String, EndDelimiter As String) As String
Dim lngStart As Long, lngend As Long
lngStart = InStr(1, TextToParse, StartDelimiter)
If lngStart Then
lngStart = lngStart + Len(StartDelimiter)
lngend = InStr(lngStart, TextToParse, EndDelimiter)
If lngend Then
GetBetween = Mid$(TextToParse, lngStart, lngend - lngStart)
End If
End If
End Function
Public Function StopAll()
tmrsingle.Enabled = False
tmrmass.Enabled = False
tmrsingle.Interval = 0
tmrmass.Interval = 0
cmdstartsingle.Enabled = True
cmdstartmass.Enabled = True
status.Panels(1).Text = "Idle..."
txtxmilli.Locked = False
txtymilli.Locked = False
txtsingleuser.Locked = False
txtsinglesubject.Locked = False
txtsinglemessage.Locked = False
txtmasssubject.Locked = False
txtmassmessage.Locked = False
End Function
Private Sub cmdlcear_Click()
lstlog.Clear
lstlog.AddItem "Spammed:"
End Sub
Private Sub cmdlogin_Click()
txtuser.Enabled = False
txtpass.Enabled = False
cmdlogin.Enabled = False
status.Panels(1).Text = "Logging In (1/3)"
dpage = wrapper.GetWrapper("http://www.neopets.com/loginpage.phtml", "http://www.neopets.com/")
status.Panels(1).Text = "Logging In (2/3)"
dpage = wrapper.PostWrapper("http://www.neopets.com/hi.phtml", "destination=/petcentral.phtml" & "&username=" & txtuser.Text, wrapper.LastPage)
status.Panels(1).Text = "Logging In (3/3)"
dpage = wrapper.PostWrapper("http://www.neopets.com/login.phtml?", "username=" & txtuser.Text & "&password=" & txtpass.Text & "&destination=/petcentral.phtml", "http://www.neopets.com/hi.phtml")
If InStrB(1, dpage, "badpassword") Then
status.Panels(1).Text = "Bad Password"
txtuser.Enabled = True
txtpass.Enabled = True
cmdlogin.Enabled = True
ElseIf InStrB(1, dpage, "petcentral") Then
status.Panels(1).Text = "Logged in!"
cmdlogin.Enabled = False
cmdstartsingle.Enabled = True
cmdstartmass.Enabled = True
cmdstopsingle.Enabled = True
cmdstopmass.Enabled = True
cmdlogout.Enabled = True
ElseIf InStrB(1, dpage, "FROZEN") Then
status.Panels(1).Text = "Frozen"
txtuser.Enabled = True
txtpass.Enabled = True
cmdlogin.Enabled = True
ElseIf InStrB(1, dpage, "Try again in") Then
status.Panels(1).Text = "Too many failed attempts"
Else
status.Panels(1).Text = "Unknown Error"
End If
End Sub
Private Sub cmdlogout_Click()
wrapper.ClearCookies
status.Panels(1).Text = "Logged Out!"
cmdlogin.Enabled = True
cmdlogout.Enabled = False
End Sub
Private Sub cmdstartmass_Click()
Rannum = rand(Val(txtxmilli.Text), Val(txtymilli.Text))
tmrmass.Enabled = True
tmrmass.Interval = Rannum
cmdstartmass.Enabled = False
cmdstartsingle.Enabled = False
txtxmilli.Locked = True
txtymilli.Locked = True
txtmasssubject.Locked = True
txtmassmessage.Locked = True
End Sub
Private Sub cmdstartsingle_Click()
Rannum = rand(Val(txtxmilli.Text), Val(txtymilli.Text))
tmrsingle.Enabled = True
tmrsingle.Interval = Rannum
cmdstartsingle.Enabled = False
cmdstartmass.Enabled = False
txtxmilli.Locked = True
txtymilli.Locked = True
txtsingleuser.Locked = True
txtsinglesubject.Locked = True
txtsinglemessage.Locked = True
End Sub
Private Sub cmdstopmass_Click()
StopAll
End Sub
Private Sub cmdstopsingle_Click()
StopAll
End Sub
Private Sub form_unload(cancel As Integer)
End
Unload Me
End Sub
Private Sub tmrmass_Timer()
Dim sendmail(0 To 3) As tData
Dim finding As String
Dim neopian As String
status.Panels(1).Text = "Getting Username..."
finding = wrapper.GetWrapper("http://www.neopets.com/island/tradingpost.phtml?type=browse&criteria=20", "http://www.neopets.com/island/tradingpost.phtml?type=browse")
neopian = GetBetween(finding, "autoform_abuse.phtml?abuse=report&offender=", "&reportType=trade&tradeLot")
txtmassuser.Text = neopian
lngsend = lngsend + 1
status.Panels(1).Text = "Setting Up Neomail..."
dpage = wrapper.GetWrapper("http://neopets.com/neomessages.phtml?type=send", "http://neopets.com/neomessages.phtml")
sendmail(0) = FormData("recipient", txtmassuser.Text)
sendmail(1) = FormData("subject", txtmasssubject.Text)
sendmail(2) = FormData("message_body", txtmassmessage.Text)
status.Panels(1).Text = "Sending..."
dpage = wrapper.PostWrapper("http://neopets.com/process_neomessages.phtml", tData2String(sendmail), "http://neopets.com/neomessages.phtml?type=send")
status.Panels(1).Text = "Sent"
status2.Panels(1).Text = "Neomails Sent: " & lngsend
lstlog.AddItem txtmassuser.Text
If InStrB(1, dpage, "have sent too many") Then
status.Panels(1).Text = "You have sent too many Neomails"
tmrmass.Enabled = False
tmrmass.Interval = 0
Exit Sub
End If
Rannum = rand(Val(txtxmilli.Text), Val(txtymilli.Text))
tmrmass.Interval = Rannum
End Sub
Private Sub tmrsingle_Timer()
Dim sendmail(0 To 3) As tData
lngsend = lngsend + 1
status.Panels(1).Text = "Setting Up Neomail..."
dpage = wrapper.GetWrapper("http://neopets.com/neomessages.phtml?type=send", "http://neopets.com/neomessages.phtml")
sendmail(0) = FormData("recipient", txtsingleuser.Text)
sendmail(1) = FormData("subject", txtsinglesubject.Text)
sendmail(2) = FormData("message_body", txtsinglemessage.Text)
status.Panels(1).Text = "Sending..."
dpage = wrapper.PostWrapper("http://neopets.com/process_neomessages.phtml", tData2String(sendmail), "http://neopets.com/neomessages.phtml?type=send")
status.Panels(1).Text = "Sent"
status2.Panels(1).Text = "Neomails Sent: " & lngsend
If InStrB(1, dpage, "person has <b>100</b> or more") Then
status.Panels(1).Text = "Inbox Reached, Stopping NeoMailer"
tmrsingle.Enabled = False
tmrsingle.Interval = 0
Exit Sub
End If
If InStr(dpage, "person has blocked you") Then
status.Panels(1).Text = "You Have Been Blocked By " & txtsingleuser.Text
tmrsingle.Enabled = False
tmrsingle.Interval = 0
Exit Sub
End If
If InStrB(1, dpage, "they are not your NeoFriend") Then
status.Panels(1).Text = "Only Neofriends can send this person Neomails"
tmrsingle.Enabled = False
tmrsingle.Interval = 0
Exit Sub
End If
If InStrB(1, dpage, "have sent too many") Then
status.Panels(1).Text = "You have sent too many Neomails"
tmrsingle.Enabled = False
tmrsingle.Interval = 0
Exit Sub
End If
If InStrB(1, dpage, "not received parental permission to") Then
status.Panels(1).Text = "Cant receive neomails due to age"
tmrsingle.Enabled = False
tmrsingle.Interval = 0
Exit Sub
End If
If InStrB(1, dpage, "trying to email yourself") Then
status.Panels(1).Text = "... Silly Goosey :P"
tmrsingle.Enabled = False
tmrsingle.Interval = 0
Exit Sub
End If
Rannum = rand(Val(txtxmilli.Text), Val(txtymilli.Text))
tmrsingle.Interval = Rannum
End Sub
Private Sub txtymilli_KeyPress(KeyAscii As Integer)
If KeyAscii > Asc(9) Then KeyAscii = 0
End Sub
Private Sub txtxmilli_KeyPress(KeyAscii As Integer)
If KeyAscii > Asc(9) Then KeyAscii = 0
End Sub | |
| |  |  | Re: Neomail Spammer Source |  |
12-19-2006, 08:32 PM
|
#2 (permalink)
| | | Re: Neomail Spammer Source Haha, nice job. Atleast you're contributing ;]
+rep. Again..O_O | |
| |  | Re: Neomail Spammer Source |  |
12-20-2006, 03:04 AM
|
#3 (permalink)
| | | Re: Neomail Spammer Source Please don't encourage spamming on the public forum. Moved to UG. | |
| |  | Re: Neomail Spammer Source |  |
12-20-2006, 03:15 AM
|
#4 (permalink)
| Kane for mod!
Join Date: Sep 2006 Posts: 1,530
GPoints: 54 Rep Power: 9 | Re: Neomail Spammer Source i got my version if wanted, not outdated
__________________
[center] | |
| |  | Re: Neomail Spammer Source |  |
12-20-2006, 03:56 AM
|
#5 (permalink)
| | | Re: Neomail Spammer Source Emittttt.....Auto spamming is more than advertising a site. >__< It can be done to generaly just piss someone off o.o  | |
| |  | Re: Neomail Spammer Source |  |
12-20-2006, 04:56 AM
|
#6 (permalink)
| Banned
Join Date: Oct 2006 Posts: 197
GPoints: 4 Rep Power: 0 | Re: Neomail Spammer Source sloppy code + ugly visual basic syntax = sux | |
| |  | Re: Neomail Spammer Source |  |
12-20-2006, 05:42 AM
|
#7 (permalink)
| Æthean
Join Date: Nov 2006 Location: Ontario Age: 18 Posts: 1,294
GPoints: 580 Rep Power: 9 | Re: Neomail Spammer Source Quote:
Originally Posted by nox sloppy code + ugly visual basic syntax = sux | Wow.. did you even read its my FIRST program.. im sure your first program (if you even made one) was perfectly indented, no errors with a beautiful layout.
and how is the code sloppy? the thing worked without any runtime errors.. | |
| |  | Re: Neomail Spammer Source |  |
12-20-2006, 05:44 AM
|
#8 (permalink)
| Kane for mod!
Join Date: Sep 2006 Posts: 1,530
GPoints: 54 Rep Power: 9 | Re: Neomail Spammer Source dont worry about him he is some codex "cool guy" apparently
__________________
[center] | |
| |  | Re: Neomail Spammer Source |  |
12-20-2006, 07:48 AM
|
#9 (permalink)
| Underground
Join Date: Sep 2006 Location: The o great land of Nooooooreeeway Age: 20 Posts: 658
GPoints: 38 Rep Power: 7 | Re: Neomail Spammer Source Nox is our own private forum troll 
__________________  | |
| |  | Re: Neomail Spammer Source |  |
12-21-2006, 05:30 PM
|
#10 (permalink)
| Banned
Join Date: Nov 2006 Location: Luxembourg. Posts: 0
GPoints: 11 Rep Power: 0 | Re: Neomail Spammer Source Aethan be nice, we all know Nox cant read properly! :( | |
| |  | | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | |