|
@@ -0,0 +1,36 @@
|
|
|
+package QuickVerifyCrap;
|
|
|
+
|
|
|
+import java.io.*;
|
|
|
+import java.net.URLEncoder;
|
|
|
+import java.nio.charset.StandardCharsets;
|
|
|
+
|
|
|
+public class ChaosPostSpammer
|
|
|
+{
|
|
|
+ public static void main(String[] args) throws Exception
|
|
|
+ {
|
|
|
+ BufferedReader r = new BufferedReader(new FileReader("/home/tgoerner/code/38c3spam.lst"));
|
|
|
+ PrintWriter w = new PrintWriter(new FileWriter("/home/tgoerner/code/38c3spam.sh"));
|
|
|
+ w.println("#!/bin/bash");
|
|
|
+ String line = r.readLine();
|
|
|
+ while(line !=null)
|
|
|
+ {
|
|
|
+ String[] linesplitted = line.split("\\|");
|
|
|
+ for(int i=0;i<linesplitted.length;i++)
|
|
|
+ {
|
|
|
+ if(linesplitted[i].length()>20)
|
|
|
+ {
|
|
|
+ linesplitted[i]=linesplitted[i].substring(0,20);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ line = String.join("\r\n",linesplitted);
|
|
|
+
|
|
|
+ String spamtemplate = "curl 'https://office.c3post.de/' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate, br, zstd' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Origin: https://office.c3post.de' -H 'Connection: keep-alive' -H 'Referer: https://office.c3post.de/' -H 'Cookie: session=eyJfZnJlc2giOmZhbHNlLCJjc3JmX3Rva2VuIjoiMmU4MzFmMzZjYjdhNzUwMzg1MGY3MmM0OWRiMzVjYTg5N2Q0MGE2YiJ9.Z2miJw.R0933HCAUWSk3VdhqzKMPJk0b-o' -H 'Upgrade-Insecure-Requests: 1' -H 'Sec-Fetch-Dest: document' -H 'Sec-Fetch-Mode: navigate' -H 'Sec-Fetch-Site: same-origin' -H 'Sec-Fetch-User: ?1' -H 'Priority: u=0, i' -H 'Pragma: no-cache' -H 'Cache-Control: no-cache' -H 'TE: trailers' --data-raw 'csrf_token=IjJlODMxZjM2Y2I3YTc1MDM4NTBmNzJjNDlkYjM1Y2E4OTdkNDBhNmIi.Z2miJw.9wTZSC--9gRoBPbMSFFbXb7pdWY&from_event_id=18&to_event_id=18&postcard_id=-1&sender=Murphy%27s%0D%0ASabotageservice&receiver="
|
|
|
+ + URLEncoder.encode(line, StandardCharsets.UTF_8)
|
|
|
+ +"&message=Murphy%27s+Sabotageservice%0D%0AWir+funken+dazwischen%2C+verpfuschen%2C+versauen+und+grillen+ihre+Technik%21%0D%0ABeauftragung+erfolgt+unaufgefordert+selbstst%C3%A4ndig.%0D%0A%0D%0AWe+sabotage%2C+mess+up%2C+cook+and+burninate+your+tech%21%0D%0AWork+is+scheduled+unannounced.&check=y'";
|
|
|
+ w.println(spamtemplate);
|
|
|
+
|
|
|
+ line=r.readLine();
|
|
|
+ }
|
|
|
+ w.close();
|
|
|
+ }
|
|
|
+}
|