Links with instructions
Nothing fancy, just a personal log with a built in search function so I can recall what is easily forgotten.
Thursday, September 30, 2021
Monday, September 27, 2021
My Blockchain Info Links
I use AIDE and Kick Web Server. In fact, have coded and published apps to Google Play directly from an Android tablet.
Saturday, September 11, 2021
Android Pyroid3, Kick Web Server with MySQL - Unknown character set: utf8mb4
Upon running a python script that worked a year ago, I now get "Unknown character set: utf8mb4"
Apparently this error occurs when your MySQL version is less than 5.5.3.
Kick Web Server is running 5.1.62.
Resolved error by specifying the charset in the python script's mysql connection.
Wednesday, September 8, 2021
Kali Linux - Cubic SDR and DSD Plus
The overall goal here is to connect a Nooelec USB antenna to Kali linux and listen to police frequencies that are digital and trunked. You will use the Cubic SDR frequency tuner and a virtual audio feed while DSDPlus decodes a digital signal to analog audio. The flow is as follows: antenna -> digital signal input -> Cubic SDR -> DSDPlus -> analog audio out.
Download DSD Plus v1.101 and v1.101 DLL and put all extracted files into the same folder. https://www.dsdplus.com/download-2/
sudo apt-get install cubicsdrFrom the command line, temporarily set up virtual audio sink with:
pacmd load-module module-null-sink sink_name=Virtual_Sink sink_properties=device.description=Virtual_Sink
Click volume control to see a Virtual Sink in the pulse audio i/o devices.If not, then try restarting pulse audio with killall pulseaudio, systemctl --user restart pulseaudio.service
To make the virtual sink option permanent, open the configuration file (sudo gedit /etc/pulse/default.pa) and add the following line at the bottom of file)
load-module module-null-sink sink_name=Virtual_Sink sink_properties=device.description=Virtual_Sink
If wine is not already installed then,sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install wine:i386
sudo apt-get install wine32
From your DSDPlus directory run wine DSDPlus.exe
At first I got an error: wine_process_init L"C:\\windows\\system32\\-h.exe" not found,
so I deleted the /HOME/.wine directory
and ran regedit to recreate the .wine directory.
Then I ran wine winecfg and selected auto detect drives.
Finally, I was able to run wine DSDPlus.exe successfully.
Start CubicSDR, which should be in the Kali Linux Menu
Tune to desired frequencies. Both Cubic SDR and DSDplus should display wave activity.
This is what volume control playback should look like:
These are Los Angeles Police frequencies: 506.937MHz and 507.212Mhz
Tuesday, September 7, 2021
GRGSM_LIVEMON - segmentation fault
Monday, September 6, 2021
Kali Linux - inRelease is not valid yet
Wednesday, September 1, 2021
GRGSM_LIVEMON - Warning: failed to XInitThreads()
sudo apt-get install libx11-dev
sudo apt-get install xauth dbus-x11
Run grgsm_livemon and now no warning message
GRGSM_LIVEMON and [ERROR] avahi_service_browser_new() failed: Bad state
I am running Kali Linux in Oracle VM Virtual Box on a Windows 10 machine.
I mostly followed the instructions at Pentesting to get GRGSM_LIVEMON and the HackRF installed.
There are many resources that provide instructions on how to install the HackRF so that hackrf_info on the command line will list the device.
What I want to address here is this error when running grgsm_livemon:
[ERROR] avahi_service_browser_new() failed: Bad state
The frequency sink still shows but the error troubled me so I did the following:
sudo apt-get install avahi-daemon
sudo apt-get install avahi-discover
sudo apt-get install -y avahi-utils
Switch to directory kali@kali:/etc/init.d$
./avahi-daemon stop
kali@kali:/etc/init.d$ ./avahi-daemon status
kali@kali:/etc/init.d$ ./avahi-daemon start
grgsm_livemon
!!!!! Ran with no Avahi Bad state error !!!!