- Install the USB drivers for your device (Google has a list of some universal USB drivers here)
- Download the ADB binary for your particular OS (Windows, Mac, Linux)
- Extract the zip file into a folder that you can quickly access.
- On your phone, go to Settings and tap on About Phone. Find the Build Number and tap on it 7 times to enable Developer Options.
- Now enter Developer Options and find USB Debugging. Enable it.
- On your computer, browse to the directory where you extracted the ADB binary.
- Launch a Command Prompt in your ADB folder. For Windows users, this can be done by holding Shift and Right-clicking then selecting the “open command prompt here” option.
- Once you’re in the command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class E(BaseException): | |
| def __new__(cls, *args, **kwargs): | |
| return cls | |
| def a(): yield | |
| a().throw(E) |
Note: This gist may be outdated, thanks to all contributors in comments.
adb is the Android CLI tool with which you can interact with your android device, from your PC
You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.
Don't hesitate to read comments, there is useful tips, thanks guys for this !
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # dvorak layout | |
| loadkeys dvorak | |
| export HOSTNAME=thinkpad | |
| export DEVICE=/dev/sda | |
| export EFI_PARTITION=/dev/sda1 | |
| export ROOT_PARTITION=/dev/sda2 | |
| # as root | |
| timedatectl set-ntp true |
Last login: Sat Jun 15 15:49:42 on ttys000
▶ [~] set -x > a.txt
+omz_termsupport_precmd:1> emulate -L zsh
+omz_termsupport_precmd:3> [[ '' == true ]]
+omz_termsupport_precmd:7> title '%15<..<%~%<<' %n@%m
+title:1> emulate -L zsh
+title:2> setopt prompt_subst
+title:4> [[ '' == *term* ]]| Filter | Description | Example |
|---|---|---|
| allintext | Searches for occurrences of all the keywords given. | allintext:"keyword" |
| intext | Searches for the occurrences of keywords all at once or one at a time. | intext:"keyword" |
| inurl | Searches for a URL matching one of the keywords. | inurl:"keyword" |
| allinurl | Searches for a URL matching all the keywords in the query. | allinurl:"keyword" |
| intitle | Searches for occurrences of keywords in title all or one. | intitle:"keyword" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # RESCUE BOOT | |
| cryptsetup open /dev/nvme0n1p2 luks | |
| mkdir /current | |
| mount -o subvol=@,ssd,compress=lzo,noatime,nodiratime /dev/mapper/luks /current | |
| manjaro-chroot /current /bin/bash | |
| # INSTALL | |
| # activate wifi | |
| # done |
I figured that I would write down my findings somewhere since this is my first time using Frida. This won't cover installing frida, adb, apktool because these are well covered in other sources.