This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 | |
This file contains hidden or 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: eVGA 3080 FTW | |
| CPU: Ryzen 3700X | |
| MOBO: MSI 570X Gaming Plus | |
| RAM: 32GB DDR4 | |
This file contains hidden or 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
| # Function to compare property values of two PSObjects with wrapper around Compare-Object. | |
| # Usage Compare-Objects <reference_object> <diff_object> <array_of_relevant_properties> | |
| # The `strict` parameter is relevant if you want to compare integer to floating point number strictly. | |
| # The `explicit` parameter is default to $true to see value by value difference. | |
| function Compare-Objects { | |
| param ( | |
| [Parameter(Mandatory=$true)] | |
| [PSObject]$obj1, | |
| [Parameter(Mandatory=$true)] |