Cheat sheets, notes, random code bits, tutorials, and projects that I’m working on.


My name is Jayson, and I work in the offensive security space. I have worked as a Purple Team Lead, Red Team Lead, Penetration Tester, Tool Developer, Cloud Engineer, and System Administrator. I successfully completed my BS-CS at UNM in the Summer of 2016, and am very happy to be done with school. I am passionate about automating offensive security work through tool development and employing devops concepts. I am also interested in APTs (Advanced Persistent Threats) and understanding the motivations behind the creation of nation-state-funded Malware....

Jayson Grace

Chatgpt Cheatsheet

Get ChatGPT Status To check if ChatGPT is up, navigate to

<span title='2023-05-21 12:35:52 -0600 -0600'>May 21, 2023</span>&nbsp;·&nbsp;Jayson Grace

Password Manager Cheatsheet

Keeper Install CLI client Get the latest version and install the appropriate package: AUTHOR='Keeper-Security' REPO_NAME='Commander' curl -s "${AUTHOR}/${REPO_NAME}/releases/latest" \ | jq -r '.assets[].browser_download_url' # wget whatever makes sense to download Upgrade CLI client python3 -m pip install --upgrade keepercommander Login to Keeper Run this command: keeper login When prompted, enter your email, then your TOTP, and finally your master password. Resource: Get a password from the commander shell This particular example will return the password for the entry called gmail....

<span title='2022-02-28 00:00:00 +0000 UTC'>February 28, 2022</span>&nbsp;·&nbsp;Jayson Grace

Markdown Cheatsheet

Table of Contents You can use this site to generate the code for you. For example: ## Table of Contents - [Prerequisites](#prerequisites) - [Create](#create) --- ## Prerequisites - Stuff - Things --- ## Create - More stuff - More things Resource: Add line break Simply add two spaces after the line that you want to break on. Resource: Markdown Lint rules in VSCode Rules can be defined in the settings....

<span title='2022-01-17 22:32:21 +0000 UTC'>January 17, 2022</span>&nbsp;·&nbsp;Jayson Grace

Azure Cheatsheet

Getting Started Install latest version of Azure CLI on Mac brew update && brew install azure-cli Resource: Install latest version of Azure CLI on Linux # YOLO curl -sL | sudo bash Resources: Install PowerShell brew install --cask powershell-preview Run a powershell terminal with: pwsh-preview Update Powershell brew update brew upgrade powershell-preview --cask Uninstall Powershell brew uninstall --cask powershell sudo rm -rf /usr/local/bin/pwsh-preview /usr/local/microsoft/powershell Resource:

<span title='2021-02-18 23:28:04 +0000 UTC'>February 18, 2021</span>&nbsp;·&nbsp;Jayson Grace

Packet Capture Notes

Wireshark Filter where the source ip is not ip.src != Filter where the destination ip is not ip.dst != Find packets with a string in them frame contains <thing to search> For example: frame contains google Resource: Show hostnames Go to View -> Name Resolution -> Check the box next to Resolve Network Addresses Resource: Filter TLS traffic ssl.record.version If you want to only show TLS v1....

<span title='2020-06-15 21:23:44 +0000 UTC'>June 15, 2020</span>&nbsp;·&nbsp;Jayson Grace

Apache Cheatsheet

Log Responses Install the dump_io mod by running this as root: a2enmod dump_io Add these lines to the bottom of the /etc/apache2/apache2.conf file: LogLevel dumpio:trace7 DumpIOInput On DumpIOOutput On Restart the apache service to enact the changes: service apache2 restart View response data with this command: cat error.log | cut -f8- -d':' \ | egrep -v ' [0-9]+ bytes$' \ | grep -v '^$' | cut -c2- | sed 's/\\r\\n//' Run as an infinite loop:...

<span title='2020-01-27 21:49:07 +0000 UTC'>January 27, 2020</span>&nbsp;·&nbsp;Jayson Grace

IOS Pentesting Cheatsheet

Jailbreaking At the time of this writing, only up to version 12.1.2 of iOS can be jailbroken. While it is theoretically possible to downgrade the version, it is a giant hassle and I was not able to find a fully working solution over the span of several hours of research. Save yourself some time and just get a phone with an older version of iOS. Jailbreak using Chimera Following the instructions on here: https://cydia-app....

<span title='2019-09-07 00:10:40 +0000 UTC'>September 7, 2019</span>&nbsp;·&nbsp;Jayson Grace

Puppet Notes

Modules Install module on Puppet master /opt/puppetlabs/bin/puppet module install <name of module> Uninstall module on Puppet master /opt/puppetlabs/bin/puppet module uninstall <name of module> Resource: List installed Modules puppet module list Resource: Show module path Run this on the puppet master: puppet config print modulepath Resource: Change module install path By default, puppet module install installs modules into the first directory in the Puppet modulepath, which defaults to $codedir/environments/production/modules....

<span title='2019-02-18 04:07:56 +0000 UTC'>February 18, 2019</span>&nbsp;·&nbsp;Jayson Grace

Kali Config

Proxy Configuration Configure proxy (if applicable) by inputting the required values into /etc/environment. It will probably look something like this:,localhost, Resource: Config apt with proxy (if applicable): touch /etc/apt/apt.conf.d/95proxies Input the required values into this file. It will probably look something like this: Acquire::http::proxy ""; Acquire::https::proxy ""; Acquire::ftp::proxy ""; Restart the server : reboot Welcome back, your proxy should be working now. Celebrate by taking a snapshot....

<span title='2018-10-03 04:57:42 +0000 UTC'>October 3, 2018</span>&nbsp;·&nbsp;Jayson Grace