After installed Golang v1.19.x, install the Onionscan go install github.com/415ALS/onionscanv3@latest. It will automatically install the dependencies.
Go to ~/go/bin/ & run onionscan by typing ./onionscan -verbose <56CharsOnionURL>.onion
Notes:
In this case, the v2 version offered 16 characters, v3 offered 56 characters onion address.
Make sure utils/validation.go (line 11)
from: regexp.MatchString((^|\.)[a-z2-7]{16}\.onion$, identifier)
to: regexp.MatchString((^|\.)[a-z2-7]{56}\.onion$, identifier)
Tested on Ubuntu 20.04 with Golang v1.19.x
Notes:
In this case, the v2 version offered 16 characters, v3 offered 56 characters onion address. Make sure utils/validation.go (line 11) from: regexp.MatchString(
(^|\.)[a-z2-7]{16}\.onion$
, identifier) to: regexp.MatchString((^|\.)[a-z2-7]{56}\.onion$
, identifier)