##Update:
Please refer to: https://github.com/KonradIT/goprowifihack
#!/usr/bin/env python | |
# Uses OpenSC pkcs11 generic library and pkcs11 python wrapper | |
# Print personal data from che italian CNS smart card (new health card) | |
from PyKCS11 import LowLevel | |
import sys | |
def getPersonalData(p11, slot): |
##Update:
Please refer to: https://github.com/KonradIT/goprowifihack
#GoPro HERO4 Black Wifi Hacking, ep 2
By Maelstrom Napalm, @odwdinc, Konrad Iturbe and fraannk (@ifraaannk)
###Status URL:
http://10.5.5.9/gp/gpControl/status
####Protune EV compensation: Value | URL
[CCode (lower_case_cprefix = "Py_", cheader_filename = "Python.h")] | |
namespace Python | |
{ | |
public void Initialize (); | |
public void Finalize (); | |
[CCode (lower_case_cprefix = "PyRun_")] | |
namespace Run | |
{ | |
public void SimpleString (string @string); |
/* eslint no-bitwise: 0 */ | |
import PNGReader from 'png.js'; | |
import TZ1200RLE from './TZ1200RLE'; | |
export function readPNG(imageBytes) { | |
const reader = new PNGReader(imageBytes); | |
return new Promise((resolve, reject) => { | |
reader.parse((err, data) => { |
#HERO4 Black Wifi hacking, ep 1
URL for streaming: http://10.5.5.9/gp/gpExec?p1=gpTsFeeder&a1=%22%22&c1=restart&p2=gpStream&a2=%22%22&c2=restart
###Android decopilation APK
# -*- coding: utf-8 -*- | |
""" | |
Go to Google Bookmarks: https://www.google.com/bookmarks/ | |
On the bottom left, click "Export bookmarks": https://www.google.com/bookmarks/bookmarks.html?hl=en | |
After downloading the html file, run this script on it to generate a KML. | |
""" |
#!/usr/bin/python | |
''' | |
Split gpx tracks at discontinuities, that is, pairs of points in a track that | |
are further than a given distance threshold. | |
''' | |
import collections | |
from lxml import etree | |
import math | |
import optparse | |
import re |
Vodafone forces its customers to use their modem/router, the "Vodafone Station": using any other router is impossible because authentication is being done via a custom PPPoE setup.
In the PPPoE packet there is a field named Host-Uniq which is used to separate packets from different PPPoE sessions: Vodafone requires the Station serial number to be put in this field as authentication.
A Linux router with root access is needed to replace the Station with. With an xDSL connection a modem with a custom firmware like OpenWrt has to be used, most likely one based on a Lantiq SoC.
For a FTTH internet connection then every machine with at least two gigabit ethernet interface and a decent CPU will do it.
# -*- coding: utf-8 -*- | |
""" | |
Go to Google Bookmarks: https://www.google.com/bookmarks/ | |
On the bottom left, click "Export bookmarks": https://www.google.com/bookmarks/bookmarks.html?hl=en | |
After downloading the html file, run this script on it to generate a KML. | |
Slight modification of regex to get lat/lng from web page from: https://gist.github.com/endolith/3896948= | |
""" |