News for hackers. Stuff that matters.
Re:Send your email right to the other person's spam by qq66 on Saturday February 05, 2022 @09:45PM (#30228807)
LOL this was a common thing in high school for me but one teacher was more technically literate than we gave him credit for and in class (with overhead projectors LOL) called the student out in front of the whole class and had printouts of the hex where he had fucked with it and gave him a 0. I don't think you could drag a kid publicly that way today, some parent would get the administration up your ass.
Re:Send your email right to the other person's spam by sillysaurusx on Sunday February 06, 2022 @01:03AM (#30229909)
Back in high school in ye olden days of 2003, the trick was to put a powerful magnet on your floppy disk prior to turning in the assignment. Floppy disk failures weren’t too uncommon, so it was hard to prove intent.

Frankly I’m amazed computers were trusted by anybody back then. Imagine if iCloud randomly corrupted 1 in 100 photos.

Re:Send your email right to the other person's spam by endymi0n on Sunday February 06, 2022 @02:02AM (#30230140)
Seriously, the magic of error correction is hardly appreciated or noted by younger hackers these days.

I had one important project (I don‘t remember anymore which one it was), so I put it on THREE 3,5‘‘ disks, one after each other.

All three were unreadable by the time I arrived. I was devastated.

(note I had heard stories about rotating current brakes ruining disks so I took care not to go by rail, must have been something else)

Re:Send your email right to the other person's spam by bambax on Sunday February 06, 2022 @04:54AM (#30230976)
Not exactly the same story, but there was this one time when I was working on a long document, several days work, on an Amstrad PPC 640 (this was the early 90s). Saving the file on a floppy took around 1 minute I think (maybe more) so I didn't do it often and had no copy or backup of any kind.

It was around midnight, I was done and hit save. I had an external monitor, and for no particular reason, decided to move it around during the save. It was big and heavy, and while moving it I accidentally hit the power switch of the PC.

Powering off the machine during disk write destroyed everything. I couldn't believe it, I stared at the machine for a while.

Then I spent the rest of the night recreating the document from memory, while making frequent copies on different disks.

It was a horrible moment that I remember vividly, but it taught me a valuable lesson. I never again lost any file for lack of appropriate backup.

Re:Send your email right to the other person's spam by londons_explore on Sunday February 06, 2022 @03:15AM (#30230467)
Either the drive you wrote the disks on, or the drive you used to read them, were misaligned.

Putting the disks back in the original drive and they probably would have been readable.

Re:Send your email right to the other person's spam by scsilver on Sunday February 06, 2022 @03:40AM (#30230557)
And they computers don't have a sense of humor.
Re:Send your email right to the other person's spam by mulmen on Sunday February 06, 2022 @03:51AM (#30230597)
To be honest if iCloud corrupted 1% of my photos I’m not sure I would notice.

1.44 MB pretty much fits in my head.

But “infinite” storage over 15 years now? How would I even audit that?

Re:Send your email right to the other person's spam by BiteCode_dev on Sunday February 06, 2022 @06:17AM (#30231473)
> 1.44 MB pretty much fits in my head.

That the size of a zipped plain text bible.

There are some people that knows the bible by heart, and I suppose if you work with it a lot, you have a general idea of the order of all things, and what's going on in each part without having to know the exact words. Like an essay you've been working on for months.

So seems about right.

Maybe it's time for a new metric: 1 floppy is what you can hold. More is too much.

Re:Send your email right to the other person's spam by orestarod on Sunday February 06, 2022 @06:44AM (#30231651)
More like what you can hold as a single entity in your head. The sum of your knowledge is vastly more than that.
Re:Send your email right to the other person's spam by BiteCode_dev on Sunday February 06, 2022 @07:40AM (#30231994)
Yes.

I can memorize so many docs and API, but there is a threshold for a project size above which I cannot hold the entire code base in my head.

Re:Send your email right to the other person's spam by southerntofu on Sunday February 06, 2022 @06:55AM (#30231717)
You'd be surprised how much data "cloud" services lose or intentionally delete every year.
Re:Send your email right to the other person's spam by ARandomerDude on Saturday February 05, 2022 @10:57PM (#30229269)
That man believed in teaching more than what was in the textbook. Kudos for the lesson in integrity.
Re:Send your email right to the other person's spam by bryanrasmussen on Sunday February 06, 2022 @01:02AM (#30229905)
how could he be sure the kid did it though, seems like he should have better proof than the file was screwed up.
Re:Send your email right to the other person's spam by qq66 on Sunday February 06, 2022 @01:48AM (#30230093)
The hex was clearly corrupted manually, something had been typed there. I don't think it was just the word "fuck" but I think the word "fuck" was in it. Was decades ago.
Re:Send your email right to the other person's spam by zinekeller on Sunday February 06, 2022 @02:02AM (#30230141)
Ah, it was only "hjfsagufsaiugasfigsaigsg78wafg7fas fuck you teacher! fhadiuofashofhsaibsaiu" Notepad corruption? Huh, that's a fun one! /s But seriously, I'm impressed by that teacher.
Re:Send your email right to the other person's spam by Handytinge on Monday February 07, 2022 @05:26PM (#30252236)
What could parent complain about? I'm lost.
Re:Send your email right to the other person's spam by suifbwish on Saturday February 05, 2022 @11:11PM (#30229333)
There are ways to corrupt a file without messing with the hex content of the file
Re:Send your email right to the other person's spam by MichaelBurge on Saturday February 05, 2022 @11:18PM (#30229370)
No there isn't. It is a fundamental property of CS that all bitstrings with the same bits are equivalent for computing.

