News for hackers. Stuff that matters.
Re:CapRover: Build your own PaaS by sneak on Tuesday June 09, 2020 @09:03PM (#23472758)
The version of NetData included in CapRover is a version from before when NetData became spyware, so it’s fine. (Note that I haven’t audited it, that’s just what I’ve been told.) NetData is also optional; I use CapRover and do not opt to install it.

Brute forcing a 30 char (or even 20 char) password over the network is infeasible. Do the math. Regardless, as the CapRover developer pointed out in a sibling comment, it rate limits attempts, but in the case where you are using a long, random password, it would be fine even if it didn’t.

Re:CapRover: Build your own PaaS by throwaway13239 on Wednesday June 10, 2020 @03:22AM (#23474779)
Could you quickly explain the math behind this please? Genuinely curious
Re:CapRover: Build your own PaaS by rockland on Wednesday June 10, 2020 @09:18AM (#23476662)
For every character in the password, you have 26 possible letters to choose from in an English alphabet.

Brute forcing this, you would have to try every combination. Which means for a four-letter long password: 26x26x26x26 = 456 976 possible passwords.

For a 10 letter long password: 26^10 = 141167095653376 possible passwords.

Re:CapRover: Build your own PaaS by sneak on Thursday June 11, 2020 @02:22AM (#23485742)
You forgot the other 26 uppercase letters, and the 10 digits 0-9. Looks good otherwise, but the result is much larger with a base of 62.

Clarifying it further is “number of days to brute-force if you can try (eg) 10k requests/sec”.

Re:CapRover: Build your own PaaS by rockland on Thursday June 11, 2020 @03:48AM (#23486210)
Absolutely, you are of course correct. The uppercase letters and digits - together with the special characters like "!._-,...".

I kept it to 26 letters to keep the math simpler (or rather - the numbers smaller, for myself, really).

Number of days to brute-force if 10k requests/sec (26 letters still...):

4-length password = 45 seconds

10-length password = 453 years

Please give me a heads up if my math is off.