Main folder Directory
Moderators: Shine, Insert_witty_name
Main folder Directory
Can you go all the way back into the PSP's MS within your game? I have been snooping around but nothing seems to allow me to go back out of the game folder to enter the area of lets say Pictures. Is there a way to do this?
Lowser has the ability to do this by pressing 'X' to go to the parent dir.
If you want to set the directory within your program, I believe its:
System.currentDirectory(directory)
Check in the functions.txt, if its not there, look in the Lowser source code.
BTW, you can access:
ms0:/
fatms:/ (I think thats what its called....)
flash0:/
flash1:/
And Shine, if your reading this, could you answer me a question?
Would it be possible to make a bricking program out of luaplayer?
All you would do is write to a system file in flash0:!
However, I don't know if you protected writing to the flash...and im surely not going to test it.
If you havent protected flash access, then writing should be possible.
I noticed that the UMD drive is not accessable.
In other words, you should protect flash access, and if you havent, flash writing.
If you want to set the directory within your program, I believe its:
System.currentDirectory(directory)
Check in the functions.txt, if its not there, look in the Lowser source code.
BTW, you can access:
ms0:/
fatms:/ (I think thats what its called....)
flash0:/
flash1:/
And Shine, if your reading this, could you answer me a question?
Would it be possible to make a bricking program out of luaplayer?
All you would do is write to a system file in flash0:!
However, I don't know if you protected writing to the flash...and im surely not going to test it.
If you havent protected flash access, then writing should be possible.
I noticed that the UMD drive is not accessable.
In other words, you should protect flash access, and if you havent, flash writing.
-
- Posts: 32
- Joined: Tue Jan 25, 2005 3:10 am
That's not quite correct, because in theory a Lua script could write to the EBOOT.PBP and then after restarting Lua Player, the program could do everything. For a protection, the physicsfs system should be implemented, because then it is easy to restrict write access.Dark Killer wrote:LuaPlayer can only read from the flash memory, it can't right to it.
I doubt posting security issues and "how to fuck up your/other people's psp 101" theory in a forum is a really good idea Shine =)Shine wrote:That's not quite correct, because in theory a Lua script could write to the EBOOT.PBP and then after restarting Lua Player, the program could do everything. For a protection, the physicsfs system should be implemented, because then it is easy to restrict write access.Dark Killer wrote:LuaPlayer can only read from the flash memory, it can't right to it.
Proud Dvorak User
US 1.5 PSP (Original)
US 1.5 PSP (Original)
I don't like security through obsurity, it is better to state clearly security issues and then solve it. And it might help to prevent bricking a PSP, because now someone can search for, maybe dangerous, write commands in scripts, before starting an unknown script.Zenurb wrote:I doubt posting security issues and "how to fuck up your/other people's psp 101" theory in a forum is a really good idea Shine =)