整理了可行的MIFARE卡复制方法/工具。使用ACR122U A9工具。复制卡只含有UID,因此只能进图书馆/宿舍楼,不能消费。
安装libnfc. sudo pacman -S libnfc
。下面的教程在ArchLinux (Linux 5.1.4)测试好用。
如果命令失败了,提示找不到NFC设备之类的话,你可以sudo
或者重新插拔一下就好了。
#!/system/bin/sh | |
# 使用方法: | |
# adb shell "curl -Ssl https://gist.githubusercontent.com/kookxiang/1104e898f270c9a7a0784f70979ec532/raw/hackQQ.sh | su" | |
# 使用方法 (手动): | |
# 0.确保你手机 Root 了 | |
# 1.下载这个脚本到某个地方 | |
# 2.下载 Android SDK(需要其中的 adb) | |
# 3.在命令行运行 adb devices,确保能看到你的手机 |
This work, excluding the Arch Linux logo, is made available under CC0: https://creativecommons.org/publicdomain/zero/1.0/ |
#!/bin/bash | |
# Prevent the fucking wine to add mime file association. | |
# Implements https://askubuntu.com/questions/323437/how-to-prevent-wine-from-adding-file-associations | |
set -o xtrace | |
rm -f ~/.local/share/mime/packages/x-wine* | |
rm -f ~/.local/share/applications/wine-extension* | |
rm -f ~/.local/share/icons/hicolor/*/*/application-x-wine-extension* | |
rm -f ~/.local/share/mime/application/x-wine-extension* |
Please refer to my blog: https://recolic.net/blog
I have migrated everything in this gist, into my new blog.
请到我的blog: https://recolic.net/blog
I bought a cheap motherboard and realized that, I have no cable for 10pin(motherboard) to 15pin vga. And things went worse after I realized that my USB2TTL cable is not working for RS232 serial port.
Then... I have to install archlinux WITHOUT monitor. But, fortunately, I have a KEYBOARD!
I was too lazy to modify ArchISO. I just plug the ARCHISO usb stick and a blank harddisk, and boot,
#!/bin/env python3 | |
# by Recolic Keghart, Nov 16 | |
import sys | |
import os | |
import subprocess | |
if len(sys.argv) < 2: | |
print('Error: go-get-for-china <pkg path>') | |
exit(1) |
use branch manyuser
.