One time I struggled debugging a program on a clean Windows machine. For some reason it seemed like it couldn’t find a JSON file that’s obviously in the system. I could even open the file on my own and view its contents.
Turns out after much frustration that the file was actually a json.txt file. I didn’t notice because the extension was hidden, so I only saw .json and thought it was fine.
You can’t imagine how much I hate this setting. A couple of weeks ago I helped a guy install some specific software on a windows machine provided by the customer. It’s like one exe with a config file. Pretty basic. My instructions were:
Copy the exe to a specific path
Create a new text file in the same path and copy paste this provided text into the file
Rename file to abc.xml
The exe was throwing errors because of the missing config file. Of course the filename was abc.xml.txt 💩
Just hijacking a discussion about security. I would think that Linux users would be more security conscious. But I found in my buildings trash a bunch of HDDs, some 1TB and a 5TB, so I took them to see if they were ok (and recycle properly if not).
All ext4 formatted and with lots of personally identifiable information including emails and photos and stuff.
The previous owner was an early Linux dev, wrote stuff that is still in the kernel. Yet unencrypted drives just thrown in the trash.
I've cleared the drives and now use them for myself, after I searched for a wallet.dat file.
At a conference recently, one person accidentally sent the organizer a pdf of their presentation with their notes underneath each slide, instead of the presentation itself, but it was super confusing because the file was "presentation.pptx.pdf" which of course got displayed by windows as "presentation.pptx". The person who decided to hide extensions by default must be so proud of pulling off such a wide reaching prank
I'm literally trying to get into Linux and one of the first things was installing software, which involves copying and running random bits of code from whatever website has the highest search result. I would say a lot of software is running code you have no idea what it does.
Noob question: Could someone make e.g. an executable linkin park - numb.mp3 file on Linux by giving it execute permissions? Probably not by downloading, but by replacing the file with a duped one.
Also the .mp3.exe trick and the likes could be easily detected by any security software easily, like Windows Defender.