we will run rforward py from our windows system and configure it to be the middle man as we tunnel traffic from web server to our kali ssh server :\tmp\demos>rforward py - - : --user justin --password enter ssh passwordconnecting to ssh host : :\python \lib\site-packages\paramiko\client py: userwarningunknown ssh- sa host key for cb bb ec af aa (key get_name()hostnamehexlify(key get_fingerprint()))now forwarding remote port to : you can see that on the windows machinei made connection to the ssh server at and opened port on that serverwhich will forward traffic to port so now if browse to through the ssh tunnelas shown in figure - figure - reverse ssh tunnel example if you flip back to the windows machineyou can also see the connection being made in paramikoconnectedtunnel open ( ' -( ' -( ' ssh and ssh tunnelling are important to understand and use knowing when and how to ssh and ssh tunnel is an important skill for black hatsand paramiko makes it possible to add ssh capabilities to your existing python tools we've created some very simple yet very useful tools in this encourage you to expand and modify as necessary the main goal is to develop firm grasp of using python networking to create tools that you can use during penetration testspost-exploitationor while bug-hunting let' move on to using raw sockets and performing network sniffingand then we'll combine the two to create pure python host discovery scanner [ the full socket documentation can be found here[ this discussion expands on the work by hussam khraiswhich can be found on