< All Advanced Penetration Testing Notes

w5xml | Advanced Penetration Testing | Module 1 - Linux

By: w5xml | Related Course: Advanced Penetration Testing | Published: February 14, 2017 | Modified: February 14, 2017
Join Cybrary

NotepadLinux (part 2) Kali Linux Commands

ls -a shows hidden directories – directories can be hidden by adding a dot (.) to the folder name.  Ex:  .donsfolder

cd / changes directory to the root directory

cd .. changes directory to the parent directory

cd ../../ goes up two parent directories.  etc.

adduser [username] to add a user

adduser [username] sudo – adds that user to sudo group

 


NotepadLinux (part 3) – Directories, myfile and Nano

cp – copy

mv – move

echo – prints output to screen. 

echo [output] > myfile .  Writes the output to the file.

Use >> to append.  Otherwise doing echo [output] > myfile again will overwrite. 

 


NotepadLinux (part 4) chmod, manipulation and packages

chmod – change file permissions.  0 is no permissions, 7 is full.  Binary notation.

 


NotepadLinux (part 5) IP Addressing and netcat

netcat – can be used to open connections on ports

 


NotepadLinux (part 6) Copy Commands and crontab

.

 


< All Advanced Penetration Testing Notes
Join Cybrary

Our Revolution

We believe Cyber Security training should accessible for everyone, everywhere. Everyone deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is the world's largest community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

We recommend always using caution when following any link

Are you sure you want to continue?

Continue
Cancel