Skip to content

Instantly share code, notes, and snippets.

View Chubukov-Aleksey's full-sized avatar

Aleksey Chubukov Chubukov-Aleksey

View GitHub Profile
@Chubukov-Aleksey
Chubukov-Aleksey / debug_from_qr.py
Last active June 11, 2024 21:25 — forked from benigumocom/debug_from_qr.py
Connect Wireless Debug from Terminal on Android11
#!/usr/bin/env python3
"""
Android11
Pair and connect devices for wireless debug on terminal
python-zeroconf: A pure python implementation of multicast DNS service discovery
https://github.com/jstasiak/python-zeroconf
"""
execve("/data/data/com.termux/files/usr/bin/torsocks", ["torsocks", "ls"], 0x7fd2296318 /* 28 vars */) = 0
mmap(NULL, 20480, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7391425000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x7391425000, 20480, "bionic TLS guard") = 0
mprotect(0x7391426000, 12288, PROT_READ|PROT_WRITE) = 0
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x7391426000, 12288, "bionic TLS") = 0
set_tid_address(0x73915939b8) = 23548
faccessat(AT_FDCWD, "/dev/urandom", R_OK) = 0
futex(0x73915901b8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
getrandom("\xe4\x1a\x35\x4a\x55\x1a\x1a\x04\xd9\xf4\xd9\x3a\x7c\x4e\xde\x64\x9b\x9d\x3e\x52\xfc\x95\xd5\x60\x3c\xa1\x25\x78\x23\x3d\xac\x8f"..., 40, GRND_NONBLOCK) = 40
mmap(NULL, 1104, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7391520000

Keybase proof

I hereby claim:

  • I am chubukov-aleksey on github.
  • I am alekseichubukov (https://keybase.io/alekseichubukov) on keybase.
  • I have a public key ASAT9w4s4leGUO72mOQgWmHGHW3_4EVMDZYd-FFGUIaOKQo

To claim this, I am signing this object: