tested on android 6 tencent qq
-
设法将
/data/data/com.tencent.*/databases
目录拷贝出来,我假设你了解如何做到这一点。 -
运行以下命令。我假设你了解如何安装/使用sqlite,我假设你了解linux基本知识。
$ sqlite3 872222222-IndexQQMsg.db
#include<stdio.h> | |
#include<string.h> | |
#include<sys/socket.h> | |
#include<arpa/inet.h> | |
#include<stdlib.h> | |
#include<getopt.h> | |
#include <unistd.h> | |
#include<errno.h> | |
#include <fcntl.h> |
import tempfile, subprocess | |
def py3in2(func_text, arg): | |
# escape char in arg should be escaped twice. | |
payload = ['#/usr/bin/env python3', 'def _func(arg):'] | |
for line in func_text.split('\n'): | |
payload.append(' ' + line) | |
payload.append('with open("/dev/fd/1", "w") as f:\n f.write(_func(\''+arg+'\'))\n') | |
payload = '\n'.join(payload) |
// ==UserScript== | |
// @name FUCK BankOfChina By USD from CNY 30 seconds wait. | |
// @namespace https://recolic.net/ | |
// @version 0.1 | |
// @description If you buy other concurrency on www.boc.cn, you have to wait 30 seconds to read a document. I fucked it. | |
// @author Recolic Keghart <root@recolic.net> | |
// @match https://ebsnew.boc.cn/boc15/welcome.html* | |
// @grant none | |
// ==/UserScript== |
#!/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,确保能看到你的手机 |
/* | |
* | |
* string.hpp: string process utility. | |
* Recolic Keghart <root@recolic.net> | |
* MIT License | |
* | |
* Minified version: works on C++11. | |
* | |
*/ |
use branch manyuser
.
#!/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* |
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,