Live data from Hacker News

I was asked to crack a program in a job interview

erenyagdiran.github.io

11–20 of 309 posts

Re: I was asked to crack a program in a job interview

#12
post #6
post #4

This reminds me of the popular binary bomb lab offered in some computer architecture courses: http://csapp.cs.cmu.edu/public/labs.html

Haha, if that's the one I remember you could completely trivialize that lab by fiddling with the program counter in gdb (skipping the line that sets off the bomb). Don't know if they were able to fix that in later versions of the lab. Good times, thanks for reminding me.

When I did that, it seemed like it was intentional. You could only get to the portions that signal success to the server by cracking parts of the bomb which was what we were graded on. The "don't let it explode" part was really the hey here's how you can use gdb to stop your program before it does anything serious.

Re: I was asked to crack a program in a job interview

#13
post #8

Really nice overview of the process. I was hoping to get into debugging and breaking code, but my career took a wild turn away from that part of the job. It's still something I would like to learn, so I'm reading as much about it as I can. I'm going to take this way off topic here, but it's a curiosity of mine. Please don't take this as an insult; it seems to be very common and as a language learner myself I'm just w…

As far as I know, punctuation association rules are the same in all indo-european languages. Most of them bind to the left and have a space to the right. Emdash, and ... have two spaces, and endash and apostrophe have no spaces. But people struggle with this. I distinctly remembering practicing this in class when prepping for matura (Slovenian version of SATs) so I guess it isn't inherently obvious to everyone.

Unfortunately I think it's not so simple

    ";" is surrounded by space left and right
    ":" has no space on the left in English, but it has one in French

Re: I was asked to crack a program in a job interview

#14
post #9

> Here is the first thing i typed in the terminal root@lisa:~# ./CrackTheDoor Um. I see at least one security issue already.

Not sure why you're getting downvoted, but debugging a "crack me" app while running as root is probably a bad idea.

Even if this is inside a VM, it might give the wrong message to someone wanting to try this for themselves.

Re: I was asked to crack a program in a job interview

#15

Really nice overview of the process. I was hoping to get into debugging and breaking code, but my career took a wild turn away from that part of the job. It's still something I would like to learn, so I'm reading as much about it as I can. I'm going to take this way off topic here, but it's a curiosity of mine. Please don't take this as an insult; it seems to be very common and as a language learner myself I'm just w…

poor grammar instruction in school. A space is normally after a period even in russian.

Ah, I thought it was something more than poor instruction. I participate in some foreign language pen-pal services and I see this a lot, more often than any other English grammar mistake.

Re: I was asked to crack a program in a job interview

#16

Really nice overview of the process. I was hoping to get into debugging and breaking code, but my career took a wild turn away from that part of the job. It's still something I would like to learn, so I'm reading as much about it as I can. I'm going to take this way off topic here, but it's a curiosity of mine. Please don't take this as an insult; it seems to be very common and as a language learner myself I'm just w…

In Japanese, "、" (読点 tōten) is similar to the English comma; it is used to separately multiple clauses in a sentence. To my understanding, there really aren't grammatical rules for using it like there are in English. In addition, Japanese has no spaces which might lead to some confusion on the how punctuation and spaces are laid out in English. I think the most notable thing from Japanese -> English speakers is the lack of article usage (words like a, an, the) because they simply don't exist in Japanese. But I digress, the main take away is that other languages may not have as strict rules on some of the grammatical structures that are similar to those we use in English.

Re: I was asked to crack a program in a job interview

#17
post #9

> Here is the first thing i typed in the terminal root@lisa:~# ./CrackTheDoor Um. I see at least one security issue already.

Could have been a VM! I'd assume it was.

I did assume that, but it still seems like bad practice.

Re: I was asked to crack a program in a job interview

#18

Really nice overview of the process. I was hoping to get into debugging and breaking code, but my career took a wild turn away from that part of the job. It's still something I would like to learn, so I'm reading as much about it as I can. I'm going to take this way off topic here, but it's a curiosity of mine. Please don't take this as an insult; it seems to be very common and as a language learner myself I'm just w…

Assuming OP's native language is Turkish, that uses the same punctuation as English.

Re: I was asked to crack a program in a job interview

#19

Really nice overview of the process. I was hoping to get into debugging and breaking code, but my career took a wild turn away from that part of the job. It's still something I would like to learn, so I'm reading as much about it as I can. I'm going to take this way off topic here, but it's a curiosity of mine. Please don't take this as an insult; it seems to be very common and as a language learner myself I'm just w…

My guess would be that he is a coder and has a habit of spacing either side of a comma for his own readability preference. A dot between words would be like method calls in many languages.

Re: I was asked to crack a program in a job interview

#20
post #13
post #8

Earlier quoted context omitted.

As far as I know, punctuation association rules are the same in all indo-european languages. Most of them bind to the left and have a space to the right. Emdash, and ... have two spaces, and endash and apostrophe have no spaces. But people struggle with this. I distinctly remembering practicing this in class when prepping for matura (Slovenian version of SATs) so I guess it isn't inherently obvious to everyone.

Unfortunately I think it's not so simple ";" is surrounded by space left and right ":" has no space on the left in English, but it has one in French

Nope, according to wikipedia on ";"

> Modern style guides recommend no space before them and one space after.

And that's really interesting about French. Personally I think a colon surrounded by spaces looks funny, but then again, I've never learned a language where that wasn't the correct way.

edit: my French girlfriend says French puts spaces on both sides of all punctuation except commas and periods. Like this !

Weirdos O.o

Post reply on HN