Advanced Penetration Testing Notes

command 5

service apache2 start  netstat -antp  ifconfig  service network restart  ping (any ip…etc) man nc  nc -lvp 1234 nc (ip)   [view]

By: ali2141997 | Related Lesson: Linux (part 5) IP Addressing and netcat | Modified: July 23, 2017

vulnerability scan 4

cat scriptscan.gnmap ( good for grepping) cat scriptscan.gnmap | grep Up | cut -d ” ” -f 2 | sort -u > livehosts.txt  use auxiliary/scanner/ftp/anonymous show options     set RHOSTS file:/filename.txt     [view]

By: xzor | Related Lesson: Vulnerability Scanning (part 4) Metasploit | Modified: July 23, 2017

command 3

touch  mkdir cp  mv  rm  echo  cat  man  > >> nano    vi  vim      [view]

By: ali2141997 | Related Lesson: Linux (part 3) - Directories, myfile and Nano | Modified: July 23, 2017

commands 2

 pwd ls cd  rm  adduser su || sudo  exit    [view]

By: ali2141997 | Related Lesson: Linux (part 2) Kali Linux Commands | Modified: July 23, 2017

nmap script engine

cd  /usr/share/nmap/ scripts  ls  nmap –script -help defualt /* will show all the scripts in the default categories */   nmap –script-help  smb-check-vulns /* dos and intrusive */ nmap –script-help  nfs-ls(safe) nmap -sC your [view]

By: xzor | Related Lesson: Vulnerability Scanning (part 3) Nmap Scripting Engine | Modified: July 23, 2017

Bash script

#!/bin/bash if [ ”$1” == ”” ] then echo ”Usage: ./ping.sh [network]” echo ”Example: ./ping.sh 192.168.1” else for x in `seq 1 254`: do ping -c 1 $1,$x | grep ”64 bytes” | cut -d ” R [view]

By: alejandra21 | Related Lesson: Programming (part 3) Network Pings | Modified: July 22, 2017

p5

1- nano /etc/network/interfaces (for ip) 2- nc -lvp 1234 (listening for port) 3- nc 192.1.77 1234 (it will connect to other machine port for communication) 4- nc -lvp 1234  -e bin/bash (listening in root privileges) then –> nc 192.1.77 12 [view]

By: mosa3 | Related Lesson: Linux (part 5) IP Addressing and netcat | Modified: July 22, 2017

p4

1- chmod 750 myfile (permission for file read and execute) 2- chmod -x myfile (full permission) 3- netstat -antp (for ports that are running ) [view]

By: mosa3 | Related Lesson: Linux (part 4) chmod, manipulation and packages | Modified: July 22, 2017

Comandos video 6

crontab [view]

By: alejandra21 | Related Lesson: Linux (part 6) Copy Commands and crontab | Modified: July 21, 2017

Comandos IP

netstat -antp – Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships. ifconfig /etc/network/interfaces ping nc – arbitrary TCP and UDP connections and listens [view]

By: alejandra21 | Related Lesson: Linux (part 5) IP Addressing and netcat | Modified: July 21, 2017

« First ‹ Previous 1 14 104 112 113 114 115 116 124 214 243 Next › Last »

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