Javascript Cheatsheet

Note to self: if you are looking at this, you're in for a bad time Front-End Ajax Submit a POST request via a form without reloading the page As an added bonus, this will also print the response output to the DOM. <!DOCTYPE html> <html lang="…

Terraform Cheatsheet

Initialize Workspace This is used to download and configure providers in your terraform code: terraform init Resource: https://learn.hashicorp.com/tutorials/terraform/eks Run the terraform code terraform apply Destroy all terraform resources terraform destroy List all resources terraform state list Resource: https://github.com/hashicorp/terraform/issues/12917…

IDA Cheatsheet

Find a string Alt+b Once you've done this, be sure to encase the string you want to find in "". For example: "string to find" Open breakpoints window Ctrl + Alt + b Preset breakpoints Click Debugger Debugger options... Set specific options Check the box next to preset…

Android Security Notes

Reverse Engineering Methodology Use jadx (used to analyze java bytecode) to disassemble an APK. Another great tool is Apktool Terminology Activity Something a user "touches" What launches when you tap the application icon Service Long running process that runs in the background An example of this is spotify…

Packet Capture Notes

Wireshark Filter where the source ip is not 192.168.1.1 ip.src != 192.168.1.1 Filter where the destination ip is not 192.168.1.1 ip.dst != 192.168.1.1 Find packets with a string in them frame contains <thing to search> For…