Hacker News new | ask | show | jobs
by Negitivefrags 2246 days ago
This reminds me a lot of one of the original ways to run unsigned code on the Sony PSP.

If you made two directories:

    SomeApp
    SomeApp%
And then launch the folder with the % sign then the code that checks for valid signatures will check in the directory without the %, but the code that actually launches the binary will still run the code in the directory with the %.

So all you need to do is get any binary with a valid sig and put it in the SomeApp folder while putting the code you actually want to run in SomeApp%.

2 comments

Why did this happen? Was "%" significant in some way? i.e. maybe it was passing the path to sprintf?
Yep, that’s exactly it. And of course a lesson on why you need to understand the progeny of any string you pass as a format argument.
Any other PSP homebrew facts or resources you could share? The psp scene was my introduction to running modding.