Skip to content

Instantly share code, notes, and snippets.

View cyrinux's full-sized avatar
💻
Developing cool stuff !

Cyril Levis cyrinux

💻
Developing cool stuff !
View GitHub Profile
@jj1bdx
jj1bdx / APRS-airspyhf_rx.md
Last active May 28, 2024 11:55
APRS with rtl_fm, direwolf, and multimon-ng / and also airspyhf_rx

APRS with airspyhf_rx, csdr, and direwolf

1200bps 144.660MHz

# Choose 11025Hz for the intermediate IF/audio frequency
airspyhf_rx -f 144.66 -a 768000 -r stdout | \
  csdr fir_decimate_cc 69.65986394557823129252 0.005 HAMMING | \
  csdr fmdemod_quadri_cf | csdr limit_ff 0.5 | csdr deemphasis_nfm_ff 11025 | \
  csdr fastagc_ff | csdr limit_ff 0.5 | csdr convert_f_s16 | \

/usr/local/bin/direwolf -c ~/bin/sdr-1200bps.conf -t 0 -T "%FT%TZ" -r 11025 -D 1 -B 1200 -

@7MinSec
7MinSec / Password_cracking_in_the_cloud.md
Last active August 24, 2023 14:24
Password cracking in the cloud
@sunhay
sunhay / tcp_monitor.c
Last active August 25, 2023 08:11
eBPF socket filter based tcptop
#include <uapi/linux/ptrace.h>
#include <uapi/linux/if_packet.h>
#include <net/sock.h>
#include <bcc/proto.h>
#define IP_TCP 6
#define ETH_HLEN 14
struct Key {
u32 src_ip; // source ip
@epixoip
epixoip / rtx2080.md
Last active February 23, 2022 17:54
Nvidia RTX 2080 FE Hashcat Benchmarks

Nvidia RTX 2080 FE Hashcat Benchmarks

Product: As there is currently no Linux driver, we had to use chick3nman's desktop (Windows 7)

Software: Hashcat v4.2.1, Nvidia driver 411.63

Accelerator: 1x Nvidia RTX 2080 Founders Edition

Notes

@maximbaz
maximbaz / Wire Desktop — Dark theme overrides.md
Last active January 17, 2019 15:52
Wire Desktop — Dark theme overrides

This only works if Wire was built with disabled ASAR packaging (see #335 and #147). Right now only Linux app is being built in this way, so if you are on Linux, you can proceed with the steps below, if not — adapt Gruntfile.js, set asar: false and compile Wire from sources.

Let's suppose Wire is installed in $INSTALLDIR, on my Linux it is /usr/lib/wire-desktop/.

  1. Create a new file $INSTALLDIR/css/dark-theme.css with the contents below.

  2. Open in text editor $INSTALLDIR/dist/main.js, and after line 321: case 'webview': add this:

    contents.on('dom-ready', () => {
    

contents.insertCSS(fs.readFileSync(path.join(APP_PATH, 'css', 'dark-theme.css'), 'utf8'))

@StephenSorriaux
StephenSorriaux / install-kubernetes-archlinux.md
Created October 25, 2018 18:47
Install Kubernetes on bare-metal ArchLinux host

Installing Kubernetes on ArchLinux

Packages

pacman -S curl docker ebtables ethtool wget unzip

Also cfssl is needed but available on AUR, using pacaur

pacaur -S cfssl
@adulau
adulau / ghidra-community.md
Last active November 11, 2023 13:16
Ghidra community - collection
@KashifSaadat
KashifSaadat / kube-reserved-resources-debugging.sh
Created March 15, 2019 16:40
Helpful debugging commands for Kube Reserved Resources & CGroups
# Query current usage for runtime, kubelet and pods
curl -s http://localhost:10255/stats/summary | jq .node.systemContainers
# Quick scan of the cgroup paths to see what does exist
ls -ld /sys/fs/cgroup/**/podruntime.slice
ls -ld /sys/fs/cgroup/**/system.slice
# Validate what cgroup a single process uses
cat /proc/$(pidof kubelet)/cgroup
@greenbrian
greenbrian / approle.sh
Created April 5, 2019 13:25
Vault CLI testing AppRole
#!/bin/bash
# start vault
VAULT_UI=true vault server -dev -dev-root-token-id=root -dev-listen-address=127.0.0.1:8200
# login as root - DO NOT DO THIS IN PRODUCTION
vault login root
# write some secrets
vault kv put secret/test color=blue number=eleventeen
@dysinger
dysinger / nixos-encrypted-zfs.sh
Last active March 7, 2023 14:51
How I installed Encrypted ZFS root on NixOS
# MOVED HERE https://gist.github.com/dysinger/2a768db5b6e3b729ec898d7d4208add3