jeff03038 Posted September 17, 2018 Share Posted September 17, 2018 (edited) Upgraded to Ubuntu 18.04, ran the wp6.sh script. The pineapple would work after I disconnected and reconnected and reset Network Manager but it would work sometimes. The Route Table was also messed up, it had dual entries for 172.16.42.0 as an example. Instead I came up with procedures that work really well. Take a look ---------------------------------------------------------------------------- prior to plugging Pineapple in #Ensure /etc/resolv.conf has DNS entries if not add DNS, ignore warnings nano /etc/resolvconf/resolv.conf.d #If nothing there add nameserver 8.8.8.8 nameserver 1.1.1.1 #Ensure ufw is disabled ufw disable #Make sure routing is enabled cat /proc/sys/net/ipv4/ip_forward #Set to 1 if 0 nano /proc/sys/net/ipv4/ip_forward #Plug-in Pineapple Route Table will look soemething like this: root@redsox1:~# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default _gateway 0.0.0.0 UG 0 0 0 wlo1 default _gateway 0.0.0.0 UG 20100 0 0 enx00c0ca914973 10.0.0.0 0.0.0.0 255.255.255.0 U 600 0 0 wlo1 link-local 0.0.0.0 255.255.0.0 U 1000 0 0 enx00c0ca914973 172.16.42.0 0.0.0.0 255.255.255.0 U 100 0 0 enx00c0ca914973 #Delete the additonal route added by the Pineapple route del -net 0.0.0.0/0 dev enx00c0ca914973 Table should look like this root@redsox1:~# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default _gateway 0.0.0.0 UG 0 0 0 wlo1 10.0.0.0 0.0.0.0 255.255.255.0 U 600 0 0 wlo1 link-local 0.0.0.0 255.255.0.0 U 1000 0 0 enx00c0ca914973 172.16.42.0 0.0.0.0 255.255.255.0 U 100 0 0 enx00c0ca914973 #http into the pineapple http://172.16.42.1:1471 and change the default route to 172.16.42.201 #Web into 172.16.42.1:1417 and make sure you can update bulletins #Now you have internet sharing with the Pineapple!!! Edited September 17, 2018 by jeff03038 mispelled word Quote Link to comment Share on other sites More sharing options...
Just_a_User Posted September 17, 2018 Share Posted September 17, 2018 I use Ubuntu 18 and dont use the script - its bestr to set it up manually in my experience. See my post here : - Quote Link to comment Share on other sites More sharing options...
olsenwc Posted September 17, 2018 Share Posted September 17, 2018 Just_a_user, I have followed your post mentioned above for both Ubuntu 18.04 and Kali 2018.3 with no success. I created an ethernet connection named nano and assigned it an ip of 172.16.42.42/24. When testing the connection it will still not connect to receive bulletins. Quote Link to comment Share on other sites More sharing options...
Just_a_User Posted September 17, 2018 Share Posted September 17, 2018 (edited) 1 minute ago, olsenwc said: When testing the connection it will still not connect to receive bulletins. did you follow the nm-connection-editor part? Specifically the "Browse to ipv4 settings tab and use the drop down menu to select "Shared to other computers" " Edited September 17, 2018 by Just_a_User Quote Link to comment Share on other sites More sharing options...
olsenwc Posted September 17, 2018 Share Posted September 17, 2018 I did. Though I did the nm-connection-editor with the pineapple connected. Quote Link to comment Share on other sites More sharing options...
Just_a_User Posted September 17, 2018 Share Posted September 17, 2018 Just now, olsenwc said: I did. Though I did the nm-connection-editor with the pineapple connected. shouldn't make a difference, but once the changes are made and saved/closed you will need to either disable then re-enable the connection using network manager switch. or unplug and re-plug the nano to take effect. Im using this method now for ICS all my hak5 gear so i know the method is solid. Quote Link to comment Share on other sites More sharing options...
olsenwc Posted September 17, 2018 Share Posted September 17, 2018 This is a screen capture after I turned off the connection and then turned it back on. On the left is the nm setup. Quote Link to comment Share on other sites More sharing options...
Just_a_User Posted September 17, 2018 Share Posted September 17, 2018 this after you have run the wp6 script right? maybe that's borked your iptables. i haven't run that script and ONLY set up manually. Try flushing the rules (backing up any others you have entered/need). That's the only difference i can think of. Quote Link to comment Share on other sites More sharing options...
olsenwc Posted September 17, 2018 Share Posted September 17, 2018 I have not run the script and this is a fresh install Quote Link to comment Share on other sites More sharing options...
Just_a_User Posted September 17, 2018 Share Posted September 17, 2018 1 minute ago, olsenwc said: I have not run the script and this is a fresh install Then i don't know what to suggest. If i get time tomorrow i will try and download Kali (I'm using Ubuntu 18) and see if I get the same issues. For now i sleep. Quote Link to comment Share on other sites More sharing options...
olsenwc Posted September 17, 2018 Share Posted September 17, 2018 not a problem I will try with a fresh install of Ubuntu 18.04 Quote Link to comment Share on other sites More sharing options...
softcoder Posted May 5, 2019 Share Posted May 5, 2019 For Ubuntu 18.04 just install the legacy net tools and re-run the script: sudo apt install net-tools sudo ./wp6.sh Quote Link to comment Share on other sites More sharing options...
unkwn1 Posted October 18, 2019 Share Posted October 18, 2019 You should install net-tools. However, the issue with the wp6 script lies with how it sets up iptables. I've used the commit approved by H4xl0r on May 27, 2018. I dont know how this fix has been pending approval for so long whilst the forums are littered by repeat topics about ICS linux issues revolving around the wp6 script. Below is a link to the raw file with the changes:https://github.com/hak5darren/wp6/blob/ac2484b551f9f22d41b0b51df0c98ecb8b22d789/wp6.sh Create a wp6.sh file with the raw content from that pull request. I can confirm it works and you dont need to manually set ipv4 ip's or deal with nm-connection-editor Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.