Welcome to the writeup for "Keygen" - a CTF challenge that will mainly test your Network analysis skills (little bit of searching too).
Let's dive in.
Firstly, the archive name is "RE_0x1.zip". (that was just for distracting馃槢)
Generate a GPG key pair : gpg --full-gen-key
Please select what kind of key you want: (1) RSA and RSA (default)
What keysize do you want? (3072) : 4096
Key is valid for? (0) : Set the Expiry Date (eg: 2y)
| # Source : https://stackoverflow.com/a/59343705 | |
| $env:PATH = [Runtime.InteropServices.RuntimeEnvironment]::GetRuntimeDirectory() | |
| [AppDomain]::CurrentDomain.GetAssemblies() | ForEach-Object { | |
| $path = $_.Location | |
| if ($path) { | |
| $name = Split-Path $path -Leaf | |
| Write-Host -ForegroundColor Yellow "`r`nRunning ngen.exe on '$name'" | |
| ngen.exe install $path /nologo | |
| } |
| curl -s https://api.github.com/users/htr-tech/repos | grep \"clone_url\" | awk '{print $2}' | sed -e 's/"//g' -e 's/,//g' | xargs -n1 git clone |