r/masterhacker • • 29d ago • Heartwarming 1

op,sec

Post image
5.5k Upvotes

218 comments sorted by

803

u/tokoklontong1897 29d ago • Regret

The comments section must be insane

267

u/FotinoBird 29d ago • Mindblown

91k people bookmarked ts 💔

133

u/[deleted] 29d ago

[removed] — view removed comment

42

u/Kewlhotrod 29d ago

I'm dying at this picture bro ahaha

6

u/Human-Question6210 27d ago

sometimes I feel like absolutely everyone knows coding except me

3

u/FotinoBird 27d ago

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

3

u/sbcsfrtom2 26d 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 24d 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 24d 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 25d ago

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

1

u/DefinitelyNotMasterS 24d ago

Have you tried subreddits other than masterhacker?

1.1k

u/Kriss3d 29d 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.

403

u/g3shh 29d ago

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

163

u/Kriss3d 29d ago • Bravo

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

We are WELL beyond my sanity being broken.

96

u/shhimhuntingrabbits 29d ago • Mindblown Popcorn Bravo

What made you want to become a professional reddit commenter?

9

u/hurrdurrmeh 27d ago

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

-8

u/Kriss3d 29d 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.

29

u/Key-Regular674 28d ago

Found this guy

0

u/[deleted] 28d ago

[deleted]

10

u/Key-Regular674 28d ago

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

0

u/[deleted] 28d ago

[deleted]

8

u/Key-Regular674 28d ago

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

 - Sent from Iphone

6

u/MatiasPalacios 27d ago

The most Redditors of the Redditors.

4

u/Kriss3d 27d ago

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

1

u/AmbitiousEdi 26d ago

7 is not a few

1

u/re4perthegamer 17d ago

It's all 2-5

2

u/Kriss3d 26d 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 26d 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 26d ago

I know. He seemingly don't.

3

u/Spirited-Fan8558 29d ago

what is sovereign citizen?

8

u/Accomplished-Bit-973 29d ago

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

4

u/pocketcumin 29d ago

"The common clay of the new west."

6

u/Kriss3d 29d 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/jesta030 26d ago

Doing the Lords work!

Lord being His Noodlyness.

1

u/Careful_Source6129 22d ago

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

→ More replies (6)

74

u/TheFilip9696 29d ago

Thanks, now my password manager data got deleted

5

u/Acidhawk_0 28d ago

Yip should have memorized it.

82

u/[deleted] 29d ago

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

114

u/[deleted] 29d ago • Bravo

Damn he really does.

18

u/im_a_kobe 29d ago

😂😂😂 well done.

3

u/Rararror 28d ago

That is everyone password, isn't it?

26

u/spisplatta 29d 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 29d ago

Dangit.

14

u/Independent_Image_59 29d ago

Real hackers use random unicode characters in password

Opsec level: unicode

5

u/Salt_Ice_5321 28d ago

Mine is a string of (mostly) rocket emojis.

1

u/toxiclydedicated 13d ago

i dont think you can use emojis as password

Opsec level: emoij

4

u/frisch85 29d ago

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

3

u/Kriss3d 29d 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.

4

u/realegowegogo 28d ago

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

2

u/Sinath_973 28d ago

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

2

u/fvancesco 25d ago

I'm gonna use this password now for Reddit

1

u/fvancesco 25d ago

He wasn't lying

1

u/A_Happy_Tomato 24d ago

He was, you liar

1

u/fvancesco 24d ago

I changed it upon taking his account.

3

u/Angelworks42 28d 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 28d ago

xkcd327 taught me to sanitize inputs.

2

u/Bozhark 28d ago

Oracle canny

2

u/theo69lel 28d 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?

6

u/Vladamir_PoonTang 28d 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.

2

u/realddgamer 27d ago

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

??

2

u/Ok-Manager-5548 25d ago

Well have you ever heard of masks in hashcat ?

346

u/tpat90 29d ago • Mindblown

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

368

u/jnmtx 29d ago • Popcorn

146

u/tpat90 29d ago • Regret

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

27

u/GaGa0GuGu 29d ago • Mindblown

If only that was enough

32

u/jnmtx 29d ago

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

3

u/Alleged3443 22d ago

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

3

u/CharacterBack1542 4d ago • Heartwarming

"little bobby tables we call him" lmfao

2

u/superbenzin 27d ago

petttah, pls explain the joke

14

u/tpat90 27d ago edited 24d 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 24d ago

Doesn't double dash just open a comment line?

3

u/Spiritual-Count7556 24d ago

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

1

u/tpat90 24d ago edited 24d 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.

1

u/NoeZ 20d ago

I fell down the SQL rabbit hole a few months back and am commenting the shit out of my code to structure my thoughts

But then again the -- is to comment on a single line. So not everythging after would be considered comment, just the input on this line. /* opens a comment section but if SQL doesnt see */ further down, it sends back an error and doesnt run the query.

→ More replies (1)

129

u/cmhamm 29d ago

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

54

u/aaronjamt 29d ago

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

21

u/Groduick 28d ago

Edit: it works !

11

u/EKMEK_KAFAL_ELMIR 27d ago

iEatPopo

9

u/EKMEK_KAFAL_ELMIR 27d ago

Wtf it didnt work?

11

u/whatThePleb 27d ago

No problem, i changed it for you. 👍

99

u/CardOk755 28d ago

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

27

u/Faux_Real 28d ago

And a tab

10

u/hatchetharrie 28d ago

And a dollar

1

u/HeyGayHay 27d 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 27d ago

Tsv is a thing

