Pentesting with AI on a Cloud Server

Strix is an open-source AI pentesting tool that utilises an LLM together with standard tools to pentest software, repos and servers. You can use Strix with most LLMs, such as those served by OpenAI, Anthropic or Ollama. Note, that on…

How to convert Markdown to PDF

First, a confession. To get this to run on my Mac, I probably installed a bunch of stuff, such as Latex. I don’t remember what I did to make it work, so you will have to reverse engineer that. Here…

Agent Code Generation Part 1: Augment Code

Automate a Causal Inference Python Repo from Scratch with Augment Code If you’ve ever wanted to build a clean Python repository for implementing methods from Causal Inference for the Brave and True but didn’t want to do all the setup…

How to run an LLM locally with Ollama

Today we will try running an LLM locally on a Macbook Pro with Apple Silicon. To do this we will use ollama, since it is one of the easiest ways. First, download the right installer for your OS from ollamma.com.…

Playing Shadowrun with ChatGPT

I read an article by a guy who used ChatGPT4 as the dungeon master for a solo compaign for Dungeons & Dragons. Just him and ChatGPT. The chatbot fully played the role of a human dungeon master! It sounded really…

How SSH Nuke in Matrix Reloaded works

In the movie Matrix Reloaded, we see Trinity use SSH Nuke to hack a compromised server. This script exploits the SSH CRC-32 vulnerability, specifically known as CVE-2001-0144, which affected older versions of the OpenSSH software. Here’s an explanation of how…

How to call OpenAI’s ChatGPT API

Here is how you can call OpenAI’s ChatGPT API, given that you have an API key. Follow these instructions to get one. import openai openai.api_key = 'FILL IN YOUR OWN' openai.ChatCompletion.create( model="gpt-3.5-turbo", messages=[ {"role": "system", "content": "You are a helpful…

How to reset your WordPress password via SQL

You may have the need to reset your wordpress password and here I’ll show you how to do that, assuming you have access to your sites MySQL database. WordPress stores the password for your user in the wp_users table. The…