< 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 be free, for everyone, FOREVER. Everyone, everywhere, deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is a free 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.

Support Cybrary

Donate Here to Get This Month's Donor Badge

 

Cybrary|0P3N

Is Linux Worth Learning in 2020?
Views: 741 / December 14, 2019
How do I Get MTA Certified?
Views: 1313 / December 12, 2019
How much does your PAM software really cost?
Views: 1750 / December 10, 2019
How Do I Get into Android Development?
Views: 2140 / December 8, 2019

We recommend always using caution when following any link

Are you sure you want to continue?

Continue
Cancel