Skip to content

Instantly share code, notes, and snippets.

@Ne0nd0g
Ne0nd0g / qemu-arm-setup.MD
Created March 3, 2023 12:49
Qemu ARM64 VM Setup
  1. Install Qemu: apt install qemu-system-arm qemu-efi-aarch64 qemu-utils
  2. Create a 15GB hard drive for the virtual machine: qemu-img create -f qcow2 openbsd.qcow2 15G
  3. Download the OpenBSD installation image install72.img from https://ftp.openbsd.org/pub/OpenBSD/7.2/arm64/
  4. Start the VM with the install image and the bios image; create a telnet listener on 127.0.0.1:4444 to connect to the VM
     qemu-system-aarch64 -M virt -m 2048 -cpu cortex-a57 -serial tcp:127.0.0.1:4444,server,telnet,wait -nographic -drive file=openbsd.qcow2,format=qcow2,index=0,media=disk -drive file=install72.img,format=raw,index=1 -bios /usr/share/qemu-efi-aarch64/QEMU_EFI.fd
    
    • The /usr/share/qemu-efi-aarch64/QEMU_EFI.fd comes from installing the QEMU packages
  5. Connect to the VM with telnet 127.0.0.1 4444 and install OpenBSD
    • When asked for the location of sets use http and cdn.openbsd.org
@Ne0nd0g
Ne0nd0g / BooBeacon.cs
Last active March 27, 2021 06:29
C# w/ embedded Boo lang compiler to execute Boo lang script that executes provided shellcode
using System;
using System.Text;
using System.Reflection;
using System.Collections;
using System.IO;
using System.IO.Compression;
using Boo.Lang.Compiler;
using Boo.Lang.Compiler.IO;
using Boo.Lang.Compiler.Pipelines;

Keybase proof

I hereby claim:

  • I am Ne0nd0g on github.
  • I am russel (https://keybase.io/russel) on keybase.
  • I have a public key whose fingerprint is 985E F3E5 6A3E 284A ADA6 0422 329A EA83 209C BB9D

To claim this, I am signing this object: