< All Advanced Penetration Testing Notes

Clouds | Advanced Penetration Testing | Module 1 - Linux

By: Clouds | Related Course: Advanced Penetration Testing | Published: December 13, 2016 | Modified: December 14, 2016
Join Cybrary

NotepadAdvanced Pen Test: Kali Linux Commands.

adduser achal

change to user achal:

su achal

add user into the sudo group:

adduser achal sudo


NotepadChmod, Manipulation, Packages: Advanced Pentest

Read – 4

Write – 2

Execute -1

chmod 777 (read write execute for user group other) filename

              750(full to user, read and execute to group, nothing to other)

just add x(execute for all)

chmod +x filename


NotepadCrontab: Advance PenTest

crontab : automate jobs

cd /etc

ls | grep cron (went to file location of crontab and searched for the word cron) 

NotepadDirectories,MyFiles and Nano: Advanced pentest.

to rename 

mv file file2

to remove

rm file2

echo > hello filename

but every time we use ’>’ it overrides the previous line so to append we use ’>>’




NotepadNetCat : nc : Advanced PenTest

nc -lvp 1234 (Listening on port 1234 verbosely)

nc -lvp 1234 -e /bin/bash (same as above just whosoever connect on port 1234 it gives the shell access to that person)



< 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?