-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGet-Bytes.ps1
15 lines (10 loc) · 924 Bytes
/
Get-Bytes.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#Requires -Version 5
# Download the tools from here (search for "1. Click this download link."): https://www.nirsoft.net/password_recovery_tools.html
$Path = "$($env:USERPROFILE)\Downloads" # Paste Path to the downloaded tools here. Both tools should be in the same folder.
$Content = Get-Content -Path "$($Path)\WebBrowserPassView.exe" -Encoding Byte # Byte encoding exists in PS5 only
$Base64 = [System.Convert]::ToBase64String($Content)
$Base64 | Clip # Will copy the Byte64 string into your clipboard so you can paste it into the other script inside the variable Base64WebBrowserPassView
Pause
$Content = Get-Content -Path "$($Path)\PasswordFox.exe" -Encoding Byte # Byte encoding exists in PS5 only
$Base64 = [System.Convert]::ToBase64String($Content)
$Base64 | Clip # Will copy the Byte64 string into your clipboard so you can paste it into the other script inside the variable ContentPasswordFox