This is just informational for anyone who wants to use the pineapple with a VM image.
I wanted to use a VM image to route the traffic through using internet connection sharing (ICS). I am running Windows 7 as the host, running the VM image of BT5 R1.
I used the VM virtual network editor:
on VMnet0 I have set it to Bridged and selected it to Bridge to the WiFi adapter.
on VMnet9 I have set it to Bridged ans selected it to Bridge it the Ethernet adapter.
On the VM image I have two network adapters:
Network Adapter: Custom (VMnet0)
Network Adapter 2: Custom (Vmnet9)
I am connected to wifi network at the house which is providing DHCP of 10.1.3.0/24.
I setup eth5 (ifconfig 172.16.42.42 netmask 255.255.255.0)
Setup eth4 (dhclient eth4) (dhcp pulls from wifi)
At this point.
I can ping google.com and the pineapple (172.16.42.1).
I can surf to either webpage.
I connect another laptop to the ssid "pineapple". (I know ICS not setup....yet)
On the "victim":
I run ipconfig and ip was 172.16.42.167.
Can't surf to google or ping google.com (Again, I know ICS not setup yet)
Can surf to 172.16.42.1 and surf to pineapple page.
Time to setup ICS
Now I run the wp3.sh
Input in order:
Pineapple netmask: 255.255.255.0
Pineapple network: 172.16.42.0/24
Interface between pc and pineapple: eth5
Interface between pc and internet: eth4
Internet Gateway: 10.1.3.1
IP Host PC: 172.16.42.42
IP Pineapple: 172.16.42.1
script finishes and looks good.
on the VM:
ping google.com good!
ping pineapple good!
surf google.com good!
surf pineapple good!
on victim:
ping google no good!
surf google good!
ping pineapple good!
surf pineapple good!
So traffic is good!
on the VM:
start wireshark and capture on the any interface.
traffic is routed through the VM.
This provides a great way to still use your tools in backtrack VM.
Thanks to the HAK5 team!