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
<# | |
Get-FileHash Extended | |
Returns all hashes from the supported algorithms in one response | |
Allows filepath to be used directly from an argument or prompt after the script is ran | |
#> | |
param( | |
[string]$FilePath | |
) |
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
Read-Host "Enter full file name and path" | %{Get-FileHash -Algorithm MD5 -Path $_; Get-FileHash -Algorithm SHA1 -Path $_; Get-FileHash -Algorithm SHA256 -Path $_; Get-FileHash -Algorithm SHA384 -Path $_; Get-FileHash -Algorithm SHA512 -Path $_; Get-FileHash -Algorithm MACTripleDES -Path $_; Get-FileHash -Algorithm RIPEMD160 -Path $_;} | Format-List |
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
<?php | |
//Add this function to your /wp-content/themes/<yourtheme>/functions.php | |
//It uses emgithub.com to spawn an embed for your github code on a Wordpress Bloc | |
//Derived from https://crunchify.com/how-to-embed-and-share-github-gists-on-your-wordpress-blog/ | |
// 2 Mar 2022 | |
/** | |
* | |
* Example: https://github.com/EricTurner3/cybersecurity/blob/main/HackTheBox/challenges/forensics/redfailure/decrypt.cs |
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
python -c "import uuid; print(str(uuid.uuid4()).replace('-',''))" |
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
### Keybase proof | |
I hereby claim: | |
* I am ericturner3 on github. | |
* I am ericturner (https://keybase.io/ericturner) on keybase. | |
* I have a public key ASC4fEuBBo0RQcyBM4wP1PyNjTx7S6SPSEyKC8EDV2a2two | |
To claim this, I am signing this object: |