Skip to content

Doom3

Pre-release
Pre-release

Choose a tag to compare

@ariDev1 ariDev1 released this 18 Jul 18:04
· 6 commits to master since this release

💀 DOOM3 SCPI Toolkit for Rigol MSO5000 Series

This is a brutal, fully-featured SCPI interrogation and fuzzing toolkit for Rigol MSO5000 oscilloscopes — with smart command discovery, waveform capture, interactive autocompletion, and now even... brainwashing.


⚡ Features

  • 🔍 List all connected VISA instruments
  • 🧪 Run full SCPI test suites on the scope
  • 🎯 Test SCPI command groups (e.g., MATH1, CHANnel1, etc.)
  • 💣 Fuzz the scope with randomized SCPI input
  • 🧠 Discover undocumented SCPI commands (learn mode)
  • ✉️ Send arbitrary SCPI commands via CLI or interactive TAB-autocomplete shell
  • 🧾 Query Rigol license key status via HTTP
  • 📉 Retrieve waveform data over USB or LAN
  • 🤖 Interactive SCPI shell with fuzzy autocompletion (TAB support!)
  • 🧬 Learns and stores SCPI capabilities per device, avoiding cross-contamination
  • 🌈 Colored output for better readability (green ✅, yellow ⚠️, red ❌)
  • 🐰 Pinky mode: An easter egg console with randomized quotes (see below)

🚀 Usage

List Devices

doom3 list

Run full test

doom3 test --ip 192.168.2.70

Run a specific group

doom3 group MATH1 --ip 192.168.2.70

Query licenses

doom3 licenses 192.168.2.70

Get waveform

doom3 waveform CHAN1 --ip 192.168.2.70

Learn new SCPI commands

doom3 learn --ip 192.168.2.70

Fuzz the hell out of it

doom3 fuzz --ip 192.168.2.70

Send a command directly

doom3 send ":CHANnel1:SCALe?" --ip 192.168.2.70

Or use interactive mode with autocompletion:

doom3 send --ip 192.168.2.70

Then type and press TAB:

🧠 SCPI> :CHANnel1:SCALe?

🐰 Pinky Mode (Easter Egg)

Activate full Gehirnwäsche mode with randomized Pinky & the Brain quotes:

doom3 pinky

Press CTRL+C to exit the trance state.

Each line is colorized and unpredictable. Side effects may include spontaneous SCPI enlightenment.


📂 Logs & Learning

  • All logs are saved to doom3_log_* with timestamps.
  • Learned SCPI commands are saved per device, using the scope’s ID.
    Example:
    learned_scpi_latest_RIGOL_TECHNOLOGIES_MSO5074_MS5A233905324.txt
    

🛠 Requirements

  • Python 3.6+
  • pyvisa, readline, requests
  • VISA backend (NI-VISA or pyvisa-py)
  • Rigol MSO5000-series oscilloscope (USB or LAN)

⚠️ Warnings

  • Fuzzing and learn modes can push the scope into unstable states.
  • Always test with caution and log your results.
  • Mixing learned SCPI commands from multiple scopes is now prevented (by design).

☠️ Credits

  • Inspired by Pinky & the Brain
  • BFG9000 included
  • Developed under the influence of Rigol logic analyzer patterns