Pocsag

From 0dayInc/pwn · View interactive version

Pocsag is an AI agent skill from the GitHub repository 0dayInc/pwn. Drive PWN::SDR::Decoder::POCSAG from pwn_eval.

How to use this skill

Skill file

PWN::SDR::Decoder::POCSAG

Pure-Ruby POCSAG (CCIR Radiopaging Code No. 1) decoder. GQRX supplies NBFM-discriminator audio on its 48 kHz UDP tap; for a 2-FSK pager channel that is already an NRZ baseband whose sign encodes the bit. This module NRZ-slices at 512/1200/2400 baud, locks onto the 32-bit Frame Sync Codeword (0x7CD215D8), then walks each 8-frame batch of BCH(31,21)+parity codewords, extracting address (RIC/capcode + function bits) and message codewords (numeric BCD or 7-bit ASCII). No multimon-ng, no sox.

When to use

Call PWN::SDR::Decoder::POCSAG from pwn_eval when the task needs this module.

Do not reimplement it in shell.

Methodologies

Generated from pwn/sdr/decoder/pocsag.rb. Prefer the public class methods below.

Class methods take (opts = {}) and read opts.

How to call

PWN::SDR::Decoder::POCSAG.help
PWN::SDR::Decoder::POCSAG.correct_word(opts)

Public methods

Source

pwn/sdr/decoder/pocsag.rb

Verification

PWN::SDR::Decoder::POCSAG.respond_to?(:correct_word) after the

module is loaded. Read the source for parameter names.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.