Skip to content

Instantly share code, notes, and snippets.

View kevinpostal's full-sized avatar

Kevin Postal kevinpostal

View GitHub Profile
@kevinpostal
kevinpostal / client.go
Created November 22, 2016 07:30
SSH Remote Port Fowarding
package main
import (
"log"
"dev.justinjudd.org/justin/easyssh"
"golang.org/x/crypto/ssh"
)
func main() {

Keybase proof

I hereby claim:

  • I am kevinpostal on github.
  • I am zod (https://keybase.io/zod) on keybase.
  • I have a public key whose fingerprint is 54C8 AF3F B790 E669 7544 FDA4 095C BA02 3694 9316

To claim this, I am signing this object:

package hello
import (
"html/template"
"encoding/json"
"io/ioutil"
"fmt"
"strings"
"net/http"
"golang.org/x/net/context"
require 'rubygems'
require 'openssl'
require 'digest/md5'
key = OpenSSL::PKey::RSA.new(2048)
cipher = OpenSSL::Cipher::AES.new(256, :CBC)
ctx = OpenSSL::SSL::SSLContext.new
puts "Spoof must be in DER format and saved as root.cer"
raw = File.read "root.cer"
cert = OpenSSL::X509::Certificate.new raw
cert.version = 2
Afrobeat
Apala
Benga
Bongo Flava
Bikutsi
Cape Jazz
Chimurenga
Fuji music
Genge
Highlife
We couldn’t find that file to show.