Library to decode Juniper secret hashes (
Based on Crypt-Juniper and taktv6/junoscrypt
package main
import (
"fmt"
"github.com/jeremmfr/junosdecode"
)
func main() {
junWordCoded := "$9$1HFIyKXxdsgJ-VH.Pfn6lKMXdsZUi5Qnikfz"
if passwordDecoded, err := junosdecode.Decode(junWordCoded); err != nil {
fmt.Print(err.Error())
} else {
fmt.Print(passwordDecoded)
}
}
Play : here