basic linux commands
UNIX Commands
UNIX Commands are usefull, because without them you will not be able to explore shells etc. I listed all commands that may be helpfull for newbie exploiters.
pwd – shows actual path where you are
ifconfig [interface] – show interface config e.g. ethernet , wlan etc
ls – lists files in directorcy
ls -l – lists files in directory with details like date, size, attributes
ls -a – lists files in directory and shows hidden files
For example you are actually in directory /www/docs/pub/ccbill/files so putting ls command will let you to see all files in this directory. If you want move to /www/docs/pub/ directory then you just need to put ls /www/docs/pub/ it will move you there and show all files there also.
cat [file name] – shows content of file
For example you want to check what is inside /www/docs/pub/ccbill/.htpasswd file so you simply put cat /www/docs/pub/ccbill/.htpasswd command and all info inside will be displayed
locate [file name] – will let you to locate file directly, when the files are found it will display paths
For example you want to find htpasswd file on server so simply put locate htpasswd and it will find all paths with this file for you.
rm [file name] – removes a file, you can also add -i to make a confirmation for deleting
cp [file name 1] [file name 2] – copies a file
mv [file name 1] [file name] – moves a file
mkdir [dir name] – makes a new directory
i will post more soon and will explain commands one by one in my next posts so keep looking for them
.
Joo hd ei oo ees hack
opetelkaa hacksaa pellet!!!