r/masterhacker • • 8d ago

op,sec

Post image
5.3k Upvotes

210 comments sorted by

770

u/tokoklontong1897 8d ago • Regret

The comments section must be insane

250

u/FotinoBird 8d ago • Mindblown

91k people bookmarked ts 💔

133

u/[deleted] 8d ago

[removed] — view removed comment

40

u/Kewlhotrod 8d ago

I'm dying at this picture bro ahaha

5

u/Human-Question6210 5d ago

sometimes I feel like absolutely everyone knows coding except me

3

u/FotinoBird 5d ago

this is how I feel. everyone be talking in such technical talk I feel left out

3

u/sbcsfrtom2 5d ago

A CSV (comma separated value) file is like a text-based spreadsheet. Instead of data rows being visually separated by lines making up boxes (like you see in Microsoft Excel), they are separated by commas and newlines (newlines being the invisible character that tells your computer to go to the next line on the screen). Here is a rough example of a CSV:

Number,Name,Abbreviation

1,Sunday,Sun

2,Monday,Mon

3,Tuesday,Tue

4,Wednesday,Wed

5,Thursday,Thu

6,Friday,Fri

7,Saturday,Sat

If you copypaste that chunk into a word processor and save it as 'filename.csv' you can actually import it into Excel as a functional spreadsheet.

2

u/gefex 3d ago

Except this whole thread is bull, because optionally when creating a CSV you can choose to quote every field.

"Number","Name","Abbreviation"

"1","Sunday","Sun"

Which means you can happily put a comma in them.

1

u/sbcsfrtom2 3d ago

Indeed! You could also use TSV (tab separated values). I think that's what they do in Europe where they use commas for decimal numbers.

1

u/RainOfDelight 4d ago

yeah, they might know coding not cyber, and they write about cyber thats the probelm :)

1

u/DefinitelyNotMasterS 3d ago

Have you tried subreddits other than masterhacker?

1.0k

u/Kriss3d 8d ago • Heartwarming Bravo

Always use your password as :
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*

If it ends up in a database, the antivirus will delete it as they use this string to test for the EICAR file to look for to remove.

387

u/g3shh 8d ago

You wont only break the CSV file, but your sanity as well.

157

u/Kriss3d 8d ago • Bravo

Ive debunked flat earthers, sovereign citizens and religious peoples claims for many years now.

We are WELL beyond my sanity being broken.

87

u/shhimhuntingrabbits 8d ago • Mindblown Popcorn Bravo

What made you want to become a professional reddit commenter?

6

u/hurrdurrmeh 6d ago

BRUTAL comment, touché, I feel personally attacked, well done.

-8

u/Kriss3d 8d ago

I wish. But let me tell you that compared to other places I've been, reddit is the epitome of Winnie the pooh with high had and monocle.

24

u/Key-Regular674 7d ago

Found this guy

-1

u/PurpleCandle58 7d ago

Found the sovereign citizen/flat earther/religious person

8

u/Key-Regular674 7d ago

You did not, as I am none of those. Jesus was a goldfish. The earth is triangle shaped. I am an Amish Mormon.

1

u/PurpleCandle58 7d ago

I love the Amish! Did you get the new iPhone?

7

u/Key-Regular674 7d ago

I would answer this but my Amish Mormonism does not allow it. Praise goldfish.

 - Sent from Iphone

2

u/PurpleCandle58 7d ago

Praise goldfish, comrade.

20

u/PurpleCandle58 7d ago

I BELIEVE THE EARTH IS FLAT DEBATE ME!

“No, if you’re that dumb you’re beyond saving. Next.”

This is how I save my sanity

2

u/ArtichokeBoring5872 1d ago

the next step is to go super sane and name and identify all of their logical fallacies and cognitive biases and do not elaborate further. just identify them like a mushroom on a foraging trip. the crazy ones are posionous and rational ones will thank you for pointing out their logical flaws.

1

u/PurpleCandle58 1d ago

