Replace legacy batch/Node toolchain with Python CLI for authorized Wi-Fi exposure simulation - #49
Open
warengonzaga with Copilot wants to merge 6 commits into
Open
Replace legacy batch/Node toolchain with Python CLI for authorized Wi-Fi exposure simulation#49warengonzaga with Copilot wants to merge 6 commits into
warengonzaga with Copilot wants to merge 6 commits into
Conversation
Agent-Logs-Url: https://github.com/warengonzaga/wifi-passview/sessions/fb0f368f-2df8-4196-bc06-876aaa7476ca Co-authored-by: warengonzaga <15052701+warengonzaga@users.noreply.github.com>
Agent-Logs-Url: https://github.com/warengonzaga/wifi-passview/sessions/fb0f368f-2df8-4196-bc06-876aaa7476ca Co-authored-by: warengonzaga <15052701+warengonzaga@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Migrate project wifi-passview to Python-based CLI for red-team simulation
Replace legacy batch/Node toolchain with Python CLI for authorized Wi-Fi exposure simulation
May 7, 2026
warengonzaga
marked this pull request as ready for review
May 7, 2026 09:39
There was a problem hiding this comment.
Pull request overview
This PR replaces the legacy Batch/Gulp/Node implementation of wifi-passview with a Python 3.11+ CLI focused on authorized local Wi‑Fi credential exposure simulation on Windows, including structured reporting and a Python-based CI/testing setup.
Changes:
- Removed legacy Node/Gulp toolchain artifacts and Batch scripts (including build outputs and CI config).
- Added a Python
src/-layout package with CLI commands (capability,list-profiles,collect), a Windowsnetsh wlanadapter, and report generation (text + JSON). - Introduced pytest-based parsing fixtures/tests and a GitHub Actions workflow for Python CI.
Reviewed changes
Copilot reviewed 20 out of 23 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| yarn.lock | Removes Yarn lockfile as part of Node toolchain removal. |
| package.json | Removes Node/Gulp project metadata. |
| gulpfile.js | Removes Gulp build pipeline. |
| .circleci/config.yml | Removes CircleCI Node workflow. |
| wifi-passview-v5.0.0-sohee.bat | Removes legacy Batch CLI entrypoint. |
| dist/wifi-passview-v5.0.0-sohee.bat | Removes legacy built Batch artifact from dist/. |
| src/core.bat | Removes legacy Batch core script. |
| src/config.json | Removes legacy Batch/Gulp build configuration. |
| pyproject.toml | Adds Python packaging, console script entrypoint, and pytest dev extra. |
| src/wifi_passview/init.py | Introduces Python package + version. |
| src/wifi_passview/main.py | Adds python -m wifi_passview entry. |
| src/wifi_passview/cli.py | Implements CLI commands, authorization gate, exit codes, and reporting flow. |
| src/wifi_passview/capabilities.py | Adds capability detection wrapper. |
| src/wifi_passview/models.py | Adds datamodels for capabilities and findings. |
| src/wifi_passview/report.py | Adds report building + JSON/summary serialization + file writing. |
| src/wifi_passview/adapters/base.py | Defines OS adapter interface contract. |
| src/wifi_passview/adapters/windows.py | Implements Windows netsh wlan adapter + parsers. |
| tests/test_windows_adapter_parsing.py | Adds pytest coverage for parsing behavior. |
| tests/fixtures/netsh_profiles.txt | Adds fixture for netsh wlan show profiles output. |
| tests/fixtures/netsh_profile_detail.txt | Adds fixture for netsh wlan show profile ... key=clear output. |
| .github/workflows/python-ci.yml | Adds GitHub Actions CI to install Python deps and run pytest. |
| README.md | Rewrites documentation for Python CLI + authorized-use framing and usage examples. |
| .gitignore | Updates ignore rules for Python artifacts; retains node_modules/. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Owner
|
@copilot apply changes based on the comments in this thread |
Agent-Logs-Url: https://github.com/warengonzaga/wifi-passview/sessions/95fa6c2d-fa58-4912-827d-66c2968fbd5b Co-authored-by: warengonzaga <15052701+warengonzaga@users.noreply.github.com>
Agent-Logs-Url: https://github.com/warengonzaga/wifi-passview/sessions/95fa6c2d-fa58-4912-827d-66c2968fbd5b Co-authored-by: warengonzaga <15052701+warengonzaga@users.noreply.github.com>
…ling Agent-Logs-Url: https://github.com/warengonzaga/wifi-passview/sessions/95fa6c2d-fa58-4912-827d-66c2968fbd5b Co-authored-by: warengonzaga <15052701+warengonzaga@users.noreply.github.com>
Author
Implemented the requested updates from that review thread in commit Changes included:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Original prompt