Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 1.19 KB

readme.md

File metadata and controls

57 lines (38 loc) · 1.19 KB

Solar PuTTY Decryptor

Can be use for penetration testing or CTFs.

Usage

usage: script.py session [-h] [-wl WORDLIST] [-p PASSWORD] 

Decrypt Solar-PuTTY session using a password or wordlist.

positional arguments:
  session               Path to the Solar-PuTTY session (.dat) file

optional arguments:
  -h, --help            show this help message and exit
  -wl WORDLIST, --wordlist WORDLIST
                        Path to the wordlist file (optional).
  -p PASSWORD, --password PASSWORD
                        Password to use for decryption (optional)
SolarPuttyDecryptor.py session_file --wordlist <some_wordlist>

or

SolarPuttyDecryptor.py session_file --password <password>

Supplimental

Wrappers around calling SolarPuttyDecrypt.exe.

$file = "C:\path\to\file.txt"
$exe = "C:\path\to\SolarPuttyDecrypt.exe"
$lines = Get-Content -Path $file


foreach ($line in $lines) {
    & $exe $line
}

References