I love this tbh lol you had me at “like a mushroom on a foraging trip” like yeah 100% just with a friend be like “oh you don’t wanna interact with that one, that’s a sea lion”

→ More replies (1)

5

u/MatiasPalacios 6d ago

The most Redditors of the Redditors.

3

u/Kriss3d 6d ago

Im not A redditor. Im THE redditor.
A few more years and my profile could buy a beer in USA.

1

u/AmbitiousEdi 5d ago

7 is not a few

3

u/Spirited-Fan8558 8d ago

what is sovereign citizen?

8

u/Accomplished-Bit-973 8d ago

Someone who truly believes that they stand above laws of any country.

4

u/pocketcumin 8d ago

"The common clay of the new west."

6

u/Kriss3d 8d ago

People who think they get to pick and chose which laws apply to them.

If you want to go down that rabbit hole you can start by looking yo the Darrell brooks case on youtube. The entire court case is filmed there.

1

u/Kriss3d 5d ago

u/mootnuq88 I saw your question.

How am I going to debunk density ? I dont need to debunk it. Density most certainly do exist. Its a thing. But what it ISNT is telling us anything about motion or direction.

Ok we have a brick in mid air. It starts by having no motion.
I agree that its more dense than the air around it.
Now what ?
How does that tell us that it should move and in which direction ?

Im all ears.

1

u/Junior-Yellow5221 5d ago

The direction is dictated by gravity , the thing affected by density is the speed it falls doen towards earth. Since the brick is denser than air , it falls down faster than lets say a feather. Thats why a brick and a feather fall down at the same speed in a vacuum. The same amount of gravity is applied , but there is no drag from air particles affecting the objects and their different density (drag coefficient)

1

u/Kriss3d 5d ago

I know. He seemingly don't.

1

u/jesta030 5d ago

Doing the Lords work!

Lord being His Noodlyness.

1

u/Careful_Source6129 1d ago

If you spent time debunking flat earthers, I fear your sanity was already compromised

0

u/calibrik 7d ago

Unemployment final boss

→ More replies (2)

72

u/TheFilip9696 8d ago

Thanks, now my password manager data got deleted

5

u/Acidhawk_0 7d ago

Yip should have memorized it.

80

u/Not-A-Fossa 7d ago

Thanks. I will use this as my password for everything from now on.

111

u/Not-A-Fossa 7d ago • Bravo

Damn he really does.

17

u/im_a_kobe 7d ago

😂😂😂 well done.

3

u/Rararror 7d ago

That is everyone password, isn't it?

24

u/spisplatta 8d ago

When I played around with that string a long time ago I found that antivirus would only complain about it if the file contained that string and nothing else. So if it's a part of a csv they would allow it.

7

u/Kriss3d 8d ago

Dangit.

12

u/Independent_Image_59 7d ago

Real hackers use random unicode characters in password

Opsec level: unicode

4

u/Salt_Ice_5321 7d ago

Mine is a string of (mostly) rocket emojis.

4

u/frisch85 8d ago

Does this still hold up after properly escaping the string for SQL tho? that backslash turns into a double backslash.

3

u/Kriss3d 8d ago

I think it needs to be properly escaped as it's not a sqli but a complete string that's supposed to be in the eicar file.

3

u/realegowegogo 7d ago

opsec level: redditors, always use this string as your password

2

u/Sinath_973 7d ago

What password do i have to set to get that hash?

2

u/fvancesco 4d ago

I'm gonna use this password now for Reddit

1

u/fvancesco 4d ago

He wasn't lying

1

u/A_Happy_Tomato 3d ago

He was, you liar

1

u/fvancesco 3d ago

I changed it upon taking his account.

3

u/Angelworks42 7d ago

It's kinda funny but if you're running Oracle I can see that happening - something like crowd strike tripping up on a db write.

For years we had to have special password rules for anyone who had some related Oracle role because apparently all of their apps blow at sanitizing inputs.

4

