<?php

$file=fopen('shell.so',"r");

header("Content-Type: application/octet-stream");

header("Accept-Ranges: bytes");

header("Accept-Length: ".filesize('文件地址'));

header("Content-Disposition:attachment;filename=shell.so");

echo fread($file,filesize('shell.so'));

fclose($file);
?>

xxx