Hack Forums
[.NET] UDP Flooder with Proxies - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] UDP Flooder with Proxies (/showthread.php?tid=1017254)



UDP Flooder with Proxies - GeissT - Jan 30, 2011

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~


* - Ethereal - Jan 30, 2011

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.


* - TraptCode - Jan 30, 2011

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



* - Ethereal - Jan 30, 2011

(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.




* - GeissT - Jan 30, 2011

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~


* - TraptCode - Jan 30, 2011

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



* - GeissT - Jan 30, 2011

(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



* - GeissT - Feb 14, 2011

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


* - shadow1992 - Feb 14, 2011

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!


* - GeissT - Feb 15, 2011

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.


* - Yugen - Nov 13, 2011

Hey i was just wondering if this is finished yet.I would love to have it.


* - m4ma - Apr 11, 2017

i need it too is anyone have it?


* - Ninja - Apr 11, 2017

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.