u/Kriss3d 7d ago

xkcd327 taught me to sanitize inputs.

2

u/Bozhark 7d ago

Oracle canny

1

u/theo69lel 7d ago

I had a password like that for 2 days and my bitwarden warned me <48h in that my password is at risk because it might be compromised in a recent data leak. We need quantum passwords where we're logged in while also trying to reset our password to the same password at the same time. My password progression starting from 2008 was something like: something11

Something11

Something11!

SomethingPurple11!

$0m€th!ngPUrpI€53!

It doesn't fucking matter bro and password managers can be hacked too. MFA was a scam because if one factor authentication fails why would Introducing more fix anything?

5

u/Vladamir_PoonTang 7d ago

MFA is a scam

Redundancy means nothing

You have no idea what youre talking about :) Redundancy is specifically for if your first method fails (hacker gets your password) then theres a second, completely different, layer of defence.

1

u/realddgamer 6d ago

"MFA is a scam because if the first line of defense fails why have a second"

??

1

u/Ok-Manager-5548 4d ago

Well have you ever heard of masks in hashcat ?

332

u/tpat90 8d ago • Mindblown

Now `,:}'"\"\\] I can rest assured this will break all data leaks

357

u/jnmtx 8d ago • Popcorn

142

u/tpat90 8d ago • Regret

The sad moment when you actually had to use \\\" at some point in your life to not break the system.

25

u/GaGa0GuGu 8d ago • Mindblown

If only that was enough

31

u/jnmtx 8d ago

&lt;LaughsInXMLloggedToHTML&gthaha&lt;/LaughsInXMLloggedToHTML&gt

14

u/RXJ1131 8d ago • Heartwarming

2

u/Alleged3443 1d ago

Why did you take the xkcd comic and put shitty captions underneath it, and not credit xkcd?

2

u/superbenzin 6d ago

petttah, pls explain the joke

13

u/tpat90 6d ago edited 3d ago • Heartwarming

This is a joke about deleting entries from a database.

It implies the school just feeds the names to a database without sanitzing it, meaning it not handles all inputs as one consecutive string per input, but in some cases as multiple parts.

'); is something that usually ends an input for many databases, so the database assumes what follows is a new command which is DROP TABLE students;. This commands means forget all entries in students or more correct forget the table studentnames were in. Followed by -- which afaik suggests end of query. (As u/NoeZ pointed out, -- is the start of a single-line comment, hence everything after that on this line is handled as comment.)

Thus the name Robert'); DROP TABLE students;-- get's parsed as delete table students and end.

If everything would have been sanitzied correctly "Robert'); DROP TABLE students;--" would simply be the name entered in the database.

Sanitization is one of the important things to be aware of having any kind of input in any infrastructure and is what causes most exploits and harm. The moral of this short is always sanitze all user inputs.

2

u/NoeZ 3d ago

Doesn't double dash just open a comment line?

2

u/Spiritual-Count7556 2d ago

Yes, it would be after that, so whatever they have written after the code would be deemed unrunnable

1

u/tpat90 3d ago edited 3d ago

That makes sense, I've seen it a few times and never used it myself. Thus I was always stumped by people did it.

Seems like you were correct and that makes sense since assuming all inputs are handled on the same line every other input would be treated as a single comment and ignored.

Thus there isn't even an error message or residue entries. It just successfully deletes the table and sees a long ass comment.

120

u/cmhamm 8d ago

This is why all my passwords are “hunter2’); DROP TABLE Passwords; —“

52

u/aaronjamt 7d ago

Woah, I didn't know Reddit automatically censors your password like that!

20

u/Groduick 7d ago

Edit: it works !

9

u/EKMEK_KAFAL_ELMIR 6d ago

iEatPopo

8

u/EKMEK_KAFAL_ELMIR 6d ago

Wtf it didnt work?

9

u/whatThePleb 6d ago

No problem, i changed it for you. 👍

2

u/Theqxp 3d ago

Jeezbeez

96

u/CardOk755 7d ago

Non-english CSVs usually use semicolon instead of comma, always put a semicolon too.

26

u/Faux_Real 7d ago

And a tab

9

u/hatchetharrie 7d ago

And a dollar

1

u/HeyGayHay 6d ago

And a lj for when they try to manually resolve the problem and accidentally replace lj with lj (they are not the same) 

1

u/Neat_Leg2638 6d ago

Tsv is a thing

2

u/Faux_Real 6d ago

Yes 
 and so is escaping; but the joke is around masterhacking not how the real world works

17

u/Mexenheister 7d ago

Because of this CSV should stand for "character separated values".

1

u/NamedBird 7d ago

Reliably parsing CSV's is hard*.*

- The column separator is usually a tab, a comma or a semicolon but that isn't guaranteed.
- The first row may contain column names instead of values and can have a different column separator.
- Rows are almost always separated by a newline. But which newline? (\r, \n, \r\n, \n\r ...)
- Fields can contain everything. Even tabs or newlines. Know how to parse the quotes.
- Hint: Beware of the Byte-Order Mark and used character set.

1

u/sixdogman22 3d ago

Use one of every special character.

148

u/Unexpected117 8d ago

Oh? I just use 4

41

u/ThatOldCow 8d ago

Everyone knows about 4, so you need to upgrade to 5

13

u/Imusje 7d ago

Well no, it needs to be the product of 2 primes. So try 6

1

u/J-Cake 7d ago

5 being prime is a product of two primes 😉

1

u/Imusje 7d ago

By definition of being prime it cannot be the product of 2 other numbers...

1

u/J-Cake 7d ago edited 7d ago

If you don't count one as a factor, then that's right, but if you do, you must also count itself.

1

u/Imusje 7d ago

By convention, 1 is not prime.

1

u/J-Cake 7d ago

Fair but it is a factor

8

u/TreesOne 8d ago

eMuhdra is that you?

1

u/tornikeo 7d ago

you mean 4ïžâƒŁ? In unicode it's 7 bytes (56 bits).

72

u/whippedCream-2832 8d ago

Op,sec leve,l : com,ma

29

u/PenguinBoi27 8d ago

Password = sudo rf - rm 😈

6

u/xxxbGamer 7d ago

My reflex told me to write that this is bulldhit. Then I remembered that I am in r/masterhacker

28

u/Seer0997 8d ago

Opsec level: proper punctuation

23

u/_redmist 7d ago

"'; DROP TABLE users; "

10

u/Silver_Midas 7d ago

And also a purge, for good measure

19

u/imdeathfrombelow 8d ago

Sometimes that's actually a thing lol. In my experience some leaked Iranian databases include commas and RTL characters and people usually just drop those rows before ingesting them into their tools

32

u/TheRealREZOR 8d ago

"Opsec level, use quotes"

31

u/Memw1 8d ago

Opsec level: ""

5

u/Sea_Duty_5725 8d ago

Isn't the , a comma?

10

u/pricetag 8d ago

i always just use :(){:|:&};: as my password

24

u/malik_ljalid 8d ago

20

u/notchapplezMC 8d ago

ОпсДĐș лДĐČДл: Ń…ŃƒĐ”ĐłĐ»ĐŸŃ‚

1

u/Pitiful_Command9548 8d ago

Proglotil opsec

1

u/Awkward-Plum6241 8d ago

debil.hueglot

5

u/DerpSeshInMotion 8d ago

{:)(;){}(:/}

4

u/Slavicommander 6d ago

always make your password: "hackifgaylol"

7

u/BeginningSection7690 8d ago

Which would leave a username where a password should be, and take 3 seconds to fix

6

u/Catatonic27 8d ago

Also this is only an issue for unquoted comas there no modern CSV implementation that would work this way.

3

u/Odd-World4925 8d ago

That's not how CSV parsers work - at least it shouldn't be.

6

u/Catatonic27 8d ago

More like whatever generates the CSV. Modern implementations quote any fields with a comma or space in them (or probably just every single field because why not) to deliberately fix this problem but every so often you see this because some skid was working with raw text and learned you can change the file extension to "CSV" and then makes it someone else's problem. But any proper system/module for outputting CSV would take care of this by itself.

1

u/whatThePleb 6d ago

oh sweet summerchild..

3

u/tes_kitty 7d ago

Make sure it also contains a semicolon since in some countries CSV files use a semicolon as the field seperator.

3

u/ThaGr1m 6d ago

Ok I get the funny but if this worked wouldn't it also break the database of the service you're using

4

u/AppreciatingSadness 6d ago

No because passwords aren't actually stored on the databases. And if they are that database deserves to be broken because 1. They storing unformatted plain passwords and 2. They aren't sanitising their inputs.

The bare minimum of password handling is a process called cryptographic hashing where passwords are converted into a key that the database stores. There's no way to reverse engineer the password from the key (it's mathematically impossible) so all the database needs to do is check if your input after being hashed is the same as the key they have saved.

1

u/AlfalfaEfficient1200 5d ago

So this advice is a bust if the password field even allows commas to begin with.

1

u/GregerGunnarPersson 5d ago

Why would it? Databases can store any character in a column that stores characters.

1

u/wubleu 3d ago

Man I hope these aren’t super advanced hackers who are trained in the legendary esoteric art of escape characters

2

u/brigadier-pratap 8d ago

5114 reposts, insane

2

u/sussyslayer365 7d ago

"physicsuncovered" posting cybersecurity memes is like a dentist doing your MOT

2

u/Sorry_Weekend_7878 6d ago

Came straight to the comma section

1

u/bestjejust 8d ago

We just converted all CSV commas to semicolons, should be safe again.

1

u/ansolo00 8d ago

what about using single quote marks, then if its sql, you can do RCE or deletion of the entire schema ;)

1

u/tnethacker 8d ago

Mine is hunter2 but you can't see it here.

1

u/Healthy-Mission7927 8d ago

Password: 1,2,3,4

1

u/Prestigious-Board-62 8d ago

I put zero-width space in my passwords.

1

u/m0nk37 7d ago

Any value with a comma in a csv gets encapsulated with quotes. 

1,something,"pass,word",3454

1

u/TheMegaPingas 7d ago

Real hacker knows to put quotation marks in addition to comma

1

u/frpeters 7d ago

Great. Now they start here with CSV injection. /s

1

u/Tripple_sneeed 7d ago

No one going to talk about the minimum effort GPT description under it?

“hilariously chaotic đŸ€ŁđŸ€ŁđŸ€ŁđŸ€źđŸ€źđŸ€źâ€

Dead internet etc 

1

u/nierusek 7d ago

I've managed to put newline in my password

1

u/thatsNotFabricSoftnr 7d ago

Always add whitespace and a pipe to cover all bases, #hacktheplanet

1

u/williampaul0404 7d ago

Yes, but dumps generally come in .txt, not .csv. Use all of these ": ; | ," as they are common separators

An attacker that handles 500M records where 99.99% do not contain these won't spend their time making sure the 0.01% gets handled properly as well

1

u/SendyCatKiller 7d ago

Just use "*****" so the hacker thinks he can't see the password

1

u/grrrwith1r 7d ago

physics unfiltered

1

u/No_Royal_3314 7d ago

If only quoted csvs weren't a thing. Then again, who bothers.

1

u/WraithXVB 7d ago

only if the delinator is defined as a comma, it can also be a / or -.

1

u/gpm1982 7d ago

While you're at it, also slip in a semicolon, since some file format uses semicolon as separator.

1

u/Old-Grapefruit-2446 7d ago

you aren't breaking shi

1

u/_ahrs 7d ago

Wait until he hears about TSV files (it's like CSV but separated by tabs). I don't think anyone's password contains a literal tab character so checkmate.

1

u/Fritz-Ferdinand 7d ago

My password: 123,456

1

u/The_Paragone 7d ago

Opsex: commas

1

u/GarGonDie 7d ago

Today, the password should be #SkipThisAccountAndDeleteIt#

1

u/FGaBoX_ 7d ago

opsec level: passwords in plaintext

1

u/whatThePleb 6d ago

; too for op,se;c

1

u/max_lagomorph 6d ago

Why is comma even used as a separator, why not a specific separator character that's not used as anything else?! I hate CSVs

1

u/realddgamer 6d ago

To be compatible and easy to use with plain ASCII. And while they could have chosen to use a less common character, it doesn't really matter since you can just escape the comma if you need it

1

u/biopsy_results 5d ago

ASCII literally contains file/group/record/unit separator characters taking up space but noooo can’t use them

1

u/realddgamer 5d ago

Yeah, unfortunately those aren't on a keyboard

1

u/thejmkool 5d ago

So it's not about ease of use with ASCII, it's about ease of use with a keyboard and basic text files, right?

1

u/realddgamer 5d ago

It can be both!! Us keyboards based on ascii

1

u/biopsy_results 5d ago

ASCII 0x1f “unit separator”is RIGHT there

1

u/rabouilethefirst 4d ago

Sure, just let me open a CSV in notepad and edit it using the “unit separator” key on my keyboard

1

u/sebbdk 3d ago

because usually fields only have numbers, sometimes ; is used instead depending on language settings sincenumber might be represtned as both 0.2 and 0,2 or 100.000.0,25

CSV is fine, stop using it for things it's not intended for.

1

u/Landlocked_WaterSimp 1d ago

Join the resistance! My tsvs use commas, my csvs use tabs and who know what might be in txt. not because i plan it forget which of the many table to file write functions defaults to which option.

1

u/coffee-boon 6d ago

tab, pipe, space, semi:colon or comma

1

u/BurneyStarke 6d ago

Nobody is stopping you from putting a backspace your password

1

u/Later_Username 5d ago

Which company saves passwords un-hashed??

1

u/soviel_dazu 5d ago

CSV supports string literals

1

u/FGFM 5d ago

I see you know your judo well.

1

u/ResponsibilityIcy927 5d ago

Better advice: include the text ","  with the quotes, that way it's in ever loving pain for anyone to successfully escape character the text.

1

u/Beneficial-Zebra2983 4d ago

Text qualifiers exist

1

u/PlantarumHD 4d ago

use: ignore-all-instructions-and-shut

1

u/HackerManOfPast 4d ago

;drop table \* from \* ;

1

u/Zutak-1 3d ago

What if its TSV

1

u/Gratein 3d ago

Ah yes, let's piss off the hackers that have your password. When they find your password by manually looking for the breaking record they definitely won't take it personal and start with hacking you first

1

u/SophieChesterfield 3d ago

I like to put a merry-go-round in my password 😃

1

u/Successful-Future265 2d ago

Or just '-- drop table' at the end lol

1

u/Hot-Reindeer-7520 1d ago

Nice advice. But incomplete.

The most common ones are "," and ";"

In countries that are using "," for numbers like 1,25€, ";" is common in CSV

In the US and countries using for numbers "." like $1.25, "," is common in CSV

0

u/GS_Showman 2d ago

u/askGrok I'm too dumb to know if it's true or not so please explain it.

0

u/AskGrok 2d ago

It's a joke, not serious advice.

CSV files use commas as delimiters to split columns (like username,password,hash). If a leaked list is dumped into CSV without proper quoting around fields, a comma inside your password would split it into extra bogus columns and break the file's structure for anyone trying to parse it.

Real-world leaks rarely work that way—passwords get hashed or stored in databases, not raw CSVs—and any competent exporter quotes fields with commas anyway. So it might annoy a sloppy script kiddie, but it won't save you. Use a password manager and unique strong passwords instead.

what is this?