Man in the middle with hamster and ferret
Hamster is a tool that can be used for sidejacking. It acts as a proxy server, while ferret is used for sniffing cookies in the network. In this recipe, we will look at how to hijack some sessions!
Getting ready
Kali already has the tool preinstalled, so let's see how to run it!
How to do it...
Hamster is extremely easy to use and comes with a UI too. Follow the given steps to learn the use of hamster:
- We start by typing the following command:
hamster
The following screenshot shows the output for the preceding command:
- Now we just need to fire up our browser and navigate to
http://localhost:1234
:
- Next, we need to click on
adapters
and choose the interface we want to monitor:
- We will wait for a while and we will see sessions in the tab on the left-hand side tab:
Note
If you don't see sessions after a few minutes, it may be because hamster and ferret are not in the same folder. Hamster runs and executes ferret along with it in the background. Â
Some users...