Chef Notes

Knife Vault Create a secret knife vault create passwords root '{"username": "root", "password": "mypassword"}' Show secrets vaults knife vault list Show secrets in a vault secret_vault is the vault in this case: knife vault show secret_vault Show value…

Frida Cheatsheet

IOS List running applications: frida-ps -Ua Run a script on a plugged in phone (and spawn the application): frida -U -l <script>.js --no-pause -f <application>…

Google Dorks

Find instances of a string in a site site:techvomit.net intext:"penetration" Find all pdfs in a site site:tacticaltech.org filetype:pdf Resource: https://exposingtheinvisible.org/guides/google-dorking/…

Adding Google stuff to Ghost blog

Add google site verification Go to https://search.google.com/search-console register your site Easy way: Go to /ghost/#/settings/code-injection, and paste the code you're given from the google site into the Site Header, click Save. Hard way: Go to your theme Open default.hbs Paste the code you've…

GDB Notes

Compile This will compile in debug mode and include symbols gcc -ggdb cprog.c -o cprog Load exec in gdb gdb ./exec `` Set breakpoint on main b main Show instructions for main function disassemble Show all functions info functions Show all variables This will only work if the program is…