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…

Puppet Notes

Modules Install module on Puppet Server /opt/puppetlabs/bin/puppet module install <name of module> Uninstall module on Puppet Server /opt/puppetlabs/bin/puppet module uninstall <name of module> Resource: https://www.puppetcookbook.com/posts/installing-modules-from-the-puppet-forge.html List installed Modules puppet module list Resource: https://puppet.…

Packer notes

File transferThis snippet will move a directory called scripts into the /tmp directory of the AMI being built. It will then run an ls -l on /tmp from within the AMI being built so that we can see that the directory transferred as we expected it to. "provisioners": [{ "type": "file"…