Skip to content

Instantly share code, notes, and snippets.

View tiopex's full-sized avatar
💭
Custodial engineer

tiopex

💭
Custodial engineer
  • Poland
  • 19:55 (UTC +01:00)
View GitHub Profile
@tiopex
tiopex / hook_serial_hex.js
Last active November 20, 2025 07:06
UART communication on android using frida
1. Install frida-server https://github.com/frida/frida on android and run as a root
2. install frida-tools on PC: `pip install frida-tools`
3. Get the id of the `com.ayaneo.gamewindow` process which is using UART communication: `frida-ps -U`
4. Run frida: frida.exe -U -p 3942 -l hook_serial_hex.js
@tiopex
tiopex / reinstall_VPS_from_inside.sh
Created January 16, 2023 13:08 — forked from dotsh/reinstall_VPS_from_inside.sh
DIY install debian on Oracle Cloud Infrastructure ( Free Tier )
# should works on any cloud-init enabled hypervisor (openstack.. )
# start from a ubuntu minimal install
# we need to shrink down the used space to move it in a tmpfs of 700MB
# make sure we are on the highest kernel, so we can delete all the others ...
sudo apt update && sudo apt upgrade -y && reboot
# ... reconnect
sudo apt install lsof