Skip to content

Instantly share code, notes, and snippets.

Radoslav Gerganov rgerganov

Block or report user

Report or block rgerganov

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
import sys
for line in sys.stdin:
if 'url:' in line:
print line
rgerganov / vfo.c
Created Jul 13, 2018
RPi + char lcd + uinput
View vfo.c
#include <stdio.h>
#include <linux/input.h>
#include <linux/uinput.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <wiringPi.h>
rgerganov /
Created Mar 3, 2018
Wake up script for OSX
wake_time_epoch=$(date -j -f %Y-%m-%d.%H:%M:%S $wake_time +%s)
while [ 1 ]; do
now_epoch=$(date +%s)
if [ $now_epoch -ge $wake_time_epoch ]; then
View exploit.c
#include <stdio.h>
#include <linux/input.h>
#include <linux/uinput.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#!/usr/bin/env python
def is_bigger(a, b):
aa = a.split('.')
bb = b.split('.')
for x,y in zip(aa, bb):
if int(x) > int(y):
return True
return False
#!/usr/bin/env python
import os
import socket
import threading
import SocketServer
class ThreadedTCPRequestHandler(SocketServer.BaseRequestHandler):
def send_response(self, resp):
self.request.sendall("HTTP/1.1 200 OK\r\n")
#!/usr/bin/env sh
if [ "$#" -ne 5 ]; then
echo "Usage: $0 <host> <user> <pwd> <vm-id> <dev-id>"
exit 1
echo "attach $1 $2 $3 $4 $5" | nc localhost 9999

Keybase proof

I hereby claim:

  • I am rgerganov on github.
  • I am rgerganov ( on keybase.
  • I have a public key whose fingerprint is 5837 D10B AA3E 24E1 FA26 FE85 DCEB 64AA 28EC 50FC

To claim this, I am signing this object:

rgerganov / nss-chrome-linux.patch
Created Jan 18, 2017
libnss patch to make Chrome accept VIO's certificate on Linux
View nss-chrome-linux.patch
--- nss-3.23/nss/lib/certdb/certdb.c 2016-02-26 22:51:11.000000000 +0200
+++ /opt/src/nss-3.23/nss/lib/certdb/certdb.c 2017-01-18 11:36:57.009855896 +0200
@@ -1198,11 +1198,12 @@
/* turn off the special bit */
switch (keyType) {
case rsaKey:
- requiredUsage |= KU_KEY_ENCIPHERMENT;
+ // hack for VIO's certificate
rgerganov / rfid.c
Created Dec 31, 2016
Arduino RFID reader
View rfid.c
/* Arduino program for DIY FSK RFID Reader
* See description and circuit diagram at
* Tested on Arduino Nano and several FSK RFID tags
* Hardware/Software design is based on and derived from:
* Arduino/Timer1 library example
* June 2008 | jesse dot tane at gmail dot com
* AsherGlick: / AVRFID
* Micah Dowty:
You can’t perform that action at this time.