Make sure you don't have ANY instances of sshd or ssh-agent running (important):
- Run PowerShell as Administrator:
Stop-Service sshd
Stop-Service ssh-agent
taskkill /f /im sshd.exe
taskkill /f /im ssh-agent.exe
# Prerequisites: | |
# kitty: https://sw.kovidgoyal.net/kitty/ | |
# kitty themes: https://github.com/dexpota/kitty-themes | |
# pastel: https://github.com/sharkdp/pastel | |
# Usage: | |
# $ kittycolors | |
# $ kittycolors -s | |
kittycolors() { | |
if [[ $# -eq 0 ]]; then | |
grep -o "#[a-f0-9]\{6\}" ~/.config/kitty/current-theme.conf | pastel color |
menuentry 'ubuntu live' { | |
set rootuuid=709ba2df-2ded-4a27-83fe-34093fe97ce7 | |
search --no-floppy --fs-uuid --set=root $rootuuid | |
set isofile='/img/ubuntu-18.04.1-desktop-amd64.iso' | |
loopback loop $isofile | |
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile | |
initrd (loop)/casper/initrd.lz | |
} | |
menuentry 'debian live' { |
import struct, objc | |
from Foundation import NSBundle | |
from Cocoa import NSAppleEventDescriptor | |
def OSType(s): | |
# Convert 4 character code into 4 byte integer | |
return struct.unpack('>I', s)[0] | |
# Create an opaque pointer type to mask the raw AEDesc pointers we'll throw around | |
AEDescRef = objc.createOpaquePointerType('AEDescRef', '^{AEDesc=I^^{OpaqueAEDataStorageType}}') |
import struct | |
import sys | |
import subprocess | |
import socket | |
import telnetlib | |
import ctypes | |
""" | |
Cookbook - 6 - 0 solves : pwn: a top chef wrote this cookbook for me but i think he has an extra secret recipe! | |
https://s3.amazonaws.com/bostonkeyparty/2016/58056c425dc617b65f94a8b558a4699fedf4a9fb.tgz |
/// <reference path="../tsd/tsd.d.ts" /> | |
import mongoose = require('mongoose'); | |
import passport = require('passport'); | |
interface IUser extends mongoose.Document { | |
provider: string; | |
id: string; | |
authorId: string; | |
displayName: string; |
//------------------------------------------------------------------------------ | |
// pdbdump.c - dump symbols from .pdb and executable files (public domain). | |
// - to compile; cl.exe /Ox /Zi pdbdump.c | |
// - | |
// - Martin Ridgers, pdbdump 'at' fireproofgravy.co.uk | |
//------------------------------------------------------------------------------ | |
#include <stdio.h> | |
#include <Windows.h> | |
#include <DbgHelp.h> |
#!/usr/bin/env python | |
import socket | |
import threading | |
import select | |
import sys | |
terminateAll = False | |
class ClientThread(threading.Thread): |