CyberDragonCore,
@CyberDragonCore@programming.dev avatar

rm -rf /* This will not display warning messages.

superbirra,

not sure why you deem it necessary to point it out in this specific context, anyway yes, depending on system setup this definitely could show a warning

prime_number_314159,

Did they run it with no-preserve-root? Is Kali so old it doesn’t have they protection? Did they just see the command in history on a perfectly fine system, and decide never to hire on that basis?

go_go_gadget,

Yeah sounds to me like the dude found the first vulnerability.

some_guy,

Hey, I know that princesses are ofter schooled in etiquette more than they get real education. unixqueen might not know shit about Unix / Linux. I find this completely believable, like how Queen Elizabeth didn’t know dick about math.

nifty,
@nifty@lemmy.world avatar

Haha fair, I don’t know anything about this poster other than this meme they made, and I didn’t want to post without attributing the original source.

hightime,

lel

superbirra,

the amount of ppl taking those shots seriously (more or less, everybody) is simply flabbergasting omg lol

MonkeMischief,

Did they execute the command on localhost or the remote? Because hey if they had privileges to root-nuke the target that’s gotta count for something right? Lmao

corsicanguppy,

atleast

Okay, you illiterate fuck, this I do for the planet and not for you.

257m,

:( atleast should be a word. atleast it would make sense if it was :)

Urist,
@Urist@lemmy.ml avatar

Chill out. They may be German or something where shit like that is concatenated into one word.

Enkrod,

At least -> zu mindest -> zumindest

Checks out, +Comment+

bruhduh,
@bruhduh@lemmy.world avatar

Okay) now try to say that in that person’s native langage though, Canada is inclusive they said

mvirts,

Sometimes you get what you deserve

corsicanguppy,

It’s clear the kid wasn’t up to the job. Why sit the interview?

mvirts,

Probably didn’t want to tell them to their face, provide a clinical facade behind which to judge them.

Potatos_are_not_friends,

I used to make jokes to juniors/interns like the above. Then I watched a junior start typing my joke in terminal, and I freaked out and stopped.

Sometimes I forget these jokes go over the heads of people.

lightnsfw,

Same. I was working on a help desk years ago helping another agent with a call where the customer was being ignorant and I sent him a message that said something like “does he want us to wipe his ass for him too?” (Not that exactly but in the context of the situation it would have been similarly insulting). Next reply I get from the other agent was “he said no”.

😬

laurelraven,

And this is exactly why I don’t make those jokes to people unless I know very well they’ll get it

derpgon,

I’ve seen frustrated senior start writing this. Sometimes it’s just a different state of mind that pushes us over critical thinking edge into the void.

starman2112,
@starman2112@sh.itjust.works avatar

The same brain state that leads to chocolate milk mashed potatoes

cows_are_underrated,

Do I have to worry that I understand to what you’re referring to?

starman2112,
@starman2112@sh.itjust.works avatar
XTornado,

I mean… it’s the best way to learn by being stupid and doing mistakes, but truly some mistakes are too much damage and does not help to learn or if we talk about other jobs can kill somebody.

flyingjake,

Yeah, you don’t want toddlers learning gun safety the hard way

afraid_of_zombies,

I managed a homework help chatroom for EEs. One of them got a PI and was so happy. Another person suggested that they run that command. Later on the other person claimed they didn’t expect it to work.

It took me and another mod way too long to help the other guy fix his PI. Wasn’t really happy about it. The new rule I came up with was if you must must make a joke do something harmless like “touch /this” and reference MC Hammer.

Lojcs,

How are you supposed to fine 7 vulernabilities in an hour anyways? No way they expect the applicant to actually find vulernabilities right? So you need to memorize a bunch and see if they are present, which doesn’t achieve anything other than testing your memorization abilities

Hyperreality,

How are you supposed to fine 7 vulernabilities in an hour anyways?

Threaten the interviewer with a knife until they give you at least 7 vulnerabilities. tapsheadmeme

teft,
@teft@lemmy.world avatar

Once again proving social engineering is king.

RGB3x3,

The biggest vulnerability is the user.

That being said, click this link to make an easy thousand dollars a day.

TheBat,
@TheBat@lemmy.world avatar
TimeSquirrel,
TimeSquirrel avatar

They always forget about the rubber hose exploit.

umbrella,
@umbrella@lemmy.ml avatar

mf wants you to work before even being hired

Agent641,

A taser and 7 pairs of handcuffs

laurelraven,

It’s going to be a system set up with known vulnerabilities that should be easy to locate using common tools already installed on Kali; a real world scenario should (at least in theory) not be that simple, but in a capture the flag pentest environment, that’s pretty normal

possiblylinux127,

I can find a bunch with just nmap

0xD,

You can see that the first machine is at /dvwa which is the Damn Vulnerable Web Application and is made for practicing hacking. If you have a basic understanding of the vulnerabilities there finding 7 of them is easy peasy.

fkn,

Using Kali? Easy if you have training. The capstone for our security course a decade ago was too find and exploit 5 remote machines (4 on the same network, 1 was on a second network only one of the machines had access to) in an hour with Kali. I found all 5 but could only exploit 3 of them. If I didn’t have to exploit any of them 7 would be reasonably easy to find.

Kali basically has a library of known exploits and you just run the scanner on a target.

This isn’t novel exploit discovery. This is “which of these 10 windows machines hasn’t been updated in 3 years?”

0xD,

Just saying that running automated tools and identifying those vulnerabilities is just the first step to learning hacking, but nothing more. To gain a proper understanding you must be able to find vulnerabilities manually or at least understand a certain exploit such as ETERNALBLUE which you won’t really look for manually.

fkn,

Sure. But for an entry level interview as a pen tester… Scanning with Kali should be an easy task.

SomeBoyo,

What would happen to him if he where to miraculously pass the interview?

nifty,
@nifty@lemmy.world avatar

Months 1-3: hey he’s new, just getting used to things

Months 4-6: he’s not good, but maybe trainable?

Months 7-9: he needs to be on a PIP so we can CYA and fire him

Months 10-12: phase out and fire

Rinse and repeat at new companies every year for 5 years, get hired as Engineering Manager at sixth job.

Tippon,

Depending on the pay, that’s a nice little scam for someone.

When I was in my mid 20s, the only jobs nearby were basic retail work, and mostly part time. As you can probably imagine, the pay wasn’t great. If remote work had been available then, I could see me being tempted to try this, even if it was just to tide me over for a while.

I’m the kind of person who hates not being able to do something, so I’d probably burn myself out trying to learn how to do the job in between working it, but it would still be tempting.

tallricefarmer,
@tallricefarmer@sopuli.xyz avatar

this is very accurate

umbrella,
@umbrella@lemmy.ml avatar

please just kill me instead

nifty,
@nifty@lemmy.world avatar

No you get to live. But it’s your choice to suffer.

umbrella,
@umbrella@lemmy.ml avatar

I don’t work these shitty jobs that can barely pay for my existence by choice.

possiblylinux127,

Ok now, be nice to the company leadership…

corsicanguppy,

Yep. They cheated hard to get there.

RegalPotoo,
@RegalPotoo@lemmy.world avatar

Before you become a master you must make one thousand mistakes; some people choose to make the same ten mistakes a hundred times each

fkn,

A thousand novel mistakes.

Norodix,

This hurts

nifty,
@nifty@lemmy.world avatar

Nothing wrong with being a newbie. Be curious and willing to learn!

nick,

Good, don’t best this guy in the Linux ecosystem then.

TxzK, (edited )

The only time when doing this shit is acceptable

ptz,
@ptz@dubvee.org avatar

I love when cheaters fail to prosper.

Back when I still used Reddit, so many posts were just CS students trying to get other Redditors to do their homework for them. I don’t think I ever came across any technical interview cheaters, but I’m sure there were some.

CosmicTurtle,

I remember one interview I had with a candidate. It was for a database analyst position that required SQL.

The first round was typically a phone screen where I chat with the candidate, get to know them a bit.

Second round was code review. I asked them to do a SQL query that did x.

The queries were simple. The goal was to get the candidate to walk through the query.

I had one candid that, over screen share, wrote the query flawlessly. Then I asked them to explain what it was doing. The candidate froze.

I can get understand getting nervous so I moved onto an insert statement. I had them write one and then do another without using certain terms (often leading to a sub query).

Again, flawless. I asked what situations would you use one over the other.

Again, they froze. I started to get suspicious that they were cheating and had them, instead of typing the answer, say the answer. When they couldn’t, I knew enough that it wasn’t going to work.

rottingleaf,

I could freeze like that because of being only shy/nervous, just saying. Over things I knew.

Say, “what it does” may bear different weight when you are autistic. You try to grasp the thing from iron to logic to computers to B-trees to database itself etc.

To know that you only have to say a simple thing also requires experience which juniors may not have.

stoly,

I had an applicant very obviously read to me that Wikipedia article about Active Directory.

possiblylinux127,

Knowing how to quickly look something up isn’t a bad skill. The problem is when that’s all they do

0xD,

Sure, look up specific configuration points or architectures, but looking up AD is a bad sign.

stoly,

Worse, it was just a generic question about exposure for a low-level position. I.E. Can you tell me what big thing this is used for?

send_me_your_ink,

When in doubt I ask them what RAID 45 is.

AnExerciseInFalling,

Ooo and there’s even a serious looking page “explaining” it as the first result when looking it up on Google

I’m definitely stealing this idea

send_me_your_ink,

Steal away. An old boss knew the person who maintains that page. If I remember correctly it’s entire reason for being is for that one question.

possiblylinux127,

That’s where you refocus the conversation by saying “tell me what you do know”

redcalcium,

I wonder why people do this. You wouldn’t apply to a welding job if you can’t weld. Why so many people apply to programming positions if they can’t actually code (or a database analyst position without knowing SQL)?

hulemy,

Some people seem to think you can just Google stuff or more recently use AI to do the coding, not knowing that being a dev is mostly about knowing what to search and that being a dev isn’t just coding.

rottingleaf,

Some people seem to think you can just Google stuff

If you are a junior sysadmin - sure as hell you can and you will. Not everything has good manpages. Not every configuration of something is trivial to imagine, and it is useful to see what somebody else did.

cows_are_underrated,

I mean, Google and AI can be really helpful, but you should be able to do stuff without it. Google won’t help you if you have a problem with a customer/company specific problem that requires knowledge about the whole technical infrastructure.

aksdb,

Money? Maybe the get the first pay until they get thrown out again.

Trainguyrom,

My current job just hired someone as a senior Salesforce admin with a bunch of certs who in reality lacks any Salesforce skills at all. He’s been here for 6 months now and is really just dead weight on the team, but the only reason he hasnt been let go yet is because middle managent above him has its own host of issues, and the only reason he’s on thin ice is because of some of my team has been very loudly forwarding complaints against him up the chain and clearly communicating that he’s not showing the competencies that are required for the role and that he claimed to have. I give it another 6-12 months before he either gets fired or bounces

RegalPotoo,
@RegalPotoo@lemmy.world avatar

A lot of the time I find “spot the bug” questions to be more informative, especially for junior roles. We stopped asking fizz-buzz - just about everyone has heard of it by now and it’s pretty easy to just rote learn a solution. Instead we give them the spec for fizz-buzz and a deliberately broken implementation and ask them to fix it. If they get flustered, just asking “what does this program output” usually give a pretty clear indication if they can reason about code in a systematic way.

aksdb,

That’s fine if there are no weird pedantic ropes to fall over. I am not a compiler or linker, that’s what I have compilers and linkers for. Same with an IDE. I don’t know many details of the stdlib or other common libs, because why should I waste space in my brain for stuff code completion can show me…

RegalPotoo,
@RegalPotoo@lemmy.world avatar

The kind of bugs I’m talking about are things like “the logical flow of the code is broken because the order of the if/else if/else branches is wrong”, “this program never finishes because you don’t increment that counter” and “you specified print the numbers 1 to 100, but that counter starts at 0”.

I’m testing your ability to think logically, not your knowledge of stdlib trivia

0xD,

No, that approach is completely fine even if pedantic because you get the candidate to reason about their choices and their approach which tells you so much more about them than rote memorization. Being pedantic is the whole point of it.

aksdb,

That’s likely not what I mean by pedantic. If your code example has syntactic errors or calls functions with not enough or too many parameters and you expect them to notice, you want them to do, what a compiler does or to know technical documentation by heart. Which is completely academic and pointless.

Concentrating on “algorithmic” solution at hand is fine, though. Unless you again expect them to recognize stuff like “hey this is almost Dijkstra’s algorithm but wrong”, because the interview should not be a university computer science test.

jimmydoreisalefty,
@jimmydoreisalefty@lemmy.world avatar

edit: spacing, added -rf info

The Linux rm Command: Everything You Need to Know

There’s more to rm than meets the eye.

www.howtogeek.com/858815/linux-rm-command/


Use rm -rf to Delete Everything

If you absolutely need to delete anything and everything, just use the command:

rm -rf

That combines the -f flag, which forces deletion, with the -r flag, which will delete folders recursively. We previously included the -v argument (to make it verbose), but it isn’t necessary. Just keep in mind that this is basically the nuclear option, and you shouldn’t use it unless you’re absolutely sure you want something gone forever.

Cqrd,

On modern Linux versions you need to add --no-preserve-root or it won’t work as nicely

jimmydoreisalefty,
@jimmydoreisalefty@lemmy.world avatar

Thanks!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linuxmemes@lemmy.world
  • DreamBathrooms
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • tacticalgear
  • JUstTest
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • anitta
  • modclub
  • megavids
  • provamag3
  • lostlight
  • All magazines