Skip to content

Instantly share code, notes, and snippets.

View MaxwellDPS's full-sized avatar
🥔
P. O. T. A. T. O.

Max Watermolen MaxwellDPS

🥔
P. O. T. A. T. O.
View GitHub Profile
@MaxwellDPS
MaxwellDPS / config.json
Created April 9, 2020 16:38
PAGERMON CONFIG
{
"apikey": "",
"hostname": "https://wx.maxwelldps.com",
"identifier": "",
"sendFunctionCode": true,
"useTimestamp": true
}
@MaxwellDPS
MaxwellDPS / push.sh
Created April 9, 2020 16:37
PUSH TO WX
#!/bin/sh
ORG=$1
MSG=$2
IDENT="KOAX" # YOUR LOCAL FORCAST OFFICE CODE ie KOAX for Omaha, Lincoln, NE area
cd /path/to/your/pagermon/client
echo "POCSAG1200: Address: $IDENT-$ORG0 Function: 0 Alpha: $MSG" | node /path/to/your/pagermon/client/reader.js
#!/bin/sh
ffmpeg -loglevel panic -i http://127.0.0.1:8000/test -f s16le -ac 1 -ar 22050 -acodec pcm_s16le - | multimon-ng -t raw -a EAS /dev/stdin
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
fi
apt install git bison flex libgtk2.0-dev libpcap-dev libtool-bin
mkdir ~/build
cd build
wget https://www.wireshark.org/download/src/all-versions/wireshark-1.8.5.tar.bz2
tar xjvf wireshark-1.8.5.tar.bz2
diff -Naur a/configure.in b/configure.in
--- a/configure.in 2013-01-30 04:26:30.000000000 +1000
+++ b/configure.in 2013-01-31 21:49:06.000000000 +1000
@@ -2103,6 +2103,7 @@
plugins/m2m/Makefile
plugins/mate/Makefile
plugins/opcua/Makefile
+ plugins/p25/Makefile
plugins/profinet/Makefile
plugins/stats_tree/Makefile
@MaxwellDPS
MaxwellDPS / readme.md
Last active May 18, 2024 05:00
Install OP25 wireshark 1.8.5 updated 2019

Extending Wireshark with OP25

The WireShark packet sniffer normally doesn't support APCO P25. If you want to sniff P25 traffic using WireShark then you'll need to patch the sources and rebuild it. Tested and working on ubuntu 16.04.5

Want it done the easy way? Works on ubuntu 16/18

sudo wget -O - https://gist.githubusercontent.com/MaxwellDPS/bab40419e80bb1d2f940d7923d1e40a2/raw/38233899ec49e0416c4c63d6b7e2a2a59d7e85de/install.sh | bash
@MaxwellDPS
MaxwellDPS / sources.list
Created October 6, 2018 01:31
Ubuntu 18.04 Bionic default /etc/apt/sources.list
#deb cdrom:[Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426)]/ bionic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted