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

?>
Return current item: SCOP Heartbeat Administration interface