Skip to content

Instantly share code, notes, and snippets.

View raesene's full-sized avatar

Rory McCune raesene

View GitHub Profile
BEGIN MESSAGE.
jKsLE4T0cpsmr3A xdwGl6DbAhKqgU7 wMnv05f4EqqKmjQ tr1uxnbCwm0p00L
F7xTQzYRUgY1Y4g HGDudObcgUsTCKq 6Xr2MZHgg77Q0Hw ZdBKpKxwK9210Xf
kABQ8Ip45QekG6G tSbjJC0yrn7JrcL Ity1YhhOxSHyzv8 4rkrYTADczlqHGE
0r38x8yTptzkoWo 7nS1y0O9G0w1l2N OhEBu2IP.
END MESSAGE.
**Create WSL distro Instance**
wsl.exe --import [name] [dir_to_place_distro_in] [path_to_rootfs_file]
**Remove WSL Distro** (NB still need to clean up files from that dir)
wsl.exe --unregister [Name]
**Export WSL Distro to TAR archve**
wsl --export [name] [dir_to_place_distro_in]
@raesene
raesene / kubernetes_add_service_account_kubeconfig.sh
Created October 3, 2020 19:16 — forked from innovia/kubernetes_add_service_account_kubeconfig.sh
Create a service account and generate a kubeconfig file for it - this will also set the default namespace for the user
#!/bin/bash
set -e
set -o pipefail
# Add user to k8s using service account, no RBAC (must create RBAC after this script)
if [[ -z "$1" ]] || [[ -z "$2" ]]; then
echo "usage: $0 <service_account_name> <namespace>"
exit 1
fi
@raesene
raesene / gist:e9628392f28b6c5704c8a2e4286286e0
Last active February 19, 2020 08:36
British Isles Security Conferences

List below Confirmed date where it's available, ?Month based on when it ran in 2019

@raesene
raesene / gist:2ccfc7c82af2ed7f920aa567cb69bb53
Last active August 12, 2021 09:55
UK Pen test Company Acquisition List
Being a list of UK pentest companies that got acquired, for no particular reason apart from remembering them all is getting difficult.
(based on a tweet from @clappymonkey and follow-ups from there)
In no particular order and the attached link is just the first one on google that appeared relevant.
MWR acquired by F-Secure (https://www.mwrinfosecurity.com/news/f-secure-takes-a-big-step-towards-cyber-security-leadership-by-acquiring-mwr-infosecurity)
RandomStorm acquired by Accumuli (https://www.computerweekly.com/microscope/news/2240237054/Accumuli-acquires-again-with-RandomStorm-buy)
Securetest acquired by NCC (https://www.manchestereveningnews.co.uk/business/business-news/nccs-4m-swoop-999989)
NGS acquired by NCC (https://www.computerweekly.com/news/2240087643/NCC-acquires-security-testing-rival-NGSS-for-10m)
Nettitide acquired by lloyds registers (https://www.channelweb.co.uk/crn-uk/news/3028655/cybersecurity-firm-nettitude-acquired-by-lloyds-register)
First Base acquired by falanx (https://www.insiderme
@raesene
raesene / test.html
Created September 28, 2015 15:47
test
<marquee>test</marquee>
@raesene
raesene / header_check_test.rb
Created January 13, 2015 19:12
Sample Header Passive Scan with cast error
require 'java'
java_import 'burp.IBurpExtender'
java_import 'burp.IScannerCheck'
java_import 'burp.IScanIssue'
java_import 'burp.IHttpRequestResponse'
class BurpExtender
include IBurpExtender, IScannerCheck
def registerExtenderCallbacks(callbacks)

Keybase proof

I hereby claim:

  • I am raesene on github.
  • I am raesene (https://keybase.io/raesene) on keybase.
  • I have a public key whose fingerprint is 0CB2 22CC 5B08 3B79 4924 4738 C9AB 0B03 C81E 6392

To claim this, I am signing this object: