s-rah / onionscan

OnionScan is a free and open source tool for investigating the Dark Web.
https://twitter.com/OnionScan
Other
2.88k stars 599 forks source link

Onionscan v3 installation guide #184

Open popkilli opened 1 year ago

popkilli commented 1 year ago

Tested on Ubuntu 20.04 with Golang v1.19.x

  1. Go into SSH
  2. Install Golang v1.19.x (refer https://www.digitalocean.com/community/tutorials/how-to-install-go-on-ubuntu-20-04)
  3. Use another forked repo instead of "s-rah" which is deprecated. Refer https://github.com/s-rah/onionscan/forks
  4. For current situation we use https://github.com/415ALS/onionscanv3
  5. After installed Golang v1.19.x, install the Onionscan go install github.com/415ALS/onionscanv3@latest. It will automatically install the dependencies.
  6. 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)