So if file 1 is a bitstring, you don't modify the bits to produce file 2, then file 2 has the same bitstring and will be processed the same as file 1.

Re:Send your email right to the other person's spam by nfoz on Saturday February 05, 2022 @11:27PM (#30229426)
Not the parent and not sure what s/he meant, but one could imagine software that borks when there are invalid (but nonobvious) characters in the filename, for example. Or file permissions or other extended filesystem attributes / resource forks if somehow you can get them delivered to the teacher that way.
Re:Send your email right to the other person's spam by y4mi on Saturday February 05, 2022 @11:48PM (#30229543)
The files are also often delivered via USB Stick which are usually formatted with a filesystem without bitrot detection. That would be indistinguishable from someone manually screwing with the file too.

You can never be certain wherever the damage was caused by bitrot or a person screwing with the file, but certain patterns are very unlikely to occur naturally so a reasonable guess is at least somewhat possible

Re:Send your email right to the other person's spam by noduerme on Sunday February 06, 2022 @12:24AM (#30229743)
My whole form of copy protection on AIR apps through about 2013 was basically to have the login system side-load another SWF once the user logged in - but the SWF's bytecode would be tweaked and corrupted in a way that required a valid response to the login to de-corrupt on the client side before it could be executed. Probably just the fact that you would've had to decompile the side-loader was enough to prevent it from being stolen.
Re:Send your email right to the other person's spam by Yoric on Sunday February 06, 2022 @01:47AM (#30230087)
Hey, I had a similar copy protection scheme for binaries during the 90s :)
Re:Send your email right to the other person's spam by noduerme on Sunday February 06, 2022 @02:05AM (#30230153)
Hah. It's pretty awesome to hear that from a Firefox dev. I look back at it and wonder... what was the point? I think I was just having fun. I even went as far as having two "patches", where the first one made the software work but without the second one, it would send your VM and browser into a death loop after about 30 seconds. It was just the right amount of time to cause an SWF decompiler on Windows to crash the whole system. Anyone who wanted it badly enough would have gotten it, and I doubt anyone ever put in the effort to hit that spiral, so I must have just been entertaining myself ;)
Re:Send your email right to the other person's spam by jonhohle on Sunday February 06, 2022 @12:25AM (#30229749)
Based on OP comment about showing the hex to the clas, my bet is the perp opened the file in notepad, jammed on the keyboard (ascii characters) or worse yet, typed a message proceeding or following the content (depending on the format), making it very obvious that it was an intentionally introduced error.
Re:Send your email right to the other person's spam by therein on Saturday February 05, 2022 @11:48PM (#30229546)
You could just do what I did instead. To make it less evident that it was tempered with, I'd copy a random chunk of the original file and insert it a few times with random offsets.
Re:Send your email right to the other person's spam by IgorPartola on Sunday February 06, 2022 @12:23AM (#30229738)
Another way: corrupt the formatting such that the file doesn’t show anything. Think the equivalent of adding a CSS property like body {margin-left: -10000px}. File would be perfectly valid but display as blank.
Re:Send your email right to the other person's spam by mlyle on Sunday February 06, 2022 @12:40AM (#30229816)
That's not too useful when plenty of students just send in a plain blank document. Corrupting it in one way that looks like a -different- way of slacking isn't so useful.
Re:Send your email right to the other person's spam by ViViDboarder on Sunday February 06, 2022 @12:39AM (#30229812)
Why not send a blank file then? The point is that you want the editor to error and fail to read so they can’t tell that you didn’t do the work.
Re:Send your email right to the other person's spam by tempestn on Sunday February 06, 2022 @12:44AM (#30229835)
Because a blank file will have a tiny file size and will look like... a blank file. You want it to look like something went wrong such that the file couldn't be opened, but that it would have content if you could.
Re:Send your email right to the other person's spam by tsimionescu on Sunday February 06, 2022 @02:29AM (#30230273)
I'd bet that for the average tech illiterate teacher that's used to lazy students, it would be more work to explain how it could possibly NOT be the student's fault if they got an empty(looking) docx.
Re:Send your email right to the other person's spam by vba616 on Sunday February 06, 2022 @08:58PM (#30239238)
Mr. McGuire : I just want to say one word to you. Just one word.

Benjamin : Yes, sir.

Mr. McGuire : Are you listening?

Benjamin : Yes, I am.

Mr. McGuire : Metadata.

(also see https://en.wikipedia.org/wiki/Resource_fork)

"The Windows NT NTFS can support forks (and so can be a file server for Mac files), the native feature providing that support is called an alternate data stream."

Re:Send your email right to the other person's spam by yread on Sunday February 06, 2022 @04:06AM (#30230688)
you could just truncate it at page (4k multiple) boundary. very hrad to prove intent