Skip to content

Instantly share code, notes, and snippets.

@YourFriendCaspian
Created August 27, 2023 15:56
Show Gist options
  • Save YourFriendCaspian/e82b02017778d95f09dd65848f3556d4 to your computer and use it in GitHub Desktop.
Save YourFriendCaspian/e82b02017778d95f09dd65848f3556d4 to your computer and use it in GitHub Desktop.
Command to hash a username and password with htpasswd.
# username: admin , password: 123 , hash command : htpasswd -nb -B admin 123 | cut -d ":" -f 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment