• Earn real money by being active: Hello Guest, earn real money by simply being active on the forum — post quality content, get reactions, and help the community. Once you reach the minimum credit amount, you’ll be able to withdraw your balance directly. Learn how it works.

Source Code Get SSH Keys - PowerShell

dEEpEst

☣☣ In The Depths ☣☣
Staff member
Administrator
Super Moderator
Hacker
Specter
Crawler
Shadow
Joined
Mar 29, 2018
Messages
13,859
Solutions
4
Reputation
27
Reaction score
45,545
Points
1,813
Credits
55,080
‎7 Years of Service‎
 
56%
Retrieves SSH keys from a target system, and ssh attempts from powershell history.

Syntax
Code:
# by default it will check the expected directory, though you have the option to supply one yourself
$data = Get-Ssh
$data = Get-Ssh -sshKeyDirectoryPath "C:\Custom\Path\To\.ssh

Script
 
Last edited:
Back
Top