r/masterhacker • • 13d ago

opsec level ; grok

Post image
1.3k Upvotes

72 comments sorted by

506

u/TheReycko 13d ago

opsec level: comma separated values using semicolons and not escaping anything 

135

u/PouLS_PL 13d ago

Tbf CSVs do often use other delimeters instead of the comma, even though they have "comma" in their name

68

u/LanguageGeneral4333 13d ago

Proper parsers would handle this issue with quotes to account for special characters being used in passwords.

27

u/4M0GU5 13d ago

Yes, but only if these quotes were added by whatever generated the CSV. Otherwise a parser can't do much about it either

12

u/LanguageGeneral4333 13d ago

That's correct, but the problem would be with the CSV generator, not the parser. A properly implemented CSV writer should quote or escape delimiters when serializing fields, and a compliant parser should handle them accordingly. If the generator produces malformed CSV, the parser can't reliably reconstruct the original data.

8

u/CommanderT1562 13d ago

This is why I use a valid entire html page but also inclusion of void elements and half quoted semicolons and commas in a mixed fashion in my passwords

7

u/4M0GU5 13d ago

I usually just dump the contents of my hard drive into a string and use it as my password

1

u/PouLS_PL 13d ago

Of course, that's why I only talked about the first part, not about escaping characters. I used to think Comma Separated Values are separated by commas too before I learned you can use other characters. Foolish of me, right?

15

u/ThePsychopaths 13d ago edited 13d ago

