Gps

From 0dayInc/pwn · View interactive version

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

How to use this skill

Skill file

PWN::SDR::Decoder::GPS

GPS L1 C/A acquisition (.detect) and optional native IQ/LNAV decoding. LNAV framing/parity does not imply ephemeris assembly or PVT. Parallel-code-phase search: 1 ms of I/Q resampled to 2.046 Msps (2 samp/chip), FFT-correlated (via PWN::FFI::FFTW.cfft) against each PRN 1..32 Gold code across ±5 kHz Doppler in 500 Hz steps. Emits {prn:, doppler_hz:, code_phase_chips:, cn0_db_hz:} for every satellite whose peak/next-peak ratio clears threshold — the same cold-start acquisition every GNSS receiver runs, no gnss-sdr binary.

When to use

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

Do not reimplement it in shell.

Methodologies

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

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

How to call

PWN::SDR::Decoder::GPS.help
PWN::SDR::Decoder::GPS.parse_packet(opts)

Public methods

Source

pwn/sdr/decoder/gps.rb

Verification

PWN::SDR::Decoder::GPS.respond_to?(:parse_packet) 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.