From ff8c465e665c48bdce4c34c10d89fbca17020944 Mon Sep 17 00:00:00 2001 From: UserXGnu Date: Sun, 12 Aug 2018 21:36:25 +0100 Subject: [PATCH] adding pivoting --- CheatSheets/pivoting/readme.md | 17 +++++++++++++++++ README.md | 6 ++++-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 CheatSheets/pivoting/readme.md diff --git a/CheatSheets/pivoting/readme.md b/CheatSheets/pivoting/readme.md new file mode 100644 index 0000000..89e0d85 --- /dev/null +++ b/CheatSheets/pivoting/readme.md @@ -0,0 +1,17 @@ +# Pivoting +--- + +## VPNPivot + +#### On attacker machine + +`$ sudo pivots -i -p -H -v` + +* is the virtual interface for the vpn itself, as example openvpn often creates tap0 or tun0, you can choose whaterver you want, like pwn0; +* MAC address for the newly created device; +* whatever unused port you want + + +#### On target machine + +`$ sudo pivotc ` diff --git a/README.md b/README.md index c26957c..765d966 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,10 @@ This repo also helps who trying to get OSCP. You'll find many ways to do somethi * Windows * [Windows/Privilege-Escalation](https://github.com/Kitsun3Sec/Pentest-Cheat-Sheets/tree/master/CheatSheets/windows/priv_esc/) * [HASHDUMP](https://github.com/Kitsun3Sec/Pentest-Cheat-Sheets/tree/master/CheatSheets/windows/hashdump/) +* Pivoting + * [VPNPivot](https://github.com/Kitsun3Sec/Pentest-Cheat-Sheets/tree/master/CheatSheets/pivoting/readme) -### Resources +### Resources * Wordlists * [PacketStorm](https://packetstormsecurity.com/Crackers/wordlists/dictionaries/) * [SecList](https://github.com/danielmiessler/SecLists) @@ -50,7 +52,7 @@ This repo also helps who trying to get OSCP. You'll find many ways to do somethi * [Pastebin](https://pastebin.com) * Tables * [RainbowCrack](https://project-rainbowcrack.com/table.htm) - + ## Contribution [HOW TO](https://github.com/Kitsun3Sec/Pentest-Cheat-Sheets/tree/master/contribution.md)