Built-in Terminal

The built-in terminal is one of the more commonly used features in FIRERPA. You can connect to the built-in terminal to execute commands in real time. The built-in terminal refers to the terminal you access via remote desktop, SSH, or built-in ADB. It has some built-in commands and several commonly used Python modules. You can execute commands, run Python code, or even complete automation directly within the terminal. For compatibility reasons, terminals connected via built-in ADB do not support certain command prompts and other features.

Now please open the remote desktop or connect to an SSH or built-in ADB terminal. You should see a Linux terminal. Execute the command cd to switch to the home directory, which is your workspace where you can store files. The terminal supports command completion but not parameter completion. You can also type part of a command and then use the up and down arrow keys to auto-complete from the history.

Common Aliases

Aliases are similar to commands. You can use these aliases to quickly execute common commands. The following command aliases are available in the built-in terminal, along with their functions:

AbbreviationCommand
lls
llls -l
lals -la
pypython
..Change to parent directory
...Change to parent's parent
tChange to /data/local/tmp
pChange to previous directory

Common Commands

Common commands refer to some common Linux or industry-standard commands built into FIRERPA. The supported commands are listed below. Of course, besides the commands described below, most common Linux commands are also supported, but we are not listing them all here.

CommandDescription
pythonPython
stracesyscall trace
ltracelibcall trace
curlcURL
fsmonFile access monitoring
stunnelTraffic encryption
redirPort forwarding
scapyTraffic analysis
iperf3Network performance test
nanoFile editor
viFile editor
ncduDisk usage analyzer
socatNetwork tool
sqlite3Read SQLite databases, supports wxsqlite, sqlcipher, sqlcrypto
tcpdumpTraffic analysis
busyboxCommand collection
MemDumperMemDumper
fridafrida-tools
frida-psfrida-tools
frida-tracefrida-tools
frida-ls-devicesfrida-tools
frida-discoverfrida-tools
frida-killfrida-tools
frida-apkfrida-tools
frida-createfrida-tools
frida-joinfrida-tools

Python Libraries

In addition to the common Linux commands above, the built-in Python also supports several common third-party libraries. Some commonly used libraries may not be included, but if they are available, you can still import them.

LibraryDescription
CryptoEncryption/Decryption
OpenSSLEncryption/Decryption
PILImage processing
bcryptEncryption/Decryption
brotliDecompression
cachetoolsCache utilities
capstoneDisassembly engine
cffiFFI
cryptographyEncryption/Decryption
cv2Image processing
fridafrida
geventgevent
protobufprotobuf
grpcgrpc
jinja2jinja
keystoneAssembly engine
lamdaitself
pyelftoolsELF parsing
lxmlXML parsing
msgpackSerialization
numpyScientific computing
peeweeORM
pyaxmlparserAPK parsing
pyinotifyFile monitoring
redisredis
requestsrequests
scapyTraffic analysis
tornadoWeb framework
ujsonJSON parsing
unicornCPU emulation engine
websocketwebsocket
zstdzstd

Please note that you cannot install additional libraries via pip or apt within the built-in terminal environment. If you need to install other libraries or programs, please refer to the Virtual Debian Environment section and use the virtual environment.