Skip to content

Webui ap wifi sequence#2152

Open
WrackerTony wants to merge 2 commits intoBruceDevices:devfrom
WrackerTony:webui-ap-wifi-sequence
Open

Webui ap wifi sequence#2152
WrackerTony wants to merge 2 commits intoBruceDevices:devfrom
WrackerTony:webui-ap-wifi-sequence

Conversation

@WrackerTony
Copy link
Contributor

Proposed Changes

This pull request fixes a crash/failure in the Web UI when launching WiFi features while the device is running in AP mode.
WiFi features are now deferred until the user completes configuration and explicitly confirms execution. Upon confirmation, the Web UI/AP mode is cleanly stopped and the selected WiFi feature is started, avoiding simultaneous WiFi mode conflicts.

This is a minimal sequencing fix and does not redesign the Web UI or WiFi features.

Types of Changes

Bugfix – prevents Web UI WiFi features from crashing due to AP/WiFi mode conflicts

Behavior improvement – defers execution until user confirmation

Verification

Start the device and open the Web UI in AP mode

Navigate to a WiFi feature (Evil Portal, Deauth Flood, target attacks, etc.)

Complete the configuration steps in the Web UI

Confirm execution

Verify that:

The Web UI/AP mode shuts down cleanly

The selected WiFi feature starts successfully

No crash or WiFi conflict occurs

Testing

Linked Issues

User-Facing Change

Further Comments

@bmorcelli
Copy link
Member

Are all those changes on the embedded webUi files (html, js and css) needed?

@WrackerTony
Copy link
Contributor Author

They add a user-facing note that the Web UI will stop after the WiFi attack configuration finishes, and they also adjust the command sequence so execution waits for user confirmation before sending commands. This ensures AP mode shuts down cleanly before starting the WiFi feature, avoiding conflicts or crashes. So ig the Web UI changes are needed, but if you want I can adjust them as you prefer and remove some changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants