News for hackers. Stuff that matters.
Re:How can you be fooled by the U+202E trick? (2013) by jcelerier on Wednesday February 16, 2022 @09:46AM (#30360592)
when I do my OS has no trouble opening them in my image or text viewer. The issue is when I download something that should be executable, and I have to paintaskingly open a terminal, and

    cd ~/Téléchargements; chmod +x <try to remember the first letter><hit tab 15 times><miss it><go check inside the firefox download manager><restart><end up typing the whole name> 
before being able to run it.
Re:How can you be fooled by the U+202E trick? (2013) by armada651 on Wednesday February 16, 2022 @10:28AM (#30361193)
This seems like more of a UI issue than anything. Could be fixed by simply presenting the user with a prompt asking whether they want to allow this file to execute as a program if it's missing the permissions.
Re:How can you be fooled by the U+202E trick? (2013) by kazinator on Wednesday February 16, 2022 @06:12PM (#30367161)
Honoring that right-to-left reversal character is also a "UI Issue".

The Windows UI could just render that character as a tofu box, and not evoke its reversal semantics.

Re:How can you be fooled by the U+202E trick? (2013) by ajuc on Wednesday February 16, 2022 @10:33AM (#30361269)
This is bad for variety of reasons.

Consider writing a bash script that makes a subdirectory with current date if it doesn't exist, downloads url from the command line argument into that directory, changes the permissions and runs it.

Then your workflow could be:

- keep terminal open

- Alt+tab to firefox, browse, copy link to executable file

- Alt+tab to terminal, ./handle.sh <paste the link> ENTER

- Alt+tab to firefox again

- rinse and repeat

There's many benefits - you don't get thousands of files in one directory (which can lead to performance degradation and even random errors), there's little risk that you run the wrong file, you don't waste as much time.

Re:How can you be fooled by the U+202E trick? (2013) by 6yyyyyy on Wednesday February 16, 2022 @12:48PM (#30363149)
No need to open a terminal

https://files.catbox.moe/tkefli.png

Re:How can you be fooled by the U+202E trick? (2013) by jcelerier on Wednesday February 16, 2022 @04:27PM (#30365940)
the idea of having to go in those damned menus one more time just to launch an app sends shivers down my spine. I already barely tolerate windows and macOS's prompts when downloading executables.
Re:How can you be fooled by the U+202E trick? (2013) by marcosdumay on Wednesday February 16, 2022 @10:43AM (#30361416)
Hum... How do you run it?

If it's from a GUI, file browsers have the capacity to that that bit too.