This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Work in progerss. Currently the diff is not accurate. | |
# TODO: Take in setup.py and requirements_*.txt. | |
# Exit immediately if a command exits with a non-zero status | |
set -e | |
# Uncomment for debugging | |
#set -x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Work in Progress | |
# The pip freeze will bring in a lot more packages explicitly than expected. | |
# Still need to populate/paste into setup.py correctly. | |
SETUP_PY_PATH="./setup.py" | |
# Extract install_requires values without versioning | |
INSTALL_REQUIRES=$(grep -oP '"[^"]+"' $SETUP_PY_PATH \ | |
| grep -oP '"[^"]+"' \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Requires existing template setup.py | |
SETUP_PY_PATH="./setup.py" | |
# Requires pipdeptree | |
pip install pipdeptree | |
# Generate a dependency tree for your project | |
pipdeptree --warn silence --warn silence -r --warn silence --warn silence --warn silence > dependencies.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hashcat --benchmark | |
hashcat (v6.2.6) starting in benchmark mode | |
Benchmarking uses hand-optimized kernel code by default. | |
You can use it in your cracking session by setting the -O option. | |
Note: Using optimized kernel code limits the maximum supported password length. | |
To disable the optimized kernel code in benchmark mode, use the -w option. | |
* Device #2: Apple's OpenCL drivers (GPU) are known to be unreliable. | |
You have been warned. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#name: $(TeamProject)--$(Build.SourceBranchName)-$(BuildDefinitionName)_$(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r) | |
name: SomeProject | |
trigger: none | |
pr: | |
branches: | |
include: | |
- "*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enc_dec = [28777, 25455, 17236, 18043, 12598, 24418, 26996, 29535, 26990, 29556, 13108, 25695, 28518, 24376, 24421, 14128, 13154, 13368, 13949] | |
# Up to 0 to 126 because of pairs of characters. | |
for val in enc_dec: | |
for i in range(127): | |
if 0 <= (val - (i << 8)) <= 126: | |
print(chr(i) + chr(val - (i * 256)), end='', flush=True) | |
# OR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This works if your function app is functional :) | |
# func azure functionapp fetch-app-settings <function app name> | |
# If it isn't, use this. | |
# { | |
# "IsEncrypted": false, | |
# "Values": { | |
# "AzureWebJobsStorage": "UseDevelopmentStorage=true", |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import re | |
import sys | |
def main(payload=None): | |
if payload is None: | |
payload = input("Enter exfiltrated memory addresses: ") | |
raw_flag = payload.split() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hashcat Version: 6.2.6 | |
NVIDIA DRIVER Version: 537.58 | |
CUDA Version 12.2.140 | |
GPU: ZOTAC 4080 | |
CPU: Ryzen 3700X | |
MOBO: MSI 570X Gaming Plus | |
RAM: 32GB DDR4 | |