O'Reilly logo

Kali Linux Cookbook - Second Edition by Bob Perciaccante, Corey P. Schultz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it...

To create a tunnel with httptunnel, we will run through the following process:

  1. Validate the IP addresses of your Kali VM and your Ubuntu VM. For my purposes, my Kali box in 10.0.2.5 and Ubuntu is 10.0.2.6.
  2. First we will start in the Ubuntu VM where we are currently logged in and we want to start by elevating ourselves to the root by entering the following commands in the console:
sudo su <enter>
  1. We will now install httptunnel on the Ubuntu VM with the following commands and prepare it for operation:
apt install httptunnel <enter>service apache2 stop <enter>hts -F localhost:22 80 <enter>
  1. Switch over to the Kali VM and we will install, set up our client, and connect by entering the following commands:
In the previous labs, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required