Skip to content

Instantly share code, notes, and snippets.

@kusuriya
kusuriya / dockerfile
Last active September 2, 2021 14:10
Dockerfile to get atomic red team into a docker container.
# Copyright (C) Jason Barbier
# Licensed under the MIT License.
# Docker image file that describes an Ubuntu20.04 image with PowerShell installed from Microsoft APT Repo
FROM mcr.microsoft.com/powershell:ubuntu-20.04
# Give all user execute permissions and remove write permissions for others
RUN /opt/microsoft/powershell/7/pwsh \
-Command " \
\$ErrorActionPreference = 'Stop' ; \
\$ProgressPreference = 'SilentlyContinue' ; \
[ ] Secure/trusted communications between team members for administrative purposes
[ ] Secure access to required systems
[ ] Configuration Management and implementation
[ ] Configuration as Code
[ ] Deployments
[ ] Documented infrastructure design
This file has been truncated, but you can view the full file.
/*
* Intel ACPI Component Architecture
* AML/ASL+ Disassembler version 20180209 (64-bit version)
* Copyright (c) 2000 - 2018 Intel Corporation
*
* Disassembling to symbolic ASL+ operators
*
* Disassembly of dsdt.aml, Sat May 26 06:40:26 2018
*
* Original Table Header:
= U2F on FreeBSD =
U2F via yubikey works with chrome/chromium and firefox 58 and later.
== Enabling the device ==
You need to make sure that you have read/write access to the uhid device that is linked to your device.
There is an existing package to set up the devd rules for this called u2f-devd. this simplifies things for everyone
== Browser Support ==
=== Firefox ===
@kusuriya
kusuriya / infosec_newbie.md
Created January 16, 2018 22:51 — forked from mubix/infosec_newbie.md
How to start in Infosec

Effective Engineer - Notes

What's an Effective Engineer?

  • They are the people who get things done. Effective Engineers produce results.

Adopt the Right Mindsets

[DscResource()]
class test {
[DscProperty(Key)]
[string] $KeyName
# Gets the resource's current state.
[test] Get() {
return $this
}
bhyve -c 2 -m 4G -w -H \
-s 0,hostbridge \
-s 3,ahci-cd,/vms/isos/install60.iso \
-s 4,ahci-hd,/dev/zvol/vms/openbsd \
-s 5,virtio-net,tap0 \
-s 29,fbuf,tcp=0.0.0.0:5900,w=1024h=768it \
-s 30,xhci,tablet \
-s 31,lpc -l com1,stdio \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
OpenBSD0
@kusuriya
kusuriya / set-servicename.ps1
Created December 22, 2016 01:46
setyerservice
function Set-ServiceAccount
{
[cmdletbinding()]
param
(
# array of computers to do this to
[string[]] $ComputerName,
# array of services to do
[string[]] $ServiceName,
# credentials
### Keybase proof
I hereby claim:
* I am kusuriya on github.
* I am kusuriya (https://keybase.io/kusuriya) on keybase.
* I have a public key ASAqWRtUWfE_2CZ3RN7mzD32xVl-gfbRIzgFrxnv9RXR_Ao
To claim this, I am signing this object: