These are my scripts and utility code for *nix boxes.
198
These are my scripts and utility code for *nix boxes.
git clone https://github.com/EvanMcBroom/scripts
pip3 install ./scripts
docker run -it --rm evanmcbroom/scripts
Query a BloudHound database.
If no arguments are provided, bhq will connect to a local Neo4j server and start an interactive cypher query shell.
Arguments may be provided to submit individual queries, search for nodes with properties that contain a value, and list, set, or reset nodes marked as owned or high value.
When marking nodes, node names may be specified as an argument or standard input, similar to the base64 utility.
Find any node with a property value that includes Lorem.Ipsum:
bhq -f Lorem.Ipsum
List all high value nodes:
bhq -lv
Mark every node name in a file as owned:
cat names.txt | bhq -o -s
Scan a file or directory for a premade list of identifiers or a provided list of words. The premade list of identifiers includes:
The scanner will automatically unarchive and uncompress files if necessary.
Supported archive formats include Tar and Zip.
Supported compression formats include Bzip2, Gzip, and Lzma.
Files are treated as plaintext by default but my be treated as raw binary data as well.
Scan a binary file for all identifiers and a provided list of words:
scan -ab -w wordlist.txt Program.exe
Start an HTTPS server, similar to Python's built-in HTTP server. You may specify a key and certificate file to use with the server. If you do not specify a key and certificate, then they will be automatically generated for you.
Start an HTTPS server on port 445:
sserv 445
URL encode or decode a file(s) or standard input, similar to the base64 utility.
Decode a file:
cat input.txt | urlparse -d
Content type
Image
Digest
sha256:bb201f327…
Size
30.5 MB
Last updated
about 4 years ago
docker pull evanmcbroom/scripts