-
download termux-app apk in host.
-
install
termux-app
to target
adb install termux-app.apk
# IDA 9.1 / Python 3.x | |
# 更快的 ARM64 SVC 標註器:單次遍歷 + 狀態機追蹤 W8/X8 的 syscall 立即數 | |
# Author: Jimmy(優化版 by ChatGPT) | |
# Note: 依賴你提供的 syscall_mapping(已內嵌),支援 MOV/MOVZ/ORR(wzr/xzr)三種常見立即數寫入型式。 | |
import idaapi | |
import idautils | |
import idc | |
import ida_funcs | |
import ida_segment |
package main | |
import ( | |
"bufio" | |
"fmt" | |
"log" | |
"os" | |
"syscall" | |
) |
download termux-app apk in host.
install termux-app
to target
adb install termux-app.apk
From 19ee19d33ff27ef58b5fa81f7f8337ae61e5781f Mon Sep 17 00:00:00 2001 | |
From: Jimmy Wu <[email protected]> | |
Date: Wed, 20 Dec 2023 16:40:35 +0800 | |
Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E7=89=B9=E5=BE=B5=E6=94=AF=E6=8F=B4rh?= | |
=?UTF-8?q?b?= | |
MIME-Version: 1.0 | |
Content-Type: text/plain; charset=UTF-8 | |
Content-Transfer-Encoding: 8bit | |
--- |
function hook_classLoader() { | |
Java.perform(function () { | |
Java.enumerateLoadedClasses({ | |
onMatch: function (className) { | |
try { | |
if (className == "om.b") { | |
var om_b = Java.use("om.b"); | |
console.log(om_b); | |
om_b["o"].implementation = function (jVar) { |
# https://github.com/cabo/stlink | |
# https://blog.danman.eu/2-usb-crypto-token-for-use-with-gpg-and-ssh/ | |
sudo ./upgrade_by_passwd.py -f ../regnual/regnual.bin ../src/build/gnuk-vidpid.bin | |
sudo st-flash erase && st-flash --reset write ~/src/gnuk/src/build/gnuk-vidpid.bin 0x08000000 | |
-- or -- | |
~/src/stlink/build/Debug/st-flash reset && \ | |
~/src/stlink/build/Debug/st-flash erase && \ |
version: "3.7" | |
volumes: | |
kong_data: {} | |
networks: | |
kong-net: | |
services: |
#!/bin/bash | |
CANAME=$1 | |
#CANAME=Daedalus | |
if [[ -z "$CANAME" ]]; then | |
echo "Usage: $0 <CA name>" | |
exit 1 | |
fi | |
# optional, create a directory |
""" | |
client.py - AsyncIO Server using StreamReader and StreamWriter | |
This will create 200 client connections to a server running server.py | |
It will handshake and run similar to this: | |
Server: HELLO | |
Client: WORLD |