<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Cheatsheets on Skelmis</title>
    <link>https://skelmis.co.nz/tags/cheatsheets/</link>
    <description>Recent content in Cheatsheets on Skelmis</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Thu, 26 Jun 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://skelmis.co.nz/tags/cheatsheets/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Linux Snippets</title>
      <link>https://skelmis.co.nz/cheatsheets/linux-snippets/</link>
      <pubDate>Thu, 26 Jun 2025 00:00:00 +0000</pubDate>
      <guid>https://skelmis.co.nz/cheatsheets/linux-snippets/</guid>
      <description>Various snippets of Linux commands &amp;amp; scripts I use enough to justify existing on my $PATH&#xA;git_fp Link to heading git fetch &amp;amp; pull&#xA;#!/usr/bin/env bash git fetch git pull echo &amp;#34;Fetched n pulled any new content.&amp;#34; git_send Link to heading git add, commit and push in one&#xA;#!/usr/bin/env bash if [[ $# -eq 0 ]] ; then echo &amp;#39;Expected commit message&amp;#39; exit 1 fi git add . git commit -m &amp;#34;$1&amp;#34; git push gitr Link to heading Recursive git clone</description>
    </item>
    <item>
      <title>Nmap</title>
      <link>https://skelmis.co.nz/cheatsheets/nmap/</link>
      <pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate>
      <guid>https://skelmis.co.nz/cheatsheets/nmap/</guid>
      <description>A bunch of nmap flags because I often forget.&#xA;Detection Link to heading -A - All the host detection stuff -sV - Attempts to fingerprint services on ports -sn - No port scanning, only discover hosts. Example command to discover hosts on the network: nmap -sn ip_block/subnet Ports Link to heading -p- - Scan all ports -p80,443 - Scan port 80 and 443 -p1-100 - Scan ports 1 to 100 F - Scan the top 100 most popular ports (Nmap defaults to 1000) Timing templates Link to heading A flag to set underlying timeouts for stuff based on the network</description>
    </item>
    <item>
      <title>Configuring MFA on Ubuntu servers</title>
      <link>https://skelmis.co.nz/cheatsheets/server-mfa/</link>
      <pubDate>Sun, 27 Aug 2023 00:00:00 +0000</pubDate>
      <guid>https://skelmis.co.nz/cheatsheets/server-mfa/</guid>
      <description>A TL;DR for setting up MFA on Ubuntu servers for SSH access because it took more than one guide to setup.&#xA;Login to box&#xA;sudo apt install libpam-google-authenticator&#xA;sudo nano /etc/pam.d/sshd&#xA;Scroll to bottom and add this under @include common-password&#xA;auth required pam_google_authenticator.so Ctrl + S, Ctrl + X&#xA;sudo nano /etc/ssh/sshd_config&#xA;Set ChallengeResponseAuthentication to yes. This may be KbdInteractiveAuthentication in newer versions&#xA;Ctrl + S, Ctrl + X&#xA;sudo systemctl restart sshd.</description>
    </item>
    <item>
      <title>Deploying Python packages</title>
      <link>https://skelmis.co.nz/cheatsheets/pypi/</link>
      <pubDate>Tue, 08 Aug 2023 00:00:00 +0000</pubDate>
      <guid>https://skelmis.co.nz/cheatsheets/pypi/</guid>
      <description>A TL;DR for package deployment because it&amp;rsquo;s complicated.&#xA;Classifiers Link to heading Because I can&amp;rsquo;t find them when I need them.&#xA;Find em here&#xA;Commands to push to Pypi Link to heading Bump the version number Delete these if they exist: build, *.egg-info, dist pip install wheel twine python setup.py sdist bdist_wheel python -m twine upload ./dist/* </description>
    </item>
    <item>
      <title>My ZSH theme</title>
      <link>https://skelmis.co.nz/cheatsheets/zsh/</link>
      <pubDate>Sun, 11 Jun 2023 00:00:00 +0000</pubDate>
      <guid>https://skelmis.co.nz/cheatsheets/zsh/</guid>
      <description>I made my own ZSH theme which is basically half-life with tweaks that modify it to exactly what I want.&#xA;Download it:&#xA;curl https://skelmis.co.nz/skelmis.zsh-theme --output ~/.oh-my-zsh/themes/skelmis.zsh-theme Then in .zshrc modify ZSH_THEME to ZSH_THEME=&amp;quot;skelmis&amp;quot;</description>
    </item>
    <item>
      <title>Cyber Security quick commands</title>
      <link>https://skelmis.co.nz/cheatsheets/secops/</link>
      <pubDate>Tue, 06 Jun 2023 00:00:00 +0000</pubDate>
      <guid>https://skelmis.co.nz/cheatsheets/secops/</guid>
      <description>A lil collection of commands I find useful every so often.&#xA;PNG file? Link to heading Try zsteg:&#xA;gem install zsteg zsteg -a &amp;lt;filename&amp;gt;.png EVTX parser Link to heading https://github.com/williballenthin/python-evtx&#xA;Zip directory traversal Link to heading Tool to create zips which may result in the unzipped items being placed in arbitrary locations&#xA;https://github.com/ptoomey3/evilarc&#xA;Deobfuscate JS Link to heading JS Nice</description>
    </item>
    <item>
      <title>Python logging TL;DR&#39;d</title>
      <link>https://skelmis.co.nz/cheatsheets/python-logging/</link>
      <pubDate>Tue, 06 Jun 2023 00:00:00 +0000</pubDate>
      <guid>https://skelmis.co.nz/cheatsheets/python-logging/</guid>
      <description>Python has some beautiful logging. Here is my goto format:&#xA;import logging logging.basicConfig( format=&amp;#34;%(levelname)-7s | %(asctime)s | %(filename)12s:%(funcName)-12s | %(message)s&amp;#34;, datefmt=&amp;#34;%I:%M:%S %p %d/%m/%Y&amp;#34;, level=logging.INFO, ) Sent here from a help forum? Link to heading If you&amp;rsquo;ve been sent the link to this page from some form of help forum with me asking for logs, use this please.&#xA;import logging logging.basicConfig( format=&amp;#34;%(levelname)-7s | %(asctime)s | %(filename)12s:%(funcName)-12s | %(message)s&amp;#34;, datefmt=&amp;#34;%I:%M:%S %p %d/%m/%Y&amp;#34;, level=logging.</description>
    </item>
  </channel>
</rss>
