Jump to content

NullNull

Active Members
  • Content Count

    210
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by NullNull

  1. HAHAHAHAHAHAHAHAHA :lol: :lol: :lol:
  2. Raspberry Pi 2 (Middle) Alfa NHA (Access Point, Left) Alfa 036H (Deauth, Right) Anker 3 10.000 mah Pelican Case 1040 Running Kali 1.1.0 amd64 (with autostart: hostapd, dnsmasq, nginx, php-fpm, vncserver, mdk3)
  3. Yeap, Nodogsplash can't handle php :(. So here is what i did! (using a mk4 after a clean flash) 1) save the default iptables configuration (iptables-save > default_iptables.conf) 2) edit nodogsplash.conf to include only the gateway and users-to-router rules (allowing also 1471) 3) run nodogsplash and save it's iptables configuration (iptables-save > portal_iptables.conf) 4) stop nodogsplash 5) edit your dnsmasq for the 1.1.1.1 and run it. 6) change your web server port to 2050 and restart it. 7) aply the portal iptables (iptables-restore portal_iptables.conf) 8)You should be g
  4. After some more testing i see that the captive portal notification will pop up on Android tablets (Nexus 9 on 5.0, Samsung Tab 4 on 4.4.2) and not on Android mobiles (Galaxy S4 on 4.4.2). Although when surfing the web all traffic gets redirected. (even clients3.google.com/generate_204). Only way to pop the browser on my galaxy S4 is "address=/#/1.1.1.1" along with nodogsplash. I will try to replicate the iptables nodogsplash creates. Sounds easy.. Sorry but i dont have any others devices for testing :P NOTE: I deleted the previous post until i find something more stable!!!
  5. i'm glad you figured it out ;) next days i will have some free time, i will test it and post the results :)
  6. Are you referring to Android/iOS captive portal detection?So let my get that straight :P 1) You are running dnsmasq with lets say "address=/#/8.8.8.8" 2) Then dnsspoof with "*" redirecting everything to 172.16.42.1 3) Then nodogsplash. 4) And finaly the iptables from the second post redirecting all port 80 and 53 traffic to 172.16.42.1 Am i correct?
  7. yes. this will not redirect https or hsts but i think neither will nodogsplash...
  8. yes and it is working every time ... As you can see here: https://forums.hak5.org/index.php?/topic/34663-nodogsplash/#entry257631 i did not said i managed nodogsplash to work with out internet connection. Actualy i said that none of the captive protal "managers" i used, worked with out internet connection. The above commands have nothing to do with nodogsplash. I dont even have it installed right now. I just placed a simple html file in the www folder and configured dnsmasq. Try searching the web for "dnsmasq captive portal" , "dnsmasq walled garden" "dnsmasq splash screen"
  9. Sorry for that.. You get the same 502 error on all your browsers and clients?
  10. can you post the "cat /etc/dhcp" output? EDIT: just saw your dnsmasq.conf, no opendns server there. :/
  11. No need to run nodogspalsh with all that. reboot your pineapple and try it again. Also before testing it clear you browsers cache.
  12. hey johnsteiner, if you want just to serve a splash page ssh into your pineapple and try this: /etc/init.d/dnsmasq stop cp /var/etc/dnsmasq.conf /tmp/dnsmasq.conf sed -i '/address=/a address=/#/172.16.42.1' /tmp/dnsmasq.conf /usr/sbin/dnsmasq -C /tmp/dnsmasq.conf iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination 172.16.42.1 iptables -t nat -A PREROUTING -p tcp --dport 53 -j DNAT --to-destination 172.16.42.1 iptables -t nat -A PREROUTING -p udp --dport 53 -j DNAT --to-destination 172.16.42.1 This will make dnsmasq to resolve all domains to your pineapple's IP (172.16.4
  13. Thank you newbi. Trying to fix it with nodogsplash or any other captive portal manager didn't work for me. After a lot of search think dnsmasq and iptables is the way to do it. address=/#/172.16.42.1 at the dnsmasq.conf and iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination 172.16.42.1 iptables -t nat -A PREROUTING -p tcp --dport 53 -j DNAT --to-destination 172.16.42.1 iptables -t nat -A PREROUTING -p udp --dport 53 -j DNAT --to-destination 172.16.42.1 this might work but i need to test it.
  14. Sorry but i think it can be posted here too Because thats me Thank you, i saw that post but chillispot seems way to complicate to setup for something so simple..
  15. Hello everyone, I have create a very simple html which is the only page i want my clients to see. Like a captive portal but not intrested in giving them internet connection. I am having problems with nodogsplash which does not redirect any traffic when my pineapple is not connected to the internet. I know i can use "Evil Portal" but i am trying to make this manual. I also noticed that nodogsplash is at 0.9_beta9.9.9 but opkg brings 0.9_beta9.9.6 (not only pineapple, openwrt too) Does the pineapple have to be connected to the internet for nodogsplash to work? Is there a way to replicate the i
  16. Thank you for your interest guys! V 1.1 is out at the main post.
  17. Hello everyone. For the past few months i am using my pineapple as a kind of access point repeater with the help of "Wifi Manager" infusion (thanks Whistle Master!!! ). Wlan1 is connected to my home network on client mode and wlan0 is running an open, internet sharing, wireless netowork (from boot). The connection between my home network and my pineapple is really bad so every now and then the connection drops. I wrote this script to check for internet and network connection and if its down try to get it back on. Maybe some of you will find it useful. EDIT: I have done some changes after s
  18. the present wifi manager for mark4 does.
  19. I guess that something didn't...
  20. undo by iptables -t nat -D PREROUTING -p tcp -dport 80 -j DNAT to-destination 172.16.42.1
  21. ssh into your pineapple and type: iptables -t nat -A PREROUTING -p tcp -dport 80 -j DNAT to-destination 172.16.42.1 This will redirect all trafic (from port 80) to 172.16.42.1
  22. have you ever worked with one of these? what about the noise?
×
×
  • Create New...