set-uid.php

<?
#$myuid=get_current_user();
$myuid=posix_getuid();
echo $myuid;
posix_setuid(60001);
echo "<hr>" .$myuid;

chmod( "/home/radeff/public_html/welcome.php", 755 );
?>
 
info/set-uid.txt · Dernière modification: 2008/11/11 11:37 (modification externe)
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki