Skip to content

Instantly share code, notes, and snippets.

View jimmy947788's full-sized avatar
🙄
faping

吉掰米 jimmy947788 jimmy947788

🙄
faping
View GitHub Profile
@jimmy947788
jimmy947788 / ida_find_arm64_svc.py
Last active August 26, 2025 15:27
该脚本用于在 IDA 中查找 ARM64 架构的 SVC 指令,并添加注释显示系统调用号对应的系统调用名称。
# 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
@jimmy947788
jimmy947788 / namedpipe-loop.go
Created February 28, 2024 00:09 — forked from nicewook/namedpipe-loop.go
named pipe with go - infinite loop of write and read
package main
import (
"bufio"
"fmt"
"log"
"os"
"syscall"
)
@jimmy947788
jimmy947788 / !!termux-app.md
Last active January 6, 2025 02:20
setup termux-app & ssh-server in pixel6 pro

setup termux-app & ssh-server in pixel6 pro

Host side

  1. download termux-app apk in host.

  2. install termux-app to target

adb install termux-app.apk
@jimmy947788
jimmy947788 / frida-core-hide-feture.patch
Last active June 5, 2024 00:48
frida hide feture - v16.1.9
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
---
@jimmy947788
jimmy947788 / frida-hook-classLoader.js
Last active December 30, 2023 21:49
frida hook classLoader
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) {
@jimmy947788
jimmy947788 / gnuk-on-stlinkv2.sh
Created August 14, 2023 18:15 — forked from sowbug/gnuk-on-stlinkv2.sh
Gnuk on ST-Link v2
# 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 && \
@jimmy947788
jimmy947788 / openssl_commands.md
Created July 2, 2023 17:19 — forked from Hakky54/openssl_commands.md
Some list of openssl commands for check and verify your keys

OpenSSL 🔐

Install

Install the OpenSSL on Debian based systems

sudo apt-get install openssl
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
@jimmy947788
jimmy947788 / client.py
Created December 3, 2022 14:52 — forked from dbehnke/client.py
Python AsyncIO Client and Server Example using StreamReader and StreamWriter
"""
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