2

u/Faux_Real 27d ago

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

17

u/Mexenheister 28d ago

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

1

u/NamedBird 28d 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 24d ago

Use one of every special character.

155

u/Unexpected117 29d ago • Bravo

Oh? I just use 4

43

u/ThatOldCow 29d ago

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

13

u/Imusje 28d ago

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

1

u/J-Cake 28d ago

5 being prime is a product of two primes 😉

1

u/Imusje 28d ago

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

1

u/J-Cake 28d ago edited 28d 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 28d ago

By convention, 1 is not prime.

→ More replies (1)

8

u/TreesOne 29d ago

eMuhdra is that you?

1

u/tornikeo 29d ago

you mean 4️⃣? In unicode it's 7 bytes (56 bits).

73

u/whippedCream-2832 29d ago

Op,sec leve,l : com,ma

33

u/PenguinBoi27 29d ago

Password = sudo rf - rm 😈

6

u/xxxbGamer 28d ago

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

28

u/Seer0997 29d ago

Opsec level: proper punctuation

23

u/_redmist 28d ago

"'; DROP TABLE users; "

10

u/Silver_Midas 28d ago

And also a purge, for good measure

19

u/imdeathfrombelow 29d 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 29d ago

"Opsec level, use quotes"

31

u/Memw1 29d ago

Opsec level: ""

5

u/Sea_Duty_5725 29d ago

Isn't the , a comma?

10

u/pricetag 29d ago

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

25

u/malik_ljalid 29d ago

20

u/notchapplezMC 29d ago

Опсек левел: хуеглот

1

u/Pitiful_Command9548 29d ago

Proglotil opsec

1

u/Awkward-Plum6241 29d ago

debil.hueglot

5

u/DerpSeshInMotion 29d ago

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

5

u/Slavicommander 28d ago

always make your password: "hackifgaylol"

7

u/BeginningSection7690 29d ago

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

6

u/Catatonic27 29d ago

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

3

u/Odd-World4925 29d ago

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

6

u/Catatonic27 29d 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 27d ago

oh sweet summerchild..

3

u/tes_kitty 28d ago

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

3

u/Sorry_Weekend_7878 28d ago

Came straight to the comma section

3

u/ThaGr1m 27d 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 27d 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/[deleted] 26d ago

[removed] — view removed comment

1

u/GregerGunnarPersson 26d ago

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

3

u/Hot-Reindeer-7520 22d 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

2

u/brigadier-pratap 29d ago

5114 reposts, insane

2

u/sussyslayer365 28d ago

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

2

u/BurneyStarke 27d ago

Nobody is stopping you from putting a backspace your password

1

u/bestjejust 29d ago

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

1

u/ansolo00 29d ago

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

1

u/tnethacker 29d ago

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

1

u/Healthy-Mission7927 29d ago

Password: 1,2,3,4

1

u/Prestigious-Board-62 29d ago

I put zero-width space in my passwords.

1

u/m0nk37 29d ago

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

1,something,"pass,word",3454

1

u/TheMegaPingas 29d ago

Real hacker knows to put quotation marks in addition to comma

1

u/frpeters 29d ago

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

1

u/Tripple_sneeed 29d ago

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

“hilariously chaotic 🤣🤣🤣🤮🤮🤮”

Dead internet etc 

1

u/nierusek 29d ago

I've managed to put newline in my password

1

u/thatsNotFabricSoftnr 28d ago

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

1

u/SendyCatKiller 28d ago

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

1

u/grrrwith1r 28d ago

physics unfiltered

1

u/No_Royal_3314 28d ago

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

1

u/WraithXVB 28d ago

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

1

u/gpm1982 28d ago

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

1

u/Old-Grapefruit-2446 28d ago

you aren't breaking shi

1

u/_ahrs 28d 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 28d ago

My password: 123,456

1

u/The_Paragone 28d ago

Opsex: commas

1

u/GarGonDie 28d ago

Today, the password should be #SkipThisAccountAndDeleteIt#

1

u/FGaBoX_ 28d ago

opsec level: passwords in plaintext

1

u/whatThePleb 27d ago

; too for op,se;c

1

u/max_lagomorph 27d 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 27d 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 26d ago

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

1

u/realddgamer 26d ago

Yeah, unfortunately those aren't on a keyboard

1

u/thejmkool 26d 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 26d ago

It can be both!! Us keyboards based on ascii

1

u/biopsy_results 26d ago

ASCII 0x1f “unit separator”is RIGHT there

1

u/rabouilethefirst 25d ago

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

1

u/sebbdk 24d 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 22d 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/[deleted] 27d ago

tab, pipe, space, semi:colon or comma

1

u/Later_Username 26d ago

Which company saves passwords un-hashed??

1

u/exintrovert 14d ago

Only the best ones

1

u/soviel_dazu 26d ago

CSV supports string literals

1

u/FGFM 26d ago

I see you know your judo well.

1

u/ResponsibilityIcy927 26d 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 26d ago

Text qualifiers exist

1

u/PlantarumHD 25d ago

use: ignore-all-instructions-and-shut

1

u/HackerManOfPast 25d ago

;drop table \* from \* ;

1

u/Zutak-1 24d ago

What if its TSV

1

u/Gratein 24d 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 24d ago

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

1

u/Successful-Future265 23d ago

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

1

u/exintrovert 14d ago

The best password is
=\’,\”\r\n&apos;’’\0 WHERE ‘1=1\u0022

1

u/Any_Establishment659 14d ago

making my password DROP:Table or whatever i domt use skwull