Skip to content

Instantly share code, notes, and snippets.

View harayz's full-sized avatar

harayz harayz

View GitHub Profile

Source: http://forum.lowyat.net/index.php?showtopic=355950&view=findpost&p=11151482

A few forumers asked me questions regarding reading of MyKad surface information. The answer is there is no encryption; it is just about knowing what (APDU) command to send.

There will be 5 APDU commands that I'll introduce. I name them as:

  • Select Application
  • Get Response
  • Set Length
  • Select Info
@harayz
harayz / gist:7066ad7d643e3ae48a74ece485096b2a
Created June 29, 2016 18:20 — forked from jiananlu/gist:9258032
upgrade openwrt kernel and reinstall all packages manual

upgrade the system

Make sure you can ssh to the router by root and type in the command:

cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-mw4530r-v1-squashfs-sysupgrade.bin
sysupgrade -v openwrt-ar71xx-generic-mw4530r-v1-squashfs-sysupgrade.bin
@harayz
harayz / helloworld
Created July 26, 2014 21:46
hello 'git' world
This is my first gist and i think its going to be more of this in the coming future!