evilnet/nefarious2

SetHost / Fakehost

Opened this issue · 2 comments

Confused about how this works. I understand the spoofhost blocks, however, the docs mention /sethost, however, it returns the error:
Sethost not found or unavailable (cannot_send_to_user)

Also, in regards to the 'password' field on a spoofhost, what command does a user have to use / or the syntax needed for a user to apply the spoofhost to them.

Something I thought about afterward, was trying to enter a password that has been encrypted.
If anyone else has an issue.

Create the new spoofhost block:
Spoofhost "YourHost.Domain.com" { pass = "$CRYPT$9qJHpfEhqFVQA"; host = "*"; };

The password has to be encrypted using the provided umkpasswd app in the bin folder.
./umkpasswd -m native YourPassword

Which will return:
Crypted Pass: $CRYPT$9qJHpfEhqFVQA

Then within the IRC software, execute:
/sethost YourHost.Domain.com YourPassword

And you should see:
YourUsername sets mode: +x


Another issue. The hidden host feature doesn't seem to be working. I'm using SRVX latest version. Are these two still compatible with each other? When I whois a user with +x and authorized, they still have their IP address as their host. I cannot get it to show *users.network.com. I've gone over the IRCU config file many times to make sure hidden_host is enabled.

As for your +x issue, it sounds like you havent enabled HOST_HIDING and set HOST_HIDING_STYLE to 1