Feb 6, 2022 - 2 min read
Today I took the step to migrate away from the Medium platorm and revert back to a Hugo and AWS setup. Over the past few years I have been blogging (fairly infrequently) on the platform and was mainly attracted to getting paid per post behind their paywall. However more recently I’ve came to realise I don’t really write content to get paid $3.99 per month (Max i’ve been paid is $50 for an article, then it drops to pennies).
Feb 6, 2022 - 2 min read
There are a plethora of reasons as to why you may want to have a custom written shellcode runner, Whether that be to Avoid Detection or Aid in Portability there are also a plethora of ways and languages to write one in from C all the way down to PowerShell. Today i’m going to show you how to use native Golang functions to use the Windows API to execute a Meterpreter Shell.
Jul 4, 2021 - 5 min read
In the good ol’ days to write a credential sniffer you had to spend alot of time learning C and libpcap this was extremely time consuming and no one really wants to go through that. So today we have GoLang, the statically typed language from google, specifically the gopacket library from google. Gopacket is a library that introduces packet filtering and capturing to go. It comes with C Bindings for libpcap, C Bindings for pfring, afpacket C Bindings and tcpassembly.
Nov 30, 2020 - 6 min read
There comes a point in every developer’s life where XML data is painfully unavoidable to work with. RSS Feeds try to make this easier but everyone prefers good ol’ JSON, unless you are a sadist. In Golang we can attack this in a number of ways like using an XML to JSON Library, but why not use the Go standard libraries and save some vendoring issues. Building our own XML to JSON function I was recently working on something that required a Medium RSS feed published to a website and thought why not use a GoLang function running on OpenFaaS to accomplish this.
Jan 22, 2020 - 6 min read
In [Part 1] and [Part 2] we built a functional API using Golang and MongoDB, although as it stands its insecure. We can add password protection using Basic Auth while deploying ([See here]). In this tutorial we will build a very tiny docker container and deploy to our Kubernetes Cluster. For the purposes of this tutorial I won’t be showing you how to setup a Kubernetes Cluster, However you can do it easily with [Terraform] and [DigitalOcean].
Apr 21, 2018 - 3 min read
Hi and welcome to Part 2 of Building a ToDo API with Golang and Kubernetes! In part 1 we learned what we were going to build and how to use mux to route an HTTP Request to a Handler function. In this part we will learn how to build our endpoints for CRUD(Create, Read, Update, Delete) operations, And how to use MongoDB to store our ToDo Items. Key learning Points Handling HTTP Methods with mux How to use variables in your route path with mux Using mgo to Manipulate data in MongoDB MongoDB MongoDB is a free and open-source cross-platform document-oriented database program.
Mar 4, 2018 - 8 min read
Hi Folks, Welcome to another tutorial series on building cloud native applications. In this series you will learn how to use golang and MongoDB (mgo) to build a cloud native API microservice using golang and deploying it to a Kubernetes Cluster with your own Helm chart! Prerequisites A golang installation Docker CE installed on your local system A Kubernetes Cluster I am using Google Kubernetes Engine ($300 Free Trial) Alternatively setup minikube HelmTo save time run ‘helm init’ to setup Helm on your cluster A basic understanding of Go A docker hub account A github account What will you learn?
Mar 2, 2018 - 4 min read
Hello and welcome back to Going Serverless with AWS. In Part 2 we learned how to use Python with AWS Lambda to Register a user to our RDS instance. Today we will learn how to build an API Gateway an Register our users using a JQuery. So lets get started! Building our API Gateway What is API Gateway Amazon API Gateway is an AWS service that enables developers to create, publish, maintain, monitor, and secure APIs at any scale.
Nov 26, 2017 - 3 min read
Hello and welcome back to Going Serverless with AWS, In part 1 we learned what Serverless means and what we are going to build. In part 2 We will learn how to create an RDS instance with the AWS cli tools, and build our first lambda function, package it, deploy it, and invoke it using the AWS cli tools. In the spirit of keeping this as simple as possible you will be able to copy and paste all commands and get a working setup however this will be super insecure as passwords and things will be set using the AWS cli.
Nov 5, 2017 - 5 min read
Thanks for coming back for part 2 of my Chef Guide with Digital Ocean. In this part I will take you through setting up Chef with the Digital Ocean Gem and Bootstrapping your First VM. As a little bonus I will show you how to create a very simple cookbook to manage SSH Keys on your bootstrapped VM. If you have not already Done so remember to check out Part 1
The Digital Ocean Plugin
Setting Up the Plugin!
So now we have our chef server we should maybe put it to the test and bootstrap a new VM. To do this you will need to get the Digital Ocean plugin for knife.
Sep 23, 2016 - 4 min read