r/github • • Feb 22 '25

SECURE YOUR GITHUB ACCOUNT!!!

so my pc system got corrupted and i completely did a reformat erasing everything and completely forgot that my github recovery codes are also there (authy on my old phone old email registered didnt have access). realizing i fucked up. why i fucked up? cause even github cant help if you dont have access to those 2FA’s. like your account will be totally lost forever. (realizing your projects you worked for years is lost cant imagine). I realized i have an old laptop used to use so i checked and luckily retrieved my github code in recycle bin (mistakenly deleted) gonna cry fr. So guys secure your recovery codes find it and store it somewhere safe we never know what happen in future. Github is where all our arsenals are kept.

491 Upvotes

106 comments sorted by

View all comments

Show parent comments

9

u/Fzetski Feb 22 '25

Mentioning that it is 52 characters long really helps reduce how many options I have to go through, thank you.

Bruteforcing as we speak. We'll be in touch-

0

u/Silent-Treat-6512 Feb 22 '25 edited Feb 22 '25

The total number of possible passwords for a 52-character alphanumeric password is:

1.6 \times 10{92}

This is an astronomically large number, making brute-force attacks completely infeasible with current computing power. Even if an attacker could try one trillion (10¹²) passwords per second, it would take far longer than the age of the universe to crack it. 

Source: ChatGPT.

Update. ChatGPT forgot that I had spaces as well, which makes it 26+26+11 (a-zA-Z0-9) plus space and punctuations - as I am using a paragraph that I can remember

8

u/carsncode Feb 22 '25

Well since we're clearly all taking the joke too get here... You're using a paragraph you can remember, which reduces the problem space to 52 characters of legible, grammatical text, eliminating all but a miniscule fraction of the problem space.

0

u/Silent-Treat-6512 Feb 22 '25

NOW this is getting somewhere.. actually not 52, thats ChatGPT counting it wrong. Let me give you real charspace and see if you can guess it.

A-Z a-z 0-9 (comma) (double quote) (period) (space) 66 chars

Even with an optimistic quantum computer capable of 10¹⁸ guesses per second, it would take:

  • 4.13×10764.13 \times 10^{76}4.13×1076 seconds

  • 1.31×10691.31 \times 10^{69}1.31×1069 years

to brute-force your 52-character password.

For context, the age of the universe is only about 1.38×10101.38 \times 10^{10}1.38×1010 years—so even quantum computing wouldn't make a dent in cracking your password! ​

4

u/carsncode Feb 22 '25

Again, you're looking at it wrong. It's not brute forcing the full character space across 52 characters, it's the tiny, tiny fraction of that space that makes up legible grammatical text.

1

u/Silent-Treat-6512 Feb 22 '25

Can you calculate how much it is… I am not taking it wrong. I am considering you are brute forcing entire 52 chars with starting and ending length at 52.

Now replace every chars to aaa….a then aaa…b, aaa…c - even then it will take you longer time than entire atoms in universe

2

u/carsncode Feb 23 '25

But aaaaaaa...a and aaaaaaa...b are not legible, grammatical text. This is my point. The vast majority of 52 character strings can be excluded.

-1

u/Silent-Treat-6512 Feb 23 '25

Then it’s not brute force. Its dictionary attack, which gets infact even more complicated and take longer as now you thinking of ALL possible words and their combinations. That’s 52N instead of 5263

1

u/carsncode Feb 23 '25

That's... Not remotely how that works. A) it's still brute force and b) how on earth did you manage to convince totally that "all 52 character bodies of legible grammatical text" is somehow larger than "all 52 character combinations", which must obviously include the first group and then some? This is just silly at this point.

-1

u/Silent-Treat-6512 Feb 23 '25

A is legitimate grammar text. “An the is this of” just some examples

If it’s brute force then you are killing yourself - now to guess all 2 character legitimate words, also how are you sure those words are in dictionary.. for instance many “native” languages have their own words typed into English.

You can try as hard as you can and unless you give me a script of your magically reducing the chances - you just not making sense to me.

Let’s hack this - I am thinking of a legitimate 10 chars password of all “English words” let’s see how long it will take you to break.

→ More replies (0)

3

u/[deleted] Feb 22 '25

ChatGPT fried your ability to form cohesive thoughts

0

u/Silent-Treat-6512 Feb 22 '25

:) sure - what’s your math?

2

u/Lewissunn Feb 24 '25

Hang on "That's chatGPT counting it wrong". You didn't paste your master password into chatGPT did you?

-1

u/Silent-Treat-6512 Feb 22 '25 edited Feb 22 '25

Sure - can you guess how many tries are there now? You answer clearly says you don’t know how password length works.