Skip to content

A PoC that recovers RSA values from SSH keys.

Notifications You must be signed in to change notification settings

otterpwn/SSHrecover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Overview

SSHrecover is a Proof of Concept project based on this video by IppSec that shows how it's possible to recover RSA private and public varibles from a total or partial SSH key.

Usage

The project it's written in GoLang and does not require any non-default packages/dependencies. The script can be ran without compiling with

go run main.go <filename> (priv / pub) [full]

to compile the script you can run

go build

in the project directory.

  • Parsing private key
./sshrecover id_rsa priv
# or to print the full parameter values
./sshrecover id_rsa priv full
  • Parsing public key
./sshrecover id_rsa.pub pub
# or to print the full parameter values
./sshrecover id_rsa.pub pub full

About

A PoC that recovers RSA values from SSH keys.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages