Skip to content

Instantly share code, notes, and snippets.

View cryptolok's full-sized avatar

Maksym Zaitsev cryptolok

View GitHub Profile
Country City/Town Radio Frequency (kHz) Power (dbs)
FR PARIS France Bleu 107.1 864 300
FR BESANCON France info 1494 5
FR BORDEAUX France info 1206 300
FR BREST France info 1404 20
FR CLERMONT-FERRAND France info 1494 20
FR DIJON France info 1404 5
FR GRENOBLE France info 1404 20
FR LILLE France info 1377 300
FR LIMOGES France info 792 300
Country City/Town Radio FM frequency (MHz) Power (dbs)
FR AGEN Virgin radio Agen 89.8 1
FR AGEN France inter 90.3 0.5
FR AGEN Radio bulle 93.6 1
FR AGEN France culture 94.4 0.5
FR AGEN France musique 96.7 0.5
FR AGEN RFM Lot-et-Garonne 98.5 1
FR AGEN NRJ 101.1 1
FR AGEN Sud radio 102.3 0.1
FR AGEN RMC 104.5 1
@cryptolok
cryptolok / maclookup.sh
Created August 14, 2017 21:33
MAC address offline lookup
#!/bin/bash
MAC=$1
MAC=$(echo $MAC | tr [:lower:] [:upper:])
MAC=$(echo $MAC | tr ':' '-')
if [[ ! "$MAC" ]]
then
echo 'Usage: maclookup $MACADDRESS'
exit 1
@cryptolok
cryptolok / ARProtect
Last active October 9, 2017 06:35
ultimate, simple and minimalistic UNIX ARP-MITM protection
#!/bin/bash
# ultimate, simple and minimalistic UNIX ARP-MITM protection by making gateway hardware address static just after DHCP and automatically after interface start
# place in /etc/network/if-up.d/ARProtect
if [[ "$IFACE" != "lo" && "$MODE" = "start" && "$ADDRFAM" = *[N,n]et* ]]
then
IP_GATEWAY=$(ip route | grep default | grep $IFACE | cut -d ' ' -f 3)
MAC=$(ip neigh show $IP_GATEWAY | cut -d ' ' -f 5)
arp -s $IP_GATEWAY $MAC
@cryptolok
cryptolok / frenchRadios.txt
Last active December 13, 2017 17:56
French Civil Radios FM/AM Database
FM - https://gist.github.com/cryptolok/6f899b1a1047fab90c13b6dde9e8f384
AM - https://gist.github.com/cryptolok/58f2b781b80d02714d685a2fc09e81b8
@cryptolok
cryptolok / ps2b64.sh
Created September 3, 2017 14:39
PowerShell script Base64 encoder/obfuscator in BASH
#!/bin/bash
# PowerShell script Base64 encoder/obfuscator in BASH
PS=$1
if [[ -e "$PS" ]]
then
B64=$(iconv -t utf16le $PS | base64 | tr -d '\n')
# echo "powershell.exe -ExecutionPolicy ByPass -EncodedCommand $B64"
@cryptolok
cryptolok / thesis.txt
Last active November 10, 2018 16:31
Graduation Research Thesis - Password Authentication Alternatives
https://goo.gl/giXPzC
type departement geolocalisation
itineraire 06 - Alpes-Maritimes 43.731979 7.412692
itineraire 07 - Ardeche 44.938465 4.830817
itineraire 09 - Ariege 42.829518 1.612157
fixe 80 - Somme 44.373694 2.592991
fixe 91 - Essonne 44.291312 2.567538
fixe 91 - Essonne 43.246999 5.451249
fixe 78 - Yvelines 43.2683 5.648124
fixe 86 - Vienne 45.75765 -0.661724
fixe 67 - Bas-Rhin 46.891104 6.364996
@cryptolok
cryptolok / manga-dl.sh
Created September 14, 2019 12:57
MangaRock offline JPEG downloader
#!/bin/bash
# script to download whole manga images offline
# sudo apt install curl webp imagemagick wget
# wget "https://raw.githubusercontent.com/hjmeijer/xorfile/master/xorfile.py"
# n=1 ; while [[ $n != 10000000 ]] ; do echo -ne '\x65' >> key ; let n++ ; done
# ./manga-dl.sh 'https://mangarock.com/manga/mrs-serie-100266297'
URL=$1
@cryptolok
cryptolok / randomGenVideo.sh
Last active November 3, 2019 19:47
WebCam video-based pseudo-random number generator
#!/bin/bash
# poor-man's quantum photon detector randomizer
# ~1kb/s
# over a test of a thousand time, global entropy was equal to 7.99/8 and passed nearly all Dieharder tests, as well as FIPS 140-2
# however, sigma, mean and chi-square stats aren't too much enthusiastic
# overall, the result is pretty impressive, but of course, don't use it in production :)
DEVICE=/dev/video0
# for external cameras should be /dev/video1