This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set imap_user = "[email protected]" | |
set from = "[email protected]" | |
set realname ="___" | |
set ssl_force_tls = yes | |
set folder = "imaps://imap-mail.outlook.com:993" | |
set smtp_url = "smtp://[email protected]@smtp-mail.outlook.com:587/" | |
set spoolfile = "+INBOX" | |
set hostname = "live.com" | |
set header_cache = "~/.mutt/cache/headers" | |
set message_cachedir = "~/.mutt/cache/bodies" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ikev2 esp \ | |
from 10.10.0.0/24 to 10.11.0.0/24 peer home.pchak.net psk $pw |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
loader="grub" | |
cpu=1 | |
memory=512M | |
network0_type="virtio-net" | |
network0_switch="public" | |
disk0_type="virtio-blk" | |
disk0_name="disk0" | |
grub_install0="linux /boot/grsec initrd=/boot/initramfs-grsec alpine_dev=cdrom:iso9660 modules=loop,squashfs,sd-mod,usb-storage,sr-mod" | |
grub_install1="initrd /boot/initramfs-grsec" | |
grub_run0="linux /boot/vmlinuz-grsec root=/dev/vda3 modules=ext4" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import configparser | |
import sys | |
from base64 import encodestring | |
import click | |
import requests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re,subprocess | |
def ifconfig(): | |
ifconfig = {} | |
dev = None | |
for l in subprocess.Popen('ifconfig',stdout=subprocess.PIPE).stdout: | |
l = l.decode('ascii').rstrip() | |
m = re.match('^([a-z]+[0-9]+): flags=(.*?) (.*)',l) | |
k = v = None |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ts = (Get-Date).toString("yyyyMMdd-HHmmss") | |
$logfile = "C:\Users\Administrator\log-metadata-$ts.txt" | |
$server = "http://169.254.1.1:8080" | |
$name = $env:computername | |
$if = Get-WmiObject win32_networkadapterconfiguration | where -property ipenabled | |
$q = $server + "/mac/" + $if.macaddress | |
Function Log-Write { | |
Param ([string]$msg) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New-Item -Path "C:\Program Files\VMBoot" -ItemType Directory -Force | |
@" | |
`$ts = (Get-Date).toString("yyyyMMdd-HHmmss") | |
`$logfile = "C:\log-vmboot-`$ts.txt" | |
`$server = "http://169.254.1.1:8080" | |
`$name = `$env:computername | |
`$if = Get-WmiObject win32_networkadapterconfiguration | where -property ipenabled |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
IFACE=${1?Usage: $0 <iface>} | |
tcpdump -i $IFACE -x -l 'icmp[icmptype] == 8' 2>/dev/null | awk ' | |
/0x0020/ { packet = $4$5$6$7$8$9 } | |
/0x0030/ { packet = packet$2$3 | |
if (gsub("00+$","",packet) > 0) { | |
print packet | |
system("pkill tcpdump") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Globals | |
const actors = []; | |
const player = null; | |
const vec3 = Memory.alloc(12); | |
const sprintmod = 500.0; | |
// Get method references |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/gob" | |
"encoding/hex" | |
"encoding/json" | |
"errors" | |
"fmt" | |
"log" | |
"os" |