Location: PHPKode > projects > SCOP Heartbeat Administration interface > scop-2.0/html/scop/config/getrealip.php
<?
header("Content-type: application/octet-stream");
header("Content-disposition: attachment; filename=ifcfg-eth0");
header("Content-transfer-encoding: binary");
$orig="/etc/rc.d/rc.inet1.conf";
exec ("sudo chmod 777 $orig");
readfile("$orig");

?>
Return current item: SCOP Heartbeat Administration interface