27chan / bazukachan

Keeping Vichan alive
https://27chan.org
Other
16 stars 4 forks source link

Fix IP leak when moving a thread and leaving a shadow message #13

Closed ghost closed 2 years ago

ghost commented 3 years ago

When leaving a shadow message with bcrypt on, the real ip address would leak. This PR will prevent this by getting the value from get_ip_hash. If its not hashed, it will return the original ip, otherwise, it will return the hashed version.