python3 pineapple_detector.py --quick- β Safe to use network
- β Continue normal activities
- β Run full test when convenient
- π΄ DISCONNECT IMMEDIATELY
- π± Switch to cellular/trusted network
- π Investigate before reconnecting
- π Report to network admin
| Sign | Threat | Action |
|---|---|---|
| DNS pointing to private IPs | Pineapple/MITM | DISCONNECT |
| SSL certificate errors | Certificate manipulation | DISCONNECT |
| Firewall disabled | System exposure | ENABLE FIREWALL |
| VNC/SSH exposed | Remote access risk | SECURE SERVICES |
# Enable firewall immediately
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate on
# Quick network check
ping -c 2 8.8.8.8
# Check current WiFi
networksetup -getairportnetwork en0- Network name matches expected?
- Any duplicate network names?
- Run quick test first
- All tests passed?
- Any threats detected?
- Firewall enabled?
- System secure?
# Enable firewall + stealth mode
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate on
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setstealthmode on
# Flush DNS cache
dscacheutil -flushcache
# Check exposed services
netstat -an | grep LISTEN- Disconnect WiFi
- Document findings
- Notify security team
- Switch to VPN/cellular
- Enable firewall
- Secure exposed services
- Full security audit
- Monitor for intrusion
π± Keep this handy when using untrusted WiFi!