PHP Notes

I'm not thrilled that I have to create this cheatsheet, but such is life. Embed HTML in php <?php echo "<p>Stuff</p>"; ?> Resource: https://stackoverflow.com/questions/18140270/how-to-write-html-code-inside-php Setup Debugger with PHP w/ PHPStorm and XAMPP Start out by installing…

Burp Notes

Automatically change value of request parameter Go to Proxy -> Options Click Add under Match and Replace Specify the value to match and the value to replace, such as: Match: uid=bob and Replace with: uid=evilbob This can be done with regex if you'd like, for example: Match:…

Apple Notes

Downloads for Apple Developers https://developer.apple.com/download/more/ Keyboard Shortcuts There are many useful keyboard shortcuts that I've come across over time, and I try to include them here so they don't get forgotten. Put mac to sleep OPTION + COMMAND + POWER Put display to sleep CTRL + SHIFT + POWER…

Burp Extension Development

Thanks to Al for helping me to compile this. General For debugging (and modularity in general), be sure to separate out your logic from the file with the BurpExtender class, which is what Burp needs for the thing to work. This file should be stripped down to the bare essentials.…

Splunk Notes

URI Path for web application If you want to look at the information for a web application with a specific uri path and accommodate any number of parameters sitetolookat.com sourcetype=<some source type you have> url="/uri/path/file.php*" Get traffic for an ip…