Hey guys,
I'm making a UDP Flooder in VB.NET and I want to be able to use Proxies but I don't know how to load the proxies into the program.
I want them to be loaded from a text file into the software and use them in a random order.
~GeissT~
Omni got me for April Fools :D
Epic Fail
Quote:Hi Having a problem with part 2, copy and paste? I am new to ubuntu, can you explain?
Jan 30, 2011 02:52 AM
(This post was last modified: Jan 30, 2011 03:00 AM by Ethereal.)
Use StreamReader and a foreach loop to load each line into a TextBox/ListBox. Then, simply read each line and alter the settings each time.
Why use a streamreader in a foreach loop with a textbox or listbox? You can get the string directly without the streamreader.
Code For Each I In TheTextBox.Lines
Dim Proxy as String = I
Next
OR
For Each I In TheListBox.Items
Dim Proxy as String = I
Next
Jan 30, 2011 03:01 AM
(This post was last modified: Jan 30, 2011 03:01 AM by Ethereal.)
(Jan 30, 2011 02:55 AM)TraptCode Wrote: Why use a streamreader in a foreach loop with a textbox or listbox? You can get the string directly without the streamreader.
Code For Each I In TheTextBox.Lines
Dim Proxy as String = I
Next
OR
For Each I In TheListBox.Items
Dim Proxy as String = I
Next
Because he has to read the Proxies from a file.
Thats correct,
I do want to load the proxies from a file. But i could use that method of just typing it in but now i just need to learn how to use a stream reader with a proxy XD
Thanks,
Keep suggesting if possible.
~GeissT~
Omni got me for April Fools :D
Epic Fail
Quote:Hi Having a problem with part 2, copy and paste? I am new to ubuntu, can you explain?
Jan 30, 2011 03:05 AM
(This post was last modified: Jan 30, 2011 03:06 AM by TraptCode.)
Ah, that is understandable.
Code Dim FS As New IO.FileStream("C:\File.txt", IO.FileMode.Open, IO.FileAccess.Read)
Dim SR As New IO.StreamReader(FS)
Dim ProxyList As New List(Of String)
While SR.EndOfStream = False
ProxyList.Add(SR.ReadLine)
End While
RandomizationStart:
Randomize()
Dim Random1 As New Random
Dim Proxy As String = ProxyList.Item(Random1.Next(0, ProxyList.Count - 1))
MsgBox(Proxy)
ProxyList.Remove(Proxy)
If ProxyList.Count > 0 Then
GoTo RandomizationStart
End If
(Jan 30, 2011 03:05 AM)TraptCode Wrote: Ah, that is understandable.
Code Dim FS As New IO.FileStream("C:\File.txt", IO.FileMode.Open, IO.FileAccess.Read)
Dim SR As New IO.StreamReader(FS)
Dim ProxyList As New List(Of String)
While SR.EndOfStream = False
ProxyList.Add(SR.ReadLine)
End While
RandomizationStart:
Randomize()
Dim Random1 As New Random
Dim Proxy As String = ProxyList.Item(Random1.Next(0, ProxyList.Count - 1))
MsgBox(Proxy)
ProxyList.Remove(Proxy)
If ProxyList.Count > 0 Then
GoTo RandomizationStart
End If
This sounds good XD.
Now how would i send this to the server?
GeissT
Omni got me for April Fools :D
Epic Fail
Quote:Hi Having a problem with part 2, copy and paste? I am new to ubuntu, can you explain?
BUMP, i still need help with this.
Please?
All i need to know is how to use the proxies that are loaded to hit the server...
Thanks... :D
Omni got me for April Fools :D
Epic Fail
Quote:Hi Having a problem with part 2, copy and paste? I am new to ubuntu, can you explain?
SO you need to send udp or tcp packets to the server by using proxies...i have noticed that none answer to you because they probably don't know, and also because there aren't many articles on the google relative so they can't leech them! My advice...start searching other community forums like codeplex or a msdn to get serius answers ... here there are many leechers and noobs that think they are coders . . .now i expect to get more -Reputetion!*
Few members here Like Nathan and DragonHunter could help you! :D
*Also when giving a reputation you have to give proofs of what you are saying...giving a reputation without proofs makes you moron!
Thanks Shadow,
Im not sure what you are talking about rep for but meh.
Ill take your advice on this, ill goto support forums i believe.
Thanks,
GeissT.
Omni got me for April Fools :D
Epic Fail
Quote:Hi Having a problem with part 2, copy and paste? I am new to ubuntu, can you explain?
Hey i was just wondering if this is finished yet.I would love to have it.
i need it too is anyone have it?
DO NOT DEAL WITH THIS MEMBER
I recommend not loading in all proxies at once. What if you have a huge list? Anything over a few thousand could cause lag or form freezes, and everything above 100k can cause immense lag if done incorrectly. Just read the lines 1 by 1 if you need them.
@OP, I also recommend you look into threading, so you can send multiple UDP requests at once, if you haven't already.
|