Skip to main content

7 posts tagged with "python"

View all tags

Automate Android Screenshots and Swipes with Python ADB

· One min read
Apache Wangye
Software developer and technical writer

This example uses ADB from Python to capture a screenshot from an Android device, copy it to the computer, and perform a swipe gesture.

Use ADB automation only on devices and applications you own or are authorized to test. Respect the target platform's rules, verify that the intended device is connected, and add delays and stop conditions so the loop cannot run out of control.

Install pyenv on Ubuntu 22.04

· 2 min read
Apache Wangye
Software developer and technical writer

pyenv installs and switches user-level Python versions without replacing Ubuntu's system Python. Do not remove the distribution-provided interpreter because apt and other operating-system tools may depend on it.

Practical Frida Java API Tips

· One min read
Apache Wangye
Software developer and technical writer

This note collects a few useful patterns for working with Android Java classes through Frida.

Frida Java API operations must run inside a Java.perform callback, and overloaded methods must be selected with the exact parameter signature. Use these techniques only on applications and devices you are authorized to test.

Install and Configure Frida on Android

· 2 min read
Apache Wangye
Software developer and technical writer

This guide shows a basic Frida setup for an Android emulator or test device. Use dynamic instrumentation only on applications and systems you own or are explicitly authorized to assess.

The desktop client and frida-server versions should match. The server binary must also match the device CPU architecture and available privileges.

Inspect Android Message Inserts with Frida

· One min read
Apache Wangye
Software developer and technical writer

This example shows how to observe arguments passed to an Android database insert method with Frida.

Class names, method signatures, and parameter structures may change whenever the target application is updated. Perform dynamic analysis only in an authorized test environment, and do not record or upload real users' private messages.

Total views -- · Visitors --