-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Captive Portal attack hangs on AP service start. #73
Comments
I think I found the bug. Check to see if this slightly older version works for you: https://github.com/FluxionNetwork/fluxion/tree/1aa3d96c8abb61922ad01bbab6235910570fa827 |
in debug mode this is log: Archive: /tmp/fluxspace/file.zip |
Check if only hostapd is affected by trying to use airbase-ng. If airbase-ng works, we can narrow it down to hostapd. |
yes on airbase-ng run correctly! but hostpad why not? and many window xterm remaining open after attack... fix it |
Ok cool, now we know it's an issue with hostapd only. Check what happens when you try running hostapd manually. Get the configuration file, either from /tmp/fluxspace or from the fluxion directory, depending on what commit version you're on. The file is called either APService.conf or MACADDRESS-hostapd.conf. You'll need to run fluxion and try to start the attack with hostapd so that the configuration file is generated. Once you've got the configuration file, and fluxion is still running trying to start hostapd, run the following command:
Post the results of the command here. |
when fluxion is running: root@kali:~/Scrivania# hostapd A0:4F:D4:B7:^^^^-hostapd.conf when fluxion is off and run hostapd: Could not read interface wlan0ap flags: No such device |
Did you run the command while fluxion was running the attack? |
yes.. the first part of post ^ |
Try creating the virtual interface yourself. First pick a wireless interface and start it as a monitor:
That should create a new interface, such as wlanXmon.
Post the results here. It could be your driver doesn't support virtual interfaces, which is why we're going to try this. Has fluxion with hostapd ever worked with that wireless card? |
root@kali:~# airmon-ng start wlan0 Found 3 processes that could cause trouble. PID Name PHY Interface Driver Chipset phy0 wlan0 rtl8187 Realtek Semiconductor Corp. RTL8187
root@kali: running all correctly iwconfig: wlan0mon IEEE 802.11 Mode:Monitor Frequency:2.457 GHz Tx-Power=20 dBm lo no wireless extensions. wlan0ap IEEE 802.11 Mode:Monitor Frequency:2.457 GHz Tx-Power=20 dBm root@kali:~# |
Ok, now try running hostapd with those interfaces you made, without starting fluxion (keep it closed). Make sure your interfaces are all still up by running:
wlan0mon should exits and should be in monitor mode, and wlan0ap should also still exist and be in monitor mode. If they're still there, launch the same command from earlier:
If hostapd starts successfully, there's a very high chance it's a problem with fluxion. If it throws an error, there's a high chance it's a problem with your driver. |
root@kali:~# iwconfig wlan0ap IEEE 802.11 Mode:Monitor Frequency:2.457 GHz Tx-Power=20 dBm eth0 no wireless extensions. lo no wireless extensions. root@kali:~# root@kali:~/Scrivania# hostapd A0:4F:D4ììììì-hostapd.conf |
i tryit airmon-ng check kill: Killing these processes: PID Name but nothing change for hostpad idem error |
It's extremely likely you've got a driver issue. I have a similar issue with a card using the rtl8192cu driver. I can't even bring it to monitor mode. As a last resort you can run:
That's the last I can help you with. |
https://bugs.kali.org/view.php?id=3751 there is not my problem but of kali |
Yeah, seems like it’s a driver issue. I’m closing this thread. I suggest using Atheros cards, I’ve never had any issues with them. Good luck. |
Do you want to request a feature or report a bug?
-> Bug
fluxion dont start captive portal
What is the current behavior?
-> Quit accidentally
no
If the current behavior is a bug, please provide the steps to reproduce.
-> A great way to do this is to provide screenshots and commands.
yes screenshot
What is the expected behavior?
-> Be creative
run fine at handshake but when change mode to hostapd dont start nothing.
If this is a feature request, what is motivation or use case for changing the behavior?
Specs
Wireless adapter:
ALFA awus036h
Does it support injection?
root@kali:~# aireplay-ng -9 wlan0
ioctl(SIOCSIWMODE) failed: Device or resource busy
10:25:07 Trying broadcast probe requests...
10:25:07 Injection is working!
Fluxion version:
Paste the output of
cat fluxion.sh | grep revision
3.0
Linux version:
4.11.0-kali1-amd64
The text was updated successfully, but these errors were encountered: