Skip to content

Instantly share code, notes, and snippets.

Avatar

Sean Escriva webframp

View GitHub Profile
@webframp
webframp / hack.sh
Created Mar 31, 2012 — forked from erikh/hack.sh
OSX For Hackers
View hack.sh
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
View CONTRIBUTING.md
  1. Fork the repository using Github
  2. Checkout a named feature branch created from the develop branch
  3. Write tests using chefspec or serverspec as appropriate.
  4. Complete modifications or corrections.
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request to the develop branch using Github
@webframp
webframp / service-checklist.md
Created Sep 13, 2016 — forked from acolyer/service-checklist.md
Internet Scale Services Checklist
View service-checklist.md

Internet Scale Services Checklist

A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."

Basic tenets

  • Does the design expect failures to happen regularly and handle them gracefully?
  • Have we kept things as simple as possible?
@webframp
webframp / CIPolicyParser.ps1
Created Dec 7, 2016 — forked from mattifestation/CIPolicyParser.ps1
Functions to recover information from binary Device Guard Code Integrity policies.
View CIPolicyParser.ps1
function ConvertTo-CIPolicy {
<#
.SYNOPSIS
Converts a binary file that contains a Code Integrity policy into XML format.
Author: Matthew Graeber (@mattifestation)
License: BSD 3-Clause
.DESCRIPTION
@webframp
webframp / ConEmu-gruvbox.md
Created Nov 22, 2017 — forked from circleous/ConEmu-gruvbox.md
gruvbox color schemes [ConEmu]
@webframp
webframp / zsh_to_fish.py
Created Sep 4, 2018 — forked from dvdbng/zsh_to_fish.py
Migrate zsh history to fish
View zsh_to_fish.py
import os
import re
def zsh_to_fish(cmd):
return (cmd.replace('&&', '; and ')
.replace('||', '; or '))
def is_valid_fish(cmd):
@webframp
webframp / README.md
Created Aug 21, 2020 — forked from dnozay/README.md
Collection of useful stuff for interacting with gitlab.
View README.md

Reset root/admin password

Lost the root/admin password? You can reset it using the command-line. Recipe adapted from gitlab issue #308.

# start the console
sudo gitlab-rails console
@webframp
webframp / kerberos_attacks_cheatsheet.md
Created Sep 13, 2021 — forked from TarlogicSecurity/kerberos_attacks_cheatsheet.md
A cheatsheet with commands that can be used to perform kerberos attacks
View kerberos_attacks_cheatsheet.md

Kerberos cheatsheet

Bruteforcing

With kerbrute.py:

python kerbrute.py -domain <domain_name> -users <users_file> -passwords <passwords_file> -outputfile <output_file>

With Rubeus version with brute module: