< All Advanced Penetration Testing Notes

Pawan Singh | Advanced Penetration Testing | Module 1 - Linux

By: Pawan Kumar Singh | Related Course: Advanced Penetration Testing | Published: September 20, 2017 | Modified: October 13, 2017
Join Cybrary

NotepadChapter V

Chapter V

netstat -antp

ifconfig

nano /etc/network/interface

make Ip address static.

ping 198.168.1.76

nc nc

nc -lvp port no

nc -lvp 1234 -e /bin/bash

 


NotepadChapter VI

Cron automatic task command

cd /etc

ls |grep cron

nano crontab

service cron restart

 


NotepadLession II

 

Kali Linux Command

#pwd > /root

man pwd

man ls

ls /<dir>

ls -a  /

ls -l /

cd / change dir

man ls

cd /root change rot dir

cd .. change dir – parent

cd Desktop

cd desktop/ and go to /etc dir.

cd /root

cd /home > user storage place.

rm -rs > delete everything.

adduser pawan

login

su pawan

pawan#exit

cd /

adduser pawan sudo

su pawan

sudo adduser ruchi

pwd..

 

 

 

 

 


< 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