Skip to content

Instantly share code, notes, and snippets.

@oneman
oneman / vscii.txt
Created November 3, 2023 08:30
Virginia Standard Code for Information Integration
A 00001
B 00010
C 00011
D 00100
E 00101
F 00110
G 00111
H 01000
I 01001
J 01010
/*
Hunting Russian Intelligence “Snake” Malware
The Snake implant is considered the most sophisticated cyber espionage tool designed and used by
Center 16 of Russia’s Federal Security Service (FSB) for long-term intelligence collection on sensitive
targets.
*/
rule Windows_Snake_Malware {
meta:
pacman -S libtool make automake autoconf gcc clang llvm pkg-config \
m4 gdb vim git intltool wayland cairo libxkbcommon alsa-lib jack \
flac opus libogg libsamplerate libvorbis libtheora libvpx ffmpeg \
xmms2 xcb-util-image xcb-proto xcb-util xcb-util-cursor \
xcb-util-image xcb-util-keysyms xcb-util-renderutil \
xcb-util-wm alsa-tools alsa-utils
@oneman
oneman / gist:8327108
Created January 9, 2014 00:03
juca juca juca
Getting Source:
mkdir kode
cd kode
git clone https://github.com/krad-radio/krad_radio.git
cd krad_radio
Updating source:
git pull
@oneman
oneman / gist:7711374
Last active December 29, 2015 18:29
Krad Radio Docker Test
Get docker and install it.
Enable IP Forwarding:
% sudo sysctl -w net.ipv4.ip_forward=1
Run the docker daemon:
% sudo docker -d &
Get the Krad Radio test image:
% wget http://europa.kradradio.com:8040/oneman/kradtest_docker.tar.xz
% sha1sum kradtest_docker.tar.xz
@brooss
brooss / gist:5668077
Created May 29, 2013 05:05
build krad_nanolib
export ANDROID_NDK=/path/to/your/android/ndk/root
export TOOLCHAIN=/tmp/toolchain
export SYSROOT=$TOOLCHAIN/sysroot/
$ANDROID_NDK/build/tools/make-standalone-toolchain.sh --platform=android-14 --install-dir=$TOOLCHAIN
export PATH=$TOOLCHAIN/bin:$PATH
export CC=arm-linux-androideabi-gcc
export LD=arm-linux-androideabi-ld
export AR=arm-linux-androideabi-ar
cd ~/krcam/jni/krad_nanolib/
@oneman
oneman / flac_to_opus.rb
Created October 10, 2012 08:13
Multithreaded Recursive FLAC dir -> Opus converter
#!/usr/bin/env ruby
#
# Multithreaded Recursive FLAC dir -> Opus converter
# Destination dir tree is flat
#
# Example:
# flac_to_opus.rb music/ /media/3632-6166/MUSIC/
#
$bitrate = 180