4 ms·
Now that I live in Japan, I've come to learn that for Japanese Windows users, seeing the ¥ symbol as a path separator is normal, it isn't a quirk or a bug. In f
by awirth 5y ago
Now that I live in Japan, I've come to learn that for Japanese Windows users, seeing the ¥ symbol as a path separator is normal, it isn't a quirk or a bug. In fact, IIRC the copy machine in the closest convenience store shows a ¥ as the path separator when browsing a USB drive, even though I'm almost certain it's not running Windows.
A few years back, I wrote a CTF challenge around this quirk of SHIFT_JIS. It used a python MySQLdb connection set to SHIFT_JIS mode and a custom naïve mysql escape function. The trick was to use a yen symbol and have it get interpreted as an unescaped backslash, leading to a SQL injection. Also it was all over websockets just to be annoying.
There's a few nice writeups from it:
https://www.kernelpicnic.net/2016/03/06/BKPCTF-Wonderland-Good-Morning-Write-Up.html https://www.kernelpicnic.net/2016/03/06/BKPCTF-Wonderland-Go...
https://0day.work/boston-key-party-ctf-2016-writeups/ https://0day.work/boston-key-party-ctf-2016-writeups/
https://security.szurek.pl/en/boston-key-party-ctf-2016-good-morning-and-optiproxy-writeup/ https://security.szurek.pl/en/boston-key-party-ctf-2016-good... (this one has the original challenge source)
- emodendroket 5y agoI mean, yeah, it's been that way for decades. Why wouldn't they see it as normal?
- Tagbert 5y agoIt may be running Windows CE
- thisisnico 5y agoWe have a Toshiba CNC machine at our shop that enters paths like this on the controller, always wondered why; now I know.
- ensiferum 5y agoBut you can always just use a different layout for your keyboard. So eve with a keyboard with physical key engravings in Japanese you could just use a US layout.
- signal11 5y ago> seeing the ¥ symbol as a path separator is normal Also for people working in many Japanese MNCs.