mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-05 18:48:41 +00:00
517a82d0586ff9e987911d6be69d69d4fdf01928
Turns out I should've looked into the bcrypt hashing algorithm a bit more, turns out you can have a unique salt per hash and can just use a verify method - Remove `salt` and `smallerSalt` fields from `Program` class. - Replace `Password` with `PasswordHash` in `Paste` and `PrivatePaste` classes. - Generate a new salt for each password hash. - Use `BCrypt.Net.BCrypt.Verify` for password verification. - Remove `salt` and `smallerSalt` logic from `config.json`. - Ensure consistent use of `PasswordHash` for storing and verifying passwords.
Sharpbin
Sharpbin is a Pastebin type website completely in C#, except for the frontend, being pure HTML & CSS. Sharpbin can be used for sharing large amounts of text.
Features
- Account System
- Standalone
- Raw Text Serving
- Admin Panel that includes banning users
- Search feature for pastes
- Recent Pastes and Paste Archives
- Pastes can be deleted by an admin or the creator
- User profile pages
- Private encrypted pastes, sadly the encryption is server side, although client side may be soon!
- Mobile Support
- Captchas for logins and sign ups
- Editable pastes ... And more to come!
TODO
Fix css on the confirmationsUpdate file size when an edit is made in the database
Demo Website & Screenshots
You can find the test website at https://bin.whoswhip.top , there is no removed functionality and is the exact same code in this repo.
Description
Mirror of https://github.com/whoswhip/Sharpbin
https://sharpbin.cc
Readme
GPL-3.0
2.2 MiB
Languages
C#
49.5%
Svelte
35.3%
TypeScript
13.3%
HTML
1.1%
CSS
0.3%
Other
0.5%