tmux new -s NAME Create new session
tmux ls List sessions
tmux attach -t NAME Attach to session
Ctrl+b(default) Prefix Key
| # remap prefix from 'C-b' to 'C-a' | |
| unbind C-b | |
| set-option -g prefix C-a | |
| bind-key C-a send-prefix | |
| #QOL | |
| set -g history-limit 10000 | |
| set-option -g allow-rename off | |
| #JOIN WINDOWS |
| 1) apt install pyinstaller | |
| 2) follow instructions here http://www.powershellempire.com/?page_id=110 |
| on rooted devices we have to install burp certificate as SYSTEM like this: | |
| 1. Export burp certificate and convert it to pem | |
| a. openssl x509 -inform DER -in cacert.der -out cacert.pem | |
| 2. output the subject_hash_old and rename the file: | |
| a. openssl x509 -inform PEM -subject_hash_old -in cacert.pem |head -1 | |
| b. mv cacert.pem <hash>.0 | |
| 3. Copy the certificate to the device | |
| a. adb push <hash>.0 /sdcard/ | |
| b. Adb shell |
| wget https://github.com/frida/frida/releases/download/12.7.0/frida-server-12.7.0-android-arm64.xz | |
| unxz frida-server-12.7.0-android-arm64.xz | |
| mv frida-server-12.7.0-android-arm64 frida-server | |
| adb push frida-server /data/local/tmp/ | |
| adb shell "chmod 755 /data/local/tmp/frida-server | |
| adb shell "/data/local/tmp/frida-server & | |
| frida -U -f packagename |
| extract the ipa | |
| copy the AppName.app into the device /Applications/ | |
| cd /Applications/AppName.app | |
| chmod +x AppName | |
| uicache --all |
adb forward tcp:31415 tcp:31415drozer console connectdrozer console connect --server <ip>lsls activityrun app.package.list -f | Windows | |
| find string ignoring case (/i) on current folder and subfolders (/S) with specific file extension | |
| findstr /i "<string>" *.<file extension> | |
| dir /s /b >all-files.txt | |
| findstr "\.db \.sqlitedb \.sqlite3 \.sqlite \.storedata \.store \.sql \.kcr" all-files.txt > all-databases.txt |