Skip to content

Instantly share code, notes, and snippets.

@Funcan
Funcan / send.py
Created March 18, 2018 02:18 — forked from gyaresu/send.py
from rflib import *
import time
d = RfCat()
def init(d):
d.setFreq(433955000)
d.setMdmModulation(MOD_ASK_OOK)
def run():
@Funcan
Funcan / HackRF-FM-Transmit.grc
Created March 18, 2018 02:17 — forked from gyaresu/HackRF-FM-Transmit.grc
HackRF FM Transmit with GnuRadio
<?xml version='1.0' encoding='utf-8'?>
<?grc format='1' created='3.7.8'?>
<flow_graph>
<timestamp>Tue Aug 25 19:04:21 2015</timestamp>
<block>
<key>options</key>
<param>
<key>author</key>
<value></value>
</param>
@Funcan
Funcan / spectre.c
Last active January 5, 2018 14:09 — forked from ErikAugust/spectre.c
Spectre example code
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#ifdef _MSC_VER
#include <intrin.h> /* for rdtscp and clflush */
#pragma optimize("gt",on)
#else
#include <x86intrin.h> /* for rdtscp and clflush */
#endif
@Funcan
Funcan / spectre.c
Created January 5, 2018 14:09 — forked from ErikAugust/spectre.c
Spectre example code
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#ifdef _MSC_VER
#include <intrin.h> /* for rdtscp and clflush */
#pragma optimize("gt",on)
#else
#include <x86intrin.h> /* for rdtscp and clflush */
#endif