Skip to content

Instantly share code, notes, and snippets.

View pocoz's full-sized avatar
💭
amor fati

workhorse pocoz

💭
amor fati
  • Marketplace
  • Warsaw
View GitHub Profile
@pocoz
pocoz / export-ble-infos.py
Last active May 2, 2019 07:28 — forked from Mygod/export-ble-infos.py
Export your Windows Bluetooth LE keys into Linux!
#!/usr/bin/python3
"""
Export your Windows Bluetooth LE keys into Linux!
Thanks to: http://console.systems/2014/09/how-to-pair-low-energy-le-bluetooth.html
Usage:
$ sudo apt install chntpw
$ python3 export-ble-infos.py
$ sudo bash -c 'cp -r ./bluetooth /var/lib && service bluetooth force-reload'
@pocoz
pocoz / aes_cbc_pkcs5.go
Created April 10, 2019 11:53 — forked from hothero/aes_cbc_pkcs5.go
AES/CBC/PKCS5Padding implementation by Golang (can work with JAVA, C#, etc.)
package main
import (
"bytes"
"crypto/aes"
"crypto/cipher"
"encoding/base64"
"fmt"
)