-
Notifications
You must be signed in to change notification settings - Fork 0
/
kills.php
executable file
·39 lines (37 loc) · 1022 Bytes
/
kills.php
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
<?
for($i=8178;$i<11000;$i++){
$url = "http://freelancer-alliance.net/Killboard/index.php?a=kill_mail&kll_id=$i";
if($fp = @fopen("$url", "r")){
$current_line = fgets($fp);
while (!feof($fp)) {
$current_line .= fgets($fp);
}
$mail = explode("Original Killmail",(eregi_replace("<br />","",strip_tags($current_line))));
$mail = eregi_replace("<br />","",$mail[1]);
if(stristr($mail,"Corp: Unknown-Heroes")){
$mail = eregi_replace(" ","",trim($mail));
$fpt = fopen("C:\\xampp\\htdocs\\UNKH\\$i.txt",'w');
if(fputs($fpt,$mail)){
print "Success retrieved UNKH Killmail $i \n";
}
else {
print "Error $i\n";
}
}
else {
$mail = eregi_replace(" ","",trim($mail));
$fpt = fopen("C:\\xampp\\htdocs\\FLA\\$i.txt",'w');
if(fputs($fpt,$mail)){
print "Success retrieved non UNKH Killmail $i \n";
}
else {
print "Error $i\n";
}
}
fclose($fp);
}
else {
die("Unable to request page on id : $i \n");
}
}
?>