• 3 Posts
  • 6 Comments
Joined 4 years ago
cake
Cake day: December 10th, 2020

help-circle

  • toTechnology*Permanently Deleted*
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    3 years ago

    I did, I also tried Opera Unite back in the day. Opera Unite was far simpler and even if you didn’t know html or programming you could use it, it wasn’t P2P so if your computer was off so was your website. Beaker requires some html and programming knowledge (and knowing their JavaScript APIs* if you want to build something relatively complex) but if you publish interesting enough content other people may also contribute bandwidth and host your website so in theory you could turn off your computer and the site will remain online. In practice I’ve found that for most sites there’s simply no interest so they are offline most of the time. I haven’t tested it recently, when I tried there was a requirement of a Twitter account if you wanted your website to be on their list of websites, I hope they could get rid of that. I should probably try it again and see how things have improved.

    * I tested this a year or two ago, I just installed the latest version and it seems to have changed a lot, it used to work with an “index.json” file and several JavaScript components but it seems that those old websites are now broken so I’ll have to test the new way of building websites with Beaker.



  • OPtoLemmyUnusual login bug(s)
    link
    fedilink
    arrow-up
    3
    ·
    3 years ago

    Sorry to bother you again, it took me some time to find this again on GitHub. This login bug I was experiencing was introduced when fixing this other login bug, you can see in that commit that eq was changed to ilike but now your new pull request reintroduces that old bug with the case-sensitiveness of the usernames during login. I think the solution to both bugs would be converting to uppercase before comparing with eq (and having a computed uppercased column indexed on the database). I don’t know enough Rust to propose code changes or send a pull request, I hope my description of the solution is good enough for someone more knowledgeable to write the code.



  • OPtoLemmyUnusual login bug(s)
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    3 years ago

    You need to know the exact length of the account name (it seems that % is filtered because it is not allowed in usernames and only underscores can be used as placeholders). The risk is minimal, the only possible exploit that comes to mind is trying a list of compromised/common passwords and testing each with underscore usernames of different lengths. That way you will be able to log in as the first person (by database query sort order) using a compromised/common password whose username (or email) has the same amount of characters as underscores you tried. So the usual advice applies: don’t use a compromised or common password and you will be safe, use a password manager and let it generate a random password for you if you can. Also this is easy to detect server side and if there is any kind of rate limiting the attack won’t work, I wouldn’t worry about this bug.