11# ps4sdk-examples
2- Examples and prove of concepts which show something realized with ps4sdk (not necessarily unique to the PS4)
2+ Examples, showcases and prove-of- concepts which show something realized with ps4sdk (not necessarily unique to the PS4)
33
44## Examples
5- * ` libless ` - These do not use any library functions (not even the sdk) and are good for initial tests
6- * ` posix ` - These purely use posix and standard C APIs and should run under any such system
5+ * ` libless ` - These do not use any library functions (not even the sdk) and are good for initial tests or when something breaks
6+ * ` posix ` - These solely use posix and standard C APIs and should run under any such system
77* ` freebsd ` - These are pure freebsd examples (and should work there too)
88* ` sce ` - These showcase SCE functions
99* ` ps4sdk ` - These are user space programs which use the sdks own (common) capabilities
1010* ` kernel ` - These are showing something we can do in the kernel using the sdk
11- * ` failures ` - These corner-cases noteworthyly do not work (but could be expected to)
11+ * ` failures ` - These are corner-cases, which noteworthyly do not work (but could be expected to by somebody )
1212
1313## Noteworthy
1414* ` freebsd/dirent ` displays the fs and can be run after you use another elf to escalate your privileges
15- * ` ps4sdk/kernel_execute ` shows how to do enter the kernel from user space on your own (it's likely less
16- convenient and useful then a kernel payload, but has a use-case too ).
15+ * ` ps4sdk/kernel_execute ` shows how to enter the kernel from user space on your own (it's likely less
16+ convenient and useful then a kernel payload, but has its use-case).
1717* ` ps4sdk/system_call_hook ` shows how to temporarily hook from user space. Be aware, that when your program
18- exits, your resources (all functions and data) will be gone too. ** Be sure to unlink** these user space resources
19- from the kernel. A kernel payload that never ends (sleep on a mutex) is more likely to be useful and stable
18+ exits, your resources (all functions and data) will be freed too. ** Be sure to unlink** any of these user space resources
19+ from the kernel before you exit main . A kernel payload that never ends (sleep on a mutex) is more likely to be useful and stable
2020for any long term or persistent (module like) modifications. See ` kernel/system_call ` for comparison.
2121* ` kernel/system_call_hook ` , ` kernel/function_hook ` print the same descriptor all the time. That's not a bug,
2222it's what actually happens. Press the options button to see changes. To influence the return values, use a post
@@ -26,5 +26,5 @@ connect and restart the browser.
2626## Important
2727The exploit may not always enter the kernel on the first try. If you browser crashes,
2828simply try again. It's likely to work. This will be tuned in the future as much as possible.
29- Especially after you crashed your kernel, this is very common (down right normal) because the
29+ Especially after you crashed your kernel, this behaviour is very common (down right normal) because the
3030initial resource allocation differs.
0 commit comments