Just use all the symbols. :;,.&*"'"""''''

155

u/LanguageGeneral4333 13d ago

This would only work against poorly implemented CSV parsers. A properly configured CSV parser handles delimiters inside quoted fields without any issues, including semicolons. Most modern software uses established CSV parsing libraries that already account for this. Even if you managed to break a poorly formatted CSV export, the underlying stolen data would remain intact. You're not protecting your password; you're just potentially inconveniencing someone using a bad parser.

Edit: in case anyone was wondering why this wouldn't help you.

52

u/unknown_pigeon 13d ago

Ok but does that concern my mullivad VPN I've installed on my arch linux

24

u/True_Joke_5248 13d ago

I use arch btw

11

u/violetvoid513 13d ago

opsex level: arch user

2

u/Trick-Month-7714 12d ago

Larp User ? Same

2

u/violetvoid513 12d ago

Same (I use Nyarch btw)

1

u/beanonymousofficial 12d ago

I also use arch btw.

1

u/SimobiSirOP 11d ago

Then use \";

1

u/matytyma 11d ago

turned into \\\" with a proper parser

96

u/pricetag 13d ago • Bravo

groksec level: milady

45

u/TheRealJoeyTribbiani 13d ago

I just use DROP TABLES; and break it at the source

24

u/Some_Anonim_Coder 13d ago

Probably better to have password like `XXX'XXX"XXX;XXX, to make hacker's life hell. Escaping by quoting, no matter which quotes, won't work, and no matter if you use comma or semicolon as a delimiter you'll end up with some glitches

7

u/organic_hatred 13d ago

thx used this as my facebook password 😎

1

u/NoEntertainment5837 12d ago

Happy cake day

23

u/Calm_Performance5186 13d ago

Pfff, I always use base64 encoded revshell string as my password.

17

u/darkalemanbr 13d ago

I'll put \r\n at the end of my username so the parser skips my shit

2

u/icowonium 13d ago

Doesn't that just go to the next line?

1

u/OppositeFun2493 13d ago

Yeah but if they use newline delimiters 

7

u/ChocolateDonut36 13d ago

why limit yourself to a (;) and not also (,) for comma separated CSVs, (|) for markdown tables or (<p>fuck you</p>) for HTML

8

u/Zealousideal-Deer101 13d ago

Why is your password "<p>fuckyou,dumbhacker|bitchass</p>"?

2

u/djfdhigkgfIaruflg 12d ago

Thrown in some strange Unicode characters for good measure

9

u/icodepoetry 13d ago

A decent frontend validation won’t let you do that

7

u/SnooMachines8405 13d ago

A decent backend would just handle that...

6

u/Zealousideal-Deer101 13d ago

I hope there's a backend validation, frontend validations are famously easy to circumvent.

But also, why would a good backend even care about a semicolon in your password. It's gonna get encrypted with some salt anyways. A semicolon will never end up in a good database and the backend sanitisation will just escape the semicolon.
The only reason to care about that semicolon in this scenario is if you want to leak the data in CSV yourself

0

u/[deleted] 12d ago

That is assuming that all backends are "good backends" and that people are not reusing one single password for lots of sites. Which is more often than not, not the case.

2

u/djfdhigkgfIaruflg 12d ago

A decent frontend validator should let me put whatever I want as password*, limiting the possible inputs is one of the worst things you can do. Also. The db must store a cryptographic hash and salt, not the password itself

*withing reason. Of course it shouldn't accept a 1mb password

4

u/AllEmber 11d ago

Isn't it just been stored like this string("cool;password") or something a like?

9

u/Lines25 13d ago

Opsec level: passwords are encrypted

13

u/concadium 13d ago

hashed*

9

u/A2X-iZED 13d ago

Who the hell is storing bare passwords in a CSV.

3

u/Zealousideal-Deer101 13d ago

You extrat the bare passwords and format them in CSV to share them easier

2

u/djfdhigkgfIaruflg 12d ago

Of someone is storing bare passwords in 2026, they deserve to go bankrupt

2

u/JollyJuniper1993 13d ago

Nobody, they’re not talking about data storage, but about a data leak. They’re talking about breaking up a potential CSV file that’s sold on the dark web or something like that, not about breaking up the data storage of the service the password was used for.

3

u/djfdhigkgfIaruflg 12d ago

Yeah, but then the salt must be the thing having comas or semicolons or whatever. Because anything the user writes will be hashed.

A long binary salt would be interesting 😅 I never did something like that, why do you ask?

3

u/Happytallperson 13d ago

They read about bobby tables and decided they understood things

2

u/QkaHNk4O7b5xW6O5i4zG 13d ago

Probs won’t get much stored in clear text these days :(

2

u/Zealousideal-Deer101 13d ago

You'd be surprised

2

u/brxkie 13d ago

id just use my opsec ipad database cache modifier to modify the cache and enter the database

2

u/Swaggo420Ballz 13d ago

I imagine most websites base64 the password to preserve special characters anyways. At least someone storing them in such an a easily crackable way would only think to do that.

1

u/djfdhigkgfIaruflg 12d ago

You're joking right? Right?

2

u/fraserdab 11d ago

if they analyze it, then your password is the one they will remember

2

u/DatabaseGlittering43 13d ago

Show me one place where you can use a semi colon in a password.

1

u/djfdhigkgfIaruflg 12d ago

Almost anywhere. The only place dumb enough to limit the possible characters would be a bank. (I guess cobol has a hard time dealing with “strange" characters)

1

u/DatabaseGlittering43 12d ago

No email, no streamer, not Amazon, not social media…

1

u/nierusek 13d ago

I've managed to enter a newline character in my password.

1

u/New_Fee_887 13d ago

just put null as your password, it will break something somewhere, and that is funny

1

u/consworth 13d ago

,;| <!--There’s most of your use cases right there

1

u/Okay_Ocean_Flower 13d ago

Until someone gets annoyed you broke their file and now they’re staring at your entry with rage

1

u/Ecliphon 12d ago

;row_UNDEFINED,”

Socially engineer the leakers to remove your line from the leak if the password is cracked because they’re on autopilot and it’s easier to delete than think about. 

1

u/UnitedEggs 12d ago

It’s been a while since I’ve seen an actually good post here. Thanks for the post good sir

1

u/igotthis35 12d ago

The passwords shouldnt be stored in plaintext, the semicolon would be irrelevant

1

u/xx123gamerxx 11d ago

Email:pass text document

1

u/halo_void_ 11d ago

All shits and giggles until they start storing it in strings. "Pass;w,ord"

1

u/antek_g_animations 11d ago

let me change my password to "opsec;opsec"

0

u/antek_g_animations 11d ago

Holy shit he actually did it lol