Pwn Sdr Decoder Morse

Drive PWN::SDR::Decoder::Morse from pwn_eval.

0dayInc Updated
PWN demo: original fade-in, then a fixture playback of pwn-ai reviewing app.example.test on this host. No provider call. Not a verified engagement.

File contents

PWN::SDR::Decoder::Morse

Pure-Ruby CW / Morse decoder for the amateur CW sub-bands. GQRX's CW/USB demodulator produces a ~600–800 Hz sidetone in the 48 kHz UDP audio stream. This module envelope-detects the tone with a state-preserving single-pole low-pass, adaptively thresholds it into on/off runs, classifies each run as dit / dah / char-gap / word-gap by timing, and looks the resulting .- sequences up in DSP::MORSE_TABLE. No multimon-ng, no sox.

When to use

Call PWN::SDR::Decoder::Morse from pwn_eval when the task needs this module. Do not reimplement it in shell.

Methodologies

Generated from pwn/sdr/decoder/morse.rb. Prefer the public class methods below. Class methods take (opts = {}) and read opts.

How to call

PWN::SDR::Decoder::Morse.help
PWN::SDR::Decoder::Morse.detect(opts)

Public methods

  • detect
  • decode
  • decode_string
  • authors
  • help

Source

pwn/sdr/decoder/morse.rb

Verification

PWN::SDR::Decoder::Morse.respond_to?(:detect) after the module is loaded. Read the source for parameter names.

0dayInc/pwn commit 937ed8630d

Frequently asked questions

npx get-skill add 0dayinc/pwn-sdr-decoder-morse