Hi,
I needed to update the server administrator password by editing the "HashedPassword" value in vpn_server.config file.
I finally have found the hash function softether uses which is base64(sha0(password))
Just wanted to share this to save other people's time.
Thank you
PS: if anyone needs java implementation please reply to this thread
HashedPassword hash function is base64(sha0(password))
-
- Posts: 3
- Joined: Mon Sep 24, 2018 12:10 pm
-
- Posts: 7
- Joined: Mon Jan 25, 2021 11:08 am
Re: HashedPassword hash function is base64(sha0(password))
can you upload the code to github?
thanks
thanks
-
- Posts: 10
- Joined: Tue Feb 02, 2021 7:29 am
Re: HashedPassword hash function is base64(sha0(password))
yahuu wrote: ↑Sun Oct 11, 2020 3:07 pmHi,
I needed to update the server administrator password by editing the "HashedPassword" value in vpn_server.config file.
I finally have found the hash function softether uses which is base64(sha0(password))
Just wanted to share this to save other people's time.
Thank you
PS: if anyone needs java implementation please reply to this thread
Shoot. I have tried to understand how I would be able to create that using a very simple bashscript (such as
Code: Select all
echo "passwd" | shasum | base64
-
- Posts: 3
- Joined: Mon Sep 24, 2018 12:10 pm
-
- Posts: 3
- Joined: Mon Sep 24, 2018 12:10 pm
Re: HashedPassword hash function is base64(sha0(password))
Server configuration file uses hash(serverpassword)
Vpn Client configuration file uses hash("userpassword"+uppercase("username"))
reference
https://github.com/SecretNest/SoftEther ... ram.cs#L17
Vpn Client configuration file uses hash("userpassword"+uppercase("username"))
reference
https://github.com/SecretNest/SoftEther ... ram.cs#L17