I hereby claim:
- I am calebgross on github.
- I am calebgross (https://keybase.io/calebgross) on keybase.
- I have a public key whose fingerprint is 58D4 3573 7EE6 4F7E 79B7 95C3 9D51 B737 7EC0 32ED
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # Create mount points for decrypted sparse bundle disk image and full Apple disk image. | |
| sudo mkdir /mnt/bundle /mnt/dmg | |
| # Ensure loopback kernel module is loaded. | |
| lsmod | grep ^loop || sudo modprobe loop | |
| # Decrypt and FUSE-mount sparse bundle disk image. Trailing options help with debugging. | |
| sudo sparsebundlefs <ENCRYPTED_SPARSE_BUNDLE_DISK_IMAGE> /mnt/bundle -s -f -D | |
| # Note partition 2's "Start" and "Size" values. |
| $socket = new-object System.Net.Sockets.TcpClient('<HOST>', <PORT>) | |
| if ($socket -eq $null) { | |
| exit 1 | |
| } | |
| $stream = $socket.GetStream() | |
| $writer = new-object System.IO.StreamWriter($stream) | |
| $buffer = new-object System.Byte[] 1024 | |
| $encoding = new-object System.Text.AsciiEncoding | |
| $writer.WriteLine("Hit Ctrl+C (not Ctrl+D!) or enter exit to close connection") | |
| $writer.Write("> ") |
| #!/bin/bash | |
| # Start trace. | |
| set -x | |
| # Get active primary interface. | |
| IFACE=$(route -n get 0.0.0.0 2>/dev/null | awk '/interface: / {print $2}') | |
| # Get networkservice name for interface. | |
| NETSVC=$(networksetup -listnetworkserviceorder | grep "$IFACE" | cut -d ' ' -f3- | sed 's/,.*$//') |
| #!/usr/bin/env python3 | |
| ''' | |
| Install dependencies: | |
| $ python3 -m venv env | |
| $ source env/bin/activate | |
| $ python3 -m pip install -U pip pycryptodome | |
| Usage: | |
| $ python3 aes_cryptor.py e web.config |
Easily deploy a secure containerized pastebin on a VPS.
This project runs and configures two containers:
Update: Please see Bishop Fox's rapid response post Log4j Vulnerability: Impact Analysis for latest updates about this vulnerability.
The Cosmos 🌌 team at Bishop Fox 🦊 is currently researching open-source projects that appear to use Log4j by default.
| #!/usr/bin/env bash | |
| # Author: @noperator | |
| # Purpose: Mark Slack messages as read when they match given criteria. | |
| # Usage: help | |
| set -euo pipefail | |
| # Make a curl request with required Slack tokens. | |
| curl-slack() { |
| function main() { | |
| const props = PropertiesService.getScriptProperties().getProperties(); | |
| // Look for created/updated/deleted events on scheduler calendar. | |
| const events = logSyncedEvents(props['schedulerCal'], false); | |
| console.log("got %d new event(s)", events.length); | |
| let e = 0 | |
| for (let event of events) { | |
| e += 1 | |
| console.log("[%d: %s] event: %s", e, event.id, event.summary); |