- Download MSYS2 and install it.
pacman -Syy
pacman -Syu
pacman -Syy
pacman -Syu
| #!/usr/bin/env python2 | |
| # Author: Caleb Stewart | |
| # Date: January 20th, 2019 | |
| # This code, given a lowercased Base64 string, will determine the correct and original Base64 encoding | |
| from pwn import * | |
| import sys | |
| import argparse | |
| def all_case_combos(inp): |
brew install postgresql
LDFLAGS=`pg_config --ldflags` pip install psycopg2| #!/bin/bash | |
| find . -type f -name '*.log' -exec truncate --size 0 "{}" \; |
| #!/bin/bash | |
| # Based on https://tug.org/mactex/uninstalling.html | |
| # Redirect stdout | |
| exec > mactex-uninstaller.sh | |
| echo "#!/bin/bash" | |
| echo | |
| echo 'if [ "$(id -u)" != "0" ]; then' |
| #!/bin/bash | |
| function dumpKernelLog(){ | |
| bt=$(sysctl -n kern.boottime | sed 's/^.*} //') | |
| bTm=$(echo "$bt" | awk '{print $2}') | |
| bTd=$(echo "$bt" | awk '{print $3}') | |
| bTt=$(echo "$bt" | awk '{print $4}') | |
| bTy=$(echo "$bt" | awk '{print $5}') |
| #!/bin/bash | |
| if [[ "$1" == "" ]]; then | |
| echo "usage: eisaid.sh 0x[eisa-number], or eisaid.sh [eisaid-string]" | |
| exit 0 | |
| fi | |
| if [[ "$1" == 0x* ]]; then | |
| let vendor="$1 & 0xFFFF" | |
| let device="$1 >> 16" |
If you are getting this in GDB on macOS while trying to run a program:
Unable to find Mach task port for process-id 57573: (os/kern) failure (0x5).
(please check gdb is codesigned - see taskgated(8))gdbc)