Downloads and setup
Download Win10 "manually" - https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewadvanced
wget https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>Page Title</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<script type="text/javascript"> | |
class PugPhoto extends HTMLElement { | |
constructor() { |
FROM alpine:latest | |
MAINTAINER Adam Baxter <voltagex@voltagex.org> | |
#How many jobs to run - i.e. passed to -j | |
ARG JLEVEL=8 | |
RUN apk --update add git wget xz tar | |
RUN apk add gcc g++ | |
RUN apk add libc-dev make libtool autoconf automake | |
RUN apk add python pkgconfig bison flex patch coreutils file linux-headers |
Download Win10 "manually" - https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewadvanced
wget https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso
Starting Nmap 6.47 ( http://nmap.org ) at 2015-03-08 10:53 AUS Eastern Daylight Time | |
NSE: Loaded 118 scripts for scanning. | |
NSE: Script Pre-scanning. | |
Initiating ARP Ping Scan at 10:53 |
46.235.231.111: | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 4882k 100 4882k 0 0 148k 0 0:00:32 0:00:32 --:--:-- 134k | |
real 0m32.858s | |
user 0m0.080s | |
sys 0m0.147s | |
function Get-PEHeader | |
{ | |
<# | |
.SYNOPSIS | |
Parses and outputs the PE header of a process in memory or a PE file on disk. | |
PowerSploit Function: Get-PEHeader | |
Author: Matthew Graeber (@mattifestation) | |
License: BSD 3-Clause |
#from http://rutschle.net/pipermail/sslh/2018-April/000674.html | |
verbose: 1; | |
foreground: true; | |
inetd: false; | |
transparent: true; | |
user: "sslh"; | |
pidfile: "/var/run/sslh.pid"; | |
syslog_facility: "auth"; | |
listen: ({ host: "10.1.1.222"; port: "443"; }); |
#!/bin/sh | |
# Linuxium's installation script for booting from a 32-bit bootloader | |
DEFAULT_GATEWAY=`ip r | grep default | cut -d ' ' -f 3` | |
if ( ! ping -q -w 1 -c 1 "${DEFAULT_GATEWAY}" > /dev/null 2>&1 ); then | |
echo "$0: Not connected to internet ... exiting." | |
exit | |
fi |
#!/bin/bash | |
#Inspired by http://blog.neutrino.es/2012/git-copy-a-file-or-directory-from-another-repository-preserving-history/ | |
#Copy a file or directory out of a git repository, preserving history! | |
#Creates DESTINATIONPATH with patches that can be applied with git am | |
#e.g. | |
#0001-Add-new-theme-Gum.patch | |
#0002-Add-syntax-highlighting-for-Gum-theme.patch | |
#0003-Gum-Fix-tag-URLs-not-being-slugified-and-therefore-b.patch | |
#0004-Gum-Add-Disqus-support.patch | |
#0005-Gum-Use-article-title-as-the-title-of-the-generated-.patch |
#!/usr/bin/env bash | |
set -uoe | |
sudo apt install -y mingw-w64-tools make yasm libz-mingw-w64 | |
cd ~ | |
MINGW=x86_64-w64-mingw32 | |
PKG_CONFIG_PATH=/opt/mingw64/lib/pkgconfig | |
LDFLAGS="-L/opt/mingw64/lib/ -L/usr/x86_64-w64-mingw32/lib/" | |
PREFIX=/opt/mingw64 |