< All Advanced Penetration Testing Notes

bubbyw | Advanced Penetration Testing | Module 1 - Linux

By: bubbyw | Related Course: Advanced Penetration Testing | Published: July 26, 2017 | Modified: July 26, 2017
Join Cybrary

Notepadchmod and grep

3 lists of security (owner, group, everyone)
change with chmod
grep or cut
cat myfile | cut -d ” ” -f 1
-d means delimiter (set to ” ”) -f is field
can multiple pipe
cat myfile | cut -d ” ” -f 1 | sort -u
sort -u means unique


Notepadnetcat

nc -lvp 1234 -e /bin/bash
netcat -listen,verbose,port 1234(port) -e (execute) bin/bash


NotepadVI

touch to make file
VI: i is insert dd is delete line
shift colon to save and exit : wq (write quit)


< 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

 

We recommend always using caution when following any link

Are you sure you want to continue?

Continue
Cancel