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
» Recent Threads
Go to first new post mOBSCENE's score sender...
Today 01:11 AM
Last post by 1x1
Today 05:17 AM
9 Replies, 30 Views
Go to first new post SPORE, PC (9/10)
09-07-2008 08:03 PM
by Googlrr
Last post by Seelyon
Today 05:10 AM
8 Replies, 185 Views
Go to first new post Whats your favorite song?
08-06-2008 09:53 PM
Last post by Seelyon
Today 05:04 AM
56 Replies, 387 Views
Go to first new post Left 4 Dead?
Today 04:59 AM
by Seelyon
Last post by Bex
Today 05:03 AM
1 Replies, 2 Views
Go to first new post MotM Nomination Thread #1
11-20-2008 08:08 PM
by nomhak
Last post by Bex
Today 05:02 AM
15 Replies, 117 Views
Reply
 
LinkBack Thread Tools Display Modes

 Neomail Spammer Source
Old 12-19-2006, 08:27 PM   #1 (permalink)
Æthean

Male Aethean is offline
 
Aethean's Avatar
 
Join Date: Nov 2006
Location: Ontario
Age: 18
Posts: 1,294
GPoints: 580
iTrader: 0 / 0%
Aethean Is Popular
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
__________________

  Reply With Quote

 Re: Neomail Spammer Source
Old 12-19-2006, 08:32 PM   #2 (permalink)
Ryan
Guest

 
Posts: n/a
GPoints: 0 [Check]
iTrader: / %
Rep Power:
Re: Neomail Spammer Source

Haha, nice job. Atleast you're contributing ;]

+rep. Again..O_O
  Reply With Quote

 Re: Neomail Spammer Source
Old 12-20-2006, 03:04 AM   #3 (permalink)
emit
Guest

 
Posts: n/a
GPoints: 0 [Check]
iTrader: / %
Rep Power:
Re: Neomail Spammer Source

Please don't encourage spamming on the public forum. Moved to UG.
  Reply With Quote

 Re: Neomail Spammer Source
Old 12-20-2006, 03:15 AM   #4 (permalink)
Kane for mod!

Male Flame is offline
 
Join Date: Sep 2006
Posts: 1,530
GPoints: 54
iTrader: 1 / 100%
Flame Is Recognizable
Rep Power: 9
Re: Neomail Spammer Source

i got my version if wanted, not outdated
__________________
[center]
  Reply With Quote

 Re: Neomail Spammer Source
Old 12-20-2006, 03:56 AM   #5 (permalink)
Ryan
Guest

 
Posts: n/a
GPoints: 0 [Check]
iTrader: / %
Rep Power:
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
  Reply With Quote

 Re: Neomail Spammer Source
Old 12-20-2006, 04:56 AM   #6 (permalink)
nox
Banned

Female nox is offline
 
Join Date: Oct 2006
Posts: 197
GPoints: 4
iTrader: 0 / 0%
nox Is gaining popularity
Rep Power: 0
Re: Neomail Spammer Source

sloppy code + ugly visual basic syntax = sux
  Reply With Quote

 Re: Neomail Spammer Source
Old 12-20-2006, 05:42 AM   #7 (permalink)
Æthean

Male Aethean is offline
 
Aethean's Avatar
 
Join Date: Nov 2006
Location: Ontario
Age: 18
Posts: 1,294
GPoints: 580
iTrader: 0 / 0%
Aethean Is Popular
Rep Power: 9
Re: Neomail Spammer Source

Quote:
Originally Posted by nox View Post
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..
__________________

  Reply With Quote

 Re: Neomail Spammer Source
Old 12-20-2006, 05:44 AM   #8 (permalink)
Kane for mod!

Male Flame is offline
 
Join Date: Sep 2006
Posts: 1,530
GPoints: 54
iTrader: 1 / 100%
Flame Is Recognizable
Rep Power: 9
Re: Neomail Spammer Source

dont worry about him he is some codex "cool guy" apparently
__________________
[center]
  Reply With Quote

 Re: Neomail Spammer Source
Old 12-20-2006, 07:48 AM   #9 (permalink)
Underground

Male gommle is offline
 
gommle's Avatar
 
Join Date: Sep 2006
Location: The o great land of Nooooooreeeway
Age: 20
Posts: 658
GPoints: 38
iTrader: 0 / 0%
gommle Is Recognizable
Rep Power: 7
Re: Neomail Spammer Source

Nox is our own private forum troll
__________________

  Reply With Quote

 Re: Neomail Spammer Source
Old 12-21-2006, 05:30 PM   #10 (permalink)
Banned

Male Tr3v0r is offline
 
Join Date: Nov 2006
Location: Luxembourg.
Posts: 0
GPoints: 11
iTrader: 0 / 0%
Tr3v0r Is gaining popularity
Rep Power: 0
Re: Neomail Spammer Source

Aethan be nice, we all know Nox cant read properly! :(
  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.0 RC2

All times are GMT -7. The time now is 05:22 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.13934588 seconds (100.00% PHP - 0% MySQL) with 19 queries