Skip to content

Instantly share code, notes, and snippets.

View webframp's full-sized avatar

Sean Escriva webframp

View GitHub Profile
@webframp
webframp / CVE-2019-19781-firstresponse.md
Last active January 18, 2020 01:00
CVE-2019-19781 - Live Response First Steps from @darkQuassar

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 November 12, 2019 17:09
doom emacs config dir .doom.d
;;; ~/.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 September 24, 2019 00:56
a sample md file

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 / ConEmu-gruvbox.md
Created November 22, 2017 03:10 — forked from circleous/ConEmu-gruvbox.md
gruvbox color schemes [ConEmu]

gruvbox dark

gruvbox_dark

@webframp
webframp / Dockerfile
Created October 5, 2017 13:40
webframp/sphinx-doc 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/*
@webframp
webframp / linkerd.yaml
Last active September 29, 2017 17:59
simple starter linkerd k8s objects
---
apiVersion: v1
kind: ConfigMap
metadata:
name: l5d-config
data:
config.yaml: |-
admin:
ip: 0.0.0.0
port: 9990
@webframp
webframp / direnv.ps1
Last active September 25, 2017 13:57
simplistic direnv for powershell in ~100 loc
function Initialize-Direnv {
if($env:DIRENV_AUTH_FILE){
if(-not (test-path $env:DIRENV_AUTH_FILE)) { return "Auth file unreadable: $env:DIRENV_AUTH_FILE" }
# stole this stuff from https://github.com/lzybkr/PSReadLine/blob/master/PSReadLine/SamplePSReadlineProfile.ps1
$global:DIRENV = [System.Collections.ArrayList]@(
$last = ''
$lines = ''
foreach ($line in [System.IO.File]::ReadLines($env:DIRENV_AUTH_FILE))
{
if ($lines)
@webframp
webframp / .tmux.conf
Created August 24, 2017 01:56
Simplistic tmux configs, one themed, one without
set -g default-terminal "screen-256color"
setw -g xterm-keys on
# start window numbering at 1
set -g base-index 1
set -g mouse on
setw -g monitor-activity on
# use C-j instead of C-b
@webframp
webframp / log_linux.txt
Created July 20, 2017 19:03
rubyc testing for a dead simple app
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
Beginning configuration for readline-7.0 for x86_64-unknown-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
@webframp
webframp / keybase.md
Created February 16, 2017 05:38
keybase.md

Keybase proof

I hereby claim:

  • I am webframp on github.
  • I am sme (https://keybase.io/sme) on keybase.
  • I have a public key ASA9asReenv-2MESOFOZ8UTYEBZI2olORsj-gyXB8N6LWAo

To claim this, I am signing this object: