Vibe Coding
Comment on A remote code execution vulnerability has been found in Microslop Notepad
M0oP0o@mander.xyz 4 days ago
HA, how do you fuck up notepad?! Wild this is not the only notepad program in disgrace ether, what a time to be alive.
Hows the whole “must update for security” people doing?
Maggoty@lemmy.world 3 days ago
ChickenLadyLovesLife@lemmy.world 4 days ago
Back in the year 2000 I was writing intranet apps for a big corporation, using Visual Basic and classic ASP (lol) and IE6 (lolol) for the UI. A very handy if not indispensable tool for this sort of work is the ability to View Source on the generated pages, which popped up the HTML in Notepad. One day for me this simply stopped worked entirely – hitting View Source did nothing and I couldn’t fix the problem on my computer no matter what I did (other people’s computers still worked fine). I even switched to a different computer, set up all my tools and programs as normal, and got the same problem with View Source not working at all. I went like this for six months, and it was a real challenge to debug problems.
Eventually I discovered the problem from a forum post: I had a shortcut to Notepad on my desktop. For no reason I can possibly imagine, this prevented View Source from doing anything at all. It didn’t even have to be a shortcut to Notepad proper; any shortcut that happened to be named “Notepad” would cause the break even if it was a shortcut to some other program. Renaming my shortcut to “NotepadX” fixed the problem. I would LOVE to have some old MS engineer explain to me what the living fuck was going on here.
Liketearsinrain@lemmy.ml 3 days ago
I have a pretty good guess. They were using ShellExecute or a similar API with only "notepad” as a name or “edit” as a verb. The search order would end up finding your shortcut first.
This would be odd behavior (the path should be be the full path and start at system32) but I don’t have IE6 and Windows 95 to find the exact API lol.
ChickenLadyLovesLife@lemmy.world 3 days ago
Sure, but in my case “Notepad” was a shortcut to actual Notepad.exe. It still should have worked.
bitjunkie@lemmy.world 3 days ago
iirc .lnk files didn’t pass along params to the actual executable, at least not in 9x
src: first tech job was at a MS silver partner in the 90s
limelight79@lemmy.world 4 days ago
That has to be some kind of special exception in IE6 that they were doing for debugging, and they failed to remove it. Crazy.