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:
With kerbrute.py:
python kerbrute.py -domain <domain_name> -users <users_file> -passwords <passwords_file> -outputfile <output_file>
With Rubeus version with brute module:
{ 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"; |
{ 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 |
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
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
;;; ~/.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 |
a url A site
was established by CNAME record domain DNS.
a really long command line tool example that goes to far past the 80 character limit
import os | |
import re | |
def zsh_to_fish(cmd): | |
return (cmd.replace('&&', '; and ') | |
.replace('||', '; or ')) | |
def is_valid_fish(cmd): |
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/* |