Skip to content

Instantly share code, notes, and snippets.

Avatar

Sean Escriva webframp

View GitHub Profile
@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:

View darwin-configuration.nix
{ config, lib, pkgs, ... }:
{
# Enable User Setup
# https://rycee.gitlab.io/home-manager/index.html#sec-install-nix-darwin-module
imports = [ <home-manager/nix-darwin> ];
home-manager.useGlobalPkgs = true;
networking.hostName = "megatron";
@webframp
webframp / darwin-configuration.nix
Created Oct 9, 2020
Getting started with nix-darwin
View darwin-configuration.nix
{ config, lib, pkgs, ... }:
{
# Enable User Setup
# https://rycee.gitlab.io/home-manager/index.html#sec-install-nix-darwin-module
imports = [ <home-manager/nix-darwin> ];
home-manager.useGlobalPkgs = true;
# System settings
# Explained: https://gist.github.com/MatthewEppelsheimer/2269385
@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 / CVE-2019-19781-firstresponse.md
Last active Jan 18, 2020
CVE-2019-19781 - Live Response First Steps from @darkQuassar
View CVE-2019-19781-firstresponse.md

CVE-2019-19781 Response steps - Have I been compromised?

Critical Exposure in Citrix ADC (NetScaler) – Unauthenticated Remote Code Execution

Credit: Suggested steps taken from twitter post by @darkQuassar

Just converted to copy/pastable gist for easy access

Check the root user command history

@webframp
webframp / config.el
Created Nov 12, 2019
doom emacs config dir .doom.d
View config.el
;;; ~/.doom.d/config.el -*- lexical-binding: t; -*-
;; To modify or add binding for existing modules use add-hook! or after! macros
;; https://github.com/hlissner/doom-emacs/wiki/Customization#reconfigure-packages
;; HOTFIX for Emacs 26.1 and gnutls 3.6 - no longer needed?
;; https://www.reddit.com/r/emacs/comments/cdf48c/failed_to_download_gnu_archive/
;; (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
;;; UI
@webframp
webframp / test.md
Created Sep 24, 2019
a sample md file
View test.md

Title

Subheading

a url A site was established by CNAME record domain DNS.

A list of long items

  • Create: a really long command line tool example that goes to far past the 80 character limit
@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 / ConEmu-gruvbox.md
Created Nov 22, 2017 — forked from circleous/ConEmu-gruvbox.md
gruvbox color schemes [ConEmu]
@webframp
webframp / Dockerfile
Created Oct 5, 2017
webframp/sphinx-doc Dockerfile
View Dockerfile
FROM alpine:latest
LABEL maintainer="sean.escriva@gmail.com"
ENV SPHINX_VERSION='1.6.4'
RUN apk add --update python3 make bash && \
ln -s /usr/bin/python3 /usr/bin/python && \
ln -s /usr/bin/pip3 /usr/bin/pip && \
rm -rf /var/cache/apk/*