Skip to content

docs: add missing python script readmes and fix sequence diagrams - #129

Closed
bhushan4work wants to merge 1 commit into
amandewatnitrr:mainfrom
bhushan4work:fix#34
Closed

bhushan4work wants to merge 1 commit into
amandewatnitrr:mainfrom
bhushan4work:fix#34

Conversation

@bhushan4work

Copy link
Copy Markdown
Contributor

description

  • added missing readmes for monitor_mode_toggle.py and netwwork_scanner_tutorial.py.
  • fixed broken markdown fences and sequence diagram formatting in existing readmes.
  • corrected the script filename and documented the root-privilege check in arp_spoof_detector.md.
  • added a missing sequence diagram to the bettercap arp spoofing documentation.
  • ensured all 18 python scripts have corresponding readmes with usage details, code explanations, and valid mermaid sequence diagrams.

verification

  • verified readme coverage for all 18 python files.
  • validated all 18 mermaid diagrams and markdown fences.
  • checked existing image references.
  • ran wordlist_generator.py in google colab and verified that it generated 50 entries.

related issues

screenshots / videos

Screenshot 2026-10-18 at 2 16 36 PM

…amandewatnitrr#34)

- add monitor-mode-toggle.md and netwwork_scanner_tutorial.md covering usage,
  prerequisites, inputs/outputs, code flow and a mermaid sequence diagram
- close the unclosed ```mermaid fences in 12 script readmes so the sequence
  diagrams render instead of swallowing the rest of the file
- restructure arp_spoof_detector.md (close bash fence, fence the diagram as
  mermaid, correct script name, include the root check branch)
- add a sequence diagram to bettercap_arp_spoofing_script_auto.md
- drop a stray trailing fence in mitm_attack_automation_readme.md
@vercel

vercel Bot commented Oct 18, 2026

Copy link
Copy Markdown

@bhushan4work is attempting to deploy a commit to the amandewatnitrr's projects Team on Vercel.

A member of the Team first needs to authorize it.

@amandewatnitrr

Copy link
Copy Markdown
Owner

Hi @bhushan4work

I am personally working on this so, for now I will not merge the MR. Sorry for inconvenience.

@bhushan4work

Copy link
Copy Markdown
Contributor Author

works , thanks for the followup , I ll work on other issues .

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The new arp_spoof_detector.md sequence diagram depicts the id -u root check as a working gate, contradicting the same file's own note that the check is broken because stdout is None.

1 open issue
What changed in this PR

This documentation PR fulfills issue #34 by ensuring every Python script under python-scripts/ has a companion README with usage details, a code walkthrough, and a valid Mermaid sequence diagram. It fills coverage gaps and repairs rendering defects so the diagrams and code fences display correctly on GitHub. The changes are documentation-only — no Python logic is modified.

Changes:

  • Added two new READMEs (monitor-mode-toggle.md, netwwork_scanner_tutorial.md) and a new sequence diagram section for bettercap_arp_spoofing_script_auto.md.
  • Repaired unclosed/orphaned code fences across many existing READMEs so Mermaid and code blocks render (adding closing ``` fences, removing one stray trailing fence).
  • Corrected the run command in arp_spoof_detector.md (arp_detector.py → arp_spoof_detector.py) and expanded its diagram to include the root check.
File Description
python-scripts/​netwwork_scanner_tutorial.md New README; accurately documents the minimal Scapy ARP scan demo and its flow.
python-scripts/​monitor-mode-toggle.md New README; diagram matches the script's mode-toggle logic and error branches.
python-scripts/​arp_spoof_detector.md Fixes run command, adds mermaid fence and a root-check branch to the diagram.
python-scripts/​bettercap_arp_spoofing_script_auto.md Adds a code-flow sequence diagram consistent with the script.
python-scripts/​mitm_attack_automation_readme.md Removes a stray trailing code fence, rebalancing the file.
python-scripts/​wpa2_dictionary_attack.md Adds missing closing fence for the Mermaid diagram.
python-scripts/​wpa_wps_hack.md Adds missing closing fence for the Mermaid diagram.
python-scripts/​wordlist_generator.md Adds missing closing fence for the Mermaid diagram.
python-scripts/​wep_wifi_hacking.md Adds missing closing fence for the Mermaid diagram.
python-scripts/​remote_collect_via_ssh.md Adds missing closing fence for the Mermaid diagram.
python-scripts/​portscanner_test.md Adds missing closing fence for the Mermaid diagram.
python-scripts/​network_scanner.md Adds missing closing fence for the Mermaid diagram.
python-scripts/​mitm_attack_automator.md Adds missing closing fence for the Mermaid diagram.
python-scripts/​ids_probe.md Adds missing closing fence for the Mermaid diagram.
python-scripts/​https_data_fetcher_bettercap.md Adds missing closing fence for the Mermaid diagram.
python-scripts/​deauth_attack.md Adds missing closing fence for the Mermaid diagram.
python-scripts/​async_port_scanner.md Adds missing closing fence for the Mermaid diagram.

Review effort: Balanced

Comment on lines +39 to +41
Script->>OS: Root check with id -u
alt Not running as root
Script->>User: Print root-privilege error and exit (1)
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.

Code Explaination readme addition

3 participants