No.393
> Thoughts, ideas what to put on there?
Porn, stale memes, inane political manifests, GOG games, viruses…
No.848
>>392Malware, obviously. Think USB rubber ducky, but through a wireless network card. No physical access needed, completely automated.
No.851
I have exactly that wireless antenna, which I actually bought for my RPi.
Can you tell me what OS you use with it? I've always had a lot of trouble running my RPi because I have to plug it to the tv for output, which is too far from the router so I can't just plug the ethernet cable
No.852
Is there a PDF on how to build one of these things?
Also how does a user connect to it and use it?
No.853
>>852Not a PDF, but rather a website:
https://piratebox.cc/raspberry_pi:diy Been done a hundred times in all different flavours (as part of ARG, as a data hub, etc)
No.854
>>851DIetPi,
>>852https://gitla.in/CBurner/phantom-apWhat CBurner is doing it recorded here, Its mainly installing services and configuring them the behave correctly.
No.887
>>851What antenna is it? I bought one that doesn't support AP mode.
No.894
I've done cburners config but I have yet to get one device to actually connect to the network. They all just time out while "obtaining ip" . I've been using mobile to test so perhaps the os does a DNS check and when it gets redirected it decides there is no network. Any way to subvert this?
No.895
>>894Sounds like your DHCP server isn't binding to the wifi adapter.
Have you set the static IP before starting the AP? And made sure dhcpd is running?
No.897
>>895Im using dnsmasq which is running. Do I need to use dhcpd as well?
No.898
>>895Oh just reread the guide nevermind. Im slow
No.899
I have a bit of experience doing this on mobile. The tools are a little restrictive but you could build probably build a decent meshnet or something. Just use a web server like bitweb or something and iptables rules
iptables -A FORWARD -p udp --dport 53 -j ACCEPT
iptables -A FORWARD -p udp --sport 53 -j ACCEPT
iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination IP here
iptables -P FORWARD DROP
No.902
>>898Me again, so ive managed to get this working. My test devices connect to the network, but the page doesn't pop up in the way a captive portal would. When I navigate to an http site on the test device it does show lighttpd server but https just times out.
No.903
>>902Im not using the lain.pem cert yet btw, that would probably allow https redirects right?
No.904
>>902HTTPS times out because you probably have not enabled it or generated a cert for it.
https://wiki.archlinux.org/index.php/Lighttpd#Enabling_https_via_SSLPage loads up when you connect directly yea?
No.905
>>904I enabled the cert and now https pages redirect if you bypass the warning. This is sufficient for me . However if its not unreasonable it would be awesome to be able to have a captive portal page pop up for users on mobile, that way garunteed people connecting to the ap will see it
No.906
>>905with HSTS its the best you will get.
If you have the redirect likes in your lighttpd config add
url.redirect-code = 302
above it, causing a 302 redirect will make phones prompt for the login page.
No.957
>>955Bretty cool,
deploying on of them would be quite a challenge, one I'm willing to accept
No.975
>>392I just recently constructed my own battery powered pirate web server for toting around to places where I know a lot of people will be looking for an open wifi network. I've got it set to redirect all HTTP requests to the web server which is running an imageboard that I've customized the aesthetics of pretty heavily. I've not had many people bite yet, but I'm also one that naturally tends to avoid large crowds of people in the first place so… yeah. I've been thinking about having one of my friends carry it around instead so I don't have to shoulder all the social anxiety myself.