Shallot
Shallot copied to clipboard
Private key gives incorrect address.
chris@chris-H87H3-M3:~/Shallot$ ./shallot ^job4btc
---------------------------------------------------------------------
Found matching domain after 29032965725 tries: job4btcwcxvgegqo.onion
---------------------------------------------------------------------
-----BEGIN RSA PRIVATE KEY-----
MIICXgIBAAKBgQC/TZKqlfK8tJsQxECtyTUtFAkUguUqksAGSXSPocJRqndpfbsG
pOFBmfQIJpMF/StoF4zDzFK2lgRXjuSp68o0a0BQ90LKqaKRLTDhD650lvcb/iha
769+kZmgBOle8uoL89l74nEQPpc8c4zypjjASrZqvYBFNeOcZ+Uz1qhRyQIFA3BM
VccCgYAGZeRTmgXpqVM1xUYJvOrv717HTYsXnsa15VVpjUqOiUAw13inzP3Sy6hL
7XmPo2h80CLyyYdpcFF8EZCWYkeMovBbmOfcFge9DrcjUwBettBgMsoaFzCVx0MY
95sxGlMQr052ccGLx4gNwH/iXKUMubwioTgVk3sIJMo8fHARlwJBAOwgSuG/STW1
w0Vq8WjMlbK45hkVMbW4FG3dpQ2giobGTZeM1akTYpnqsR1WRf1D8XlNH3/3syHf
LQGH95VZhu0CQQDPZ377jfMjKvFjNFgk9b0mFN6L0VIVrLTv1u0ZJLFmxpmLxTiL
jduMxdDXWCTCAK4GOwT3EPX4TWWgNTzwVZ7NAkBz0rfGwUDGux2v5YmWeVuGdgCT
EuAL1Tb97xPWCfljuBqkS855C1TRpQJdP3Drr4uqwCMt120QdpVxczJbzayDAkEA
rCShUJP/QGKLvy5958Kvg6Y8vvw0EgNJ/k20xJr+WoT3qvsNW7gw2lZABwUVrcCI
Qf9+EM3JU0QGT+MxSaA61wJAUCax0YWk5a+3F5zp8WwqkQCGsNPvF6pJ8Pkrw0Kw
+n52FqmBRashRyHneC6u+pZlBbSRhCJGs6wKdVeP2ltVsg==
-----END RSA PRIVATE KEY-----
I copypasta the RSA key into a file called priv_key in a directory in my home folder called job4btcwcxvgegqo.onion . I edit /etc/tor/torrc to include HiddenServiceDir /home/chris/job4btcwcxvgegqo.onion
restart tor, and tor made a hostname file. contents of the the file are f675oiullnoxpihe.onion
what do?
First of all, posting your private key may not be the best idea, there is a reason why it is called private. Also publishing the *.onion domain name here is not good for anonymity, everyone who googles the *.onion domain will find this entry and know at least your github user name - and if this is your real name,...
The key has to be in the directory that the HiddenServiceDir in your torrc points to. Also the file containing your private key should be called private_key, as the README states.
Hope this helps.
Ps.: After testing and verifying that it works, you should really generate a new private key for your chosen domain - better even choose a new domain name.
Oh, I didn't put it in the right folder :P I feel pretty dumb now! I'll just find a new private key, lol. I don't know why I got so confused about this, since this is not the first time I've done this at all... oh well!
I posted all the info because I thought it was a bug/worthless data. It only took like 12 hours to find that anyway, xD .
This does actually appear to be a real issue. It fails to match on >= 5 character strings.
I’m having this issue as well. Tor simply changes the hostname to match the key (I’m guessing).
I have applied #9 and #16 and it seems to work better now.
Same issue here with a 5-length private key - it generates the wrong .onion domain.
i have the same issue. shallot dont generate correct private_key