Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

[VB - C#] UDP Flood Fucntion (For RAT Thread)

some remarks, last line in the try statement is sleep, and catch is a sleep also, so you can put one after the end try if your gonna sleep anyway.
i suggest that you remove that boolean, loop infinitly, and the sub stopflooding would abort all threads.

Edit : forgot to say thnks for the contribution ^^
(Oct 28, 2010 02:25 PM)xSilent Wrote:  If you use a boolean and if it becomes false then the thread will abort itself and I forgot about the sleep thing so thanks for that.

yeah it's almost the same^^ but with a boolean thread will finish the code and exit. but aborting the thread will shutdown flooding where ever it is (sending, sleeping...) it gives it a bit of precision.
One thing for while.
You can just use while (KeepFlooding)
instead putting == true.

while (KeepFlooding) is equal to while (KeepFlooding == true)
while (!KeepFlooding) is equal to while (KeepFlooding == false)

:)

But nice thought, I like ur tuts etc. alot, because ur posting exampel for VB + C#, wich will
help away more for peoples, because they will see the 2 synthax different and how you can do it in
both languages :P
if you really want to stop people c+p this then you need to water mark the images so that only a human can distinguish it. if you get what i mean.

Also this is nice code. But i would suggest a timer or two in there. Would eat less CPU and memory that making so many threads.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by NotYellowMay 25, 2017 12:35 PM 8 2,640 May 25, 2017 12:35 PM
Last Post: Barret
[C#] by iVisionApr 17, 2017 03:30 PM 3 474 Apr 17, 2017 03:30 PM
Last Post: Grooty
[C#] by t0fxJun 6, 2016 10:24 AM 15 1,670 Jun 6, 2016 10:24 AM
Last Post: Sakuto