Advanced Penetration Testing Notes

Bash scripting

#!/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: pha3t0n | Related Lesson: Programming (part 3) Network Pings | Modified: August 2, 2017

Networking - netcat

etc/network/interfaces – file has network IP info (static, DHCP, etc) nc – netcat (nc -lvp 1234) – listen verbosely on port 1234. (nc 192.168.1.xx 1234) – goes to it (nc -lvp 1234 -e /bin/bash) –  [view]

By: pha3t0n | Related Lesson: Linux (part 5) IP Addressing and netcat | Modified: August 1, 2017

Programming (part 3)

1. [view]

By: codeitch | Related Lesson: Programming (part 3) Network Pings | Modified: August 1, 2017

Programming (part 2)

1. [view]

By: codeitch | Related Lesson: Programming (part 2) Bash Scripting and If/Then Command | Modified: July 31, 2017

Linux (part 6)

1. cron => executes scheduled commands (service cron restart) [view]

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

Msfconsole

Start Database service postgresql start service metasploit start [view]

By: | Related Lesson: Metasploit (part 3) Operation | Modified: July 31, 2017

Linux (part 5)

1. nc (abr. netcat) -lvp (listen, verpose, on port) <port> -e /bin/bash (execute bash) => so when you connect to this port at this address, you get bash (via nc <address> <port>) [view]

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

Advanced Penetration Testing

Hi [view]

By: Anuj Das | Related Lesson: SPF (part 4) Functionality for Agents | Modified: July 29, 2017

using Kali linux

intro [view]

By: Rajnish Kumar | Related Lesson: Linux (part 1) | Modified: July 29, 2017

Metasploit

service postgresql start service metasploit start   [view]

By: alexbit | Related Lesson: Metasploit (part 3) Operation | Modified: July 28, 2017

« First ‹ Previous 1 9 99 107 108 109 110 111 119 209 243 Next › Last »

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