Run linter on everything

This commit is contained in:
Al Azif
2025-06-05 22:38:15 -07:00
parent 93d812737d
commit c23ef56385
5 changed files with 185 additions and 186 deletions

View File

@@ -3,7 +3,7 @@ name: Build release
on: on:
push: push:
tags: tags:
- 'v*' # Only run when a tag like v1.0, v2.1.3, etc. is pushed - "v*" # Only run when a tag like v1.0, v2.1.3, etc. is pushed
jobs: jobs:
build: build:

View File

@@ -42,7 +42,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
- Changed to `-03` for execution speed optimization - Changed to `-03` for execution speed optimization
- 282 bytes to 345 bytes - 282 bytes to 345 bytes
## [1.5.1] - 2025-05-12 ## [1.5.1] - 2025-05-12
### Added ### Added
@@ -67,7 +67,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
- 257 bytes to 233 bytes. - 257 bytes to 233 bytes.
- Renamed/Formatted `CHANGELOG.md`, `README.md`, and `LICENSE` - Renamed/Formatted `CHANGELOG.md`, `README.md`, and `LICENSE`
## [1.5.0] - 2025-05-08 ## [1.5.0] - 2025-05-08
### Added ### Added
@@ -77,7 +77,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
- Rewrite PSFree exploit - Rewrite PSFree exploit
## [1.4.0](#) - 2024-01-25 ## [1.4.0](#) - 2024-01-25
### Added ### Added
@@ -89,7 +89,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
- Remove the risk of crashing from using `make_buffer()` - Remove the risk of crashing from using `make_buffer()`
- (PS5 < 3.00) use valid config at `exploit.mjs:setup_ssv_data` - (PS5 < 3.00) use valid config at `exploit.mjs:setup_ssv_data`
## [1.3.0](#) - ????-??-?? ## [1.3.0](#) - ????-??-??
### Added ### Added
@@ -103,20 +103,20 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
- Support for webkitgtk 2.34.4, see 1.0.0 for a working implementation - Support for webkitgtk 2.34.4, see 1.0.0 for a working implementation
## [1.2.0](#) - 2023-12-03 ## [1.2.0](#) - 2023-12-03
## Added ## Added
- Support for PS4 6.00-6.20 - Support for PS4 6.00-6.20
## [1.1.0](#) - ????-??-?? ## [1.1.0](#) - ????-??-??
### Added ### Added
- Support for running ROP chains (PS4 8.03) - Support for running ROP chains (PS4 8.03)
- Support for calling syscalls (PS4 8.03) - Support for calling syscalls (PS4 8.03)
## [1.0.0](#) - ????-??-?? ## [1.0.0](#) - ????-??-??
### Added ### Added

View File

@@ -4,28 +4,28 @@ PSFree is a collection of exploits for the PS4 console. The main focus of the re
## Features ## Features
* **Auto-detection:** Automatically detects console type and firmware version (via `src/config.mjs`). - **Auto-detection:** Automatically detects console type and firmware version (via `src/config.mjs`).
* **WebKit Exploit (PSFree):** Entry point via the console's web browser. - **WebKit Exploit (PSFree):** Entry point via the console's web browser.
* **Kernel Exploit (Lapse):** Escalates privileges to kernel level. - **Kernel Exploit (Lapse):** Escalates privileges to kernel level.
* **Payload Loader:** After successful kernel exploitation listens for a payload on port 9020. - **Payload Loader:** After successful kernel exploitation listens for a payload on port 9020.
## Vulnerability Scope ## Vulnerability Scope
| | PSFree | Lapse | | | PSFree | Lapse |
|:--------------|:----------|:-----------| | :------------ | :-------- | :--------- |
| PlayStation 4 | 6.00-9.60 | 1.01-12.02 | | PlayStation 4 | 6.00-9.60 | 1.01-12.02 |
| PlayStation 5 | 1.00-5.50 | 1.00-10.01 | | PlayStation 5 | 1.00-5.50 | 1.00-10.01 |
## Supported by this Repository ## Supported by this Repository
This table indicates firmware versions for which the *current version* of this repository provides a functional and tested exploit chain. This table indicates firmware versions for which the _current version_ of this repository provides a functional and tested exploit chain.
| | PSFree | Lapse | | | PSFree | Lapse |
|:--------------|:----------|:-----------| | :------------ | :-------- | :-------- |
| PlayStation 4 | 8.00-9.60 | 8.00-9.60 | | PlayStation 4 | 8.00-9.60 | 8.00-9.60 |
| PlayStation 5 | N/A | N/A | | PlayStation 5 | N/A | N/A |
*Note: Support for other firmwares listed in the "Vulnerability Scope" table may, or may not, be actively being worked on or may have been supported in previous versions of this repository. Please check `CHANGELOG.md` for historical support.* _Note: Support for other firmwares listed in the "Vulnerability Scope" table may, or may not, be actively being worked on or may have been supported in previous versions of this repository. Please check `CHANGELOG.md` for historical support._
## TODO List ## TODO List
@@ -40,8 +40,8 @@ AGPL-3.0-or-later (see [LICENSE](LICENSE)). This repo belongs to the group `anon
## Credits: ## Credits:
* anonymous for PS4 firmware kernel dumps - anonymous for PS4 firmware kernel dumps
* Check the appropriate files for any **extra** contributors. Unless otherwise stated, everything here can also be credited to us. - Check the appropriate files for any **extra** contributors. Unless otherwise stated, everything here can also be credited to us.
## Donations ## Donations

View File

@@ -16,149 +16,149 @@ You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
--> -->
<html> <html>
<head> <head>
<meta charset='utf-8'> <meta charset="utf-8" />
<title>About PSFree</title> <title>About PSFree</title>
</head> </head>
<body> <body>
PSFree is an exploit chain for PS4 and PS5.<br> PSFree is an exploit chain for PS4 and PS5.<br />
PSFree is free software. PSFree's license is GNU-AGPL-3.0-or-later.<br> PSFree is free software. PSFree's license is GNU-AGPL-3.0-or-later.<br />
Here is the source code of this program:<br> Here is the source code of this program:<br />
<br> <br />
HTML files:<br> HTML files:<br />
<a href='./index.html' download>index.html</a><br> <a href="./index.html" download>index.html</a><br />
<a href='./about.html' download>about.html</a><br> <a href="./about.html" download>about.html</a><br />
JavaScript files:<br> JavaScript files:<br />
<table id="jslicense-labels1"> <table id="jslicense-labels1">
<tr> <tr>
<td><a href="./alert.mjs">alert.mjs</a></td> <td><a href="./alert.mjs">alert.mjs</a></td>
<td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td> <td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td>
<td><a href="./alert.mjs" download>download</a></td> <td><a href="./alert.mjs" download>download</a></td>
</tr> </tr>
<tr> <tr>
<td><a href="./config.mjs">config.mjs</a></td> <td><a href="./config.mjs">config.mjs</a></td>
<td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td> <td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td>
<td><a href="./config.mjs" download>download</a></td> <td><a href="./config.mjs" download>download</a></td>
</tr> </tr>
<tr> <tr>
<td><a href="./lapse.mjs">lapse.mjs</a></td> <td><a href="./lapse.mjs">lapse.mjs</a></td>
<td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td> <td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td>
<td><a href="./lapse.mjs" download>download</a></td> <td><a href="./lapse.mjs" download>download</a></td>
</tr> </tr>
<tr> <tr>
<td><a href="./psfree.mjs">psfree.mjs</a></td> <td><a href="./psfree.mjs">psfree.mjs</a></td>
<td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td> <td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td>
<td><a href="./psfree.mjs" download>download</a></td> <td><a href="./psfree.mjs" download>download</a></td>
</tr> </tr>
<tr> <tr>
<td><a href="./send.mjs">send.mjs</a></td> <td><a href="./send.mjs">send.mjs</a></td>
<td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td> <td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td>
<td><a href="./send.mjs" download>download</a></td> <td><a href="./send.mjs" download>download</a></td>
</tr> </tr>
<tr> <tr>
<td><a href="./lapse/ps4/800.mjs">lapse/ps4/800.mjs</a></td> <td><a href="./lapse/ps4/800.mjs">lapse/ps4/800.mjs</a></td>
<td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td> <td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td>
<td><a href="./lapse/ps4/800.mjs" download>download</a></td> <td><a href="./lapse/ps4/800.mjs" download>download</a></td>
</tr> </tr>
<tr> <tr>
<td><a href="./lapse/ps4/850.mjs">lapse/ps4/850.mjs</a></td> <td><a href="./lapse/ps4/850.mjs">lapse/ps4/850.mjs</a></td>
<td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td> <td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td>
<td><a href="./lapse/ps4/850.mjs" download>download</a></td> <td><a href="./lapse/ps4/850.mjs" download>download</a></td>
</tr> </tr>
<tr> <tr>
<td><a href="./lapse/ps4/852.mjs">lapse/ps4/852.mjs</a></td> <td><a href="./lapse/ps4/852.mjs">lapse/ps4/852.mjs</a></td>
<td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td> <td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td>
<td><a href="./lapse/ps4/852.mjs" download>download</a></td> <td><a href="./lapse/ps4/852.mjs" download>download</a></td>
</tr> </tr>
<tr> <tr>
<td><a href="./lapse/ps4/900.mjs">lapse/ps4/900.mjs</a></td> <td><a href="./lapse/ps4/900.mjs">lapse/ps4/900.mjs</a></td>
<td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td> <td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td>
<td><a href="./lapse/ps4/900.mjs" download>download</a></td> <td><a href="./lapse/ps4/900.mjs" download>download</a></td>
</tr> </tr>
<tr> <tr>
<td><a href="./lapse/ps4/903.mjs">lapse/ps4/903.mjs</a></td> <td><a href="./lapse/ps4/903.mjs">lapse/ps4/903.mjs</a></td>
<td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td> <td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td>
<td><a href="./lapse/ps4/903.mjs" download>download</a></td> <td><a href="./lapse/ps4/903.mjs" download>download</a></td>
</tr> </tr>
<tr> <tr>
<td><a href="./lapse/ps4/950.mjs">lapse/ps4/950.mjs</a></td> <td><a href="./lapse/ps4/950.mjs">lapse/ps4/950.mjs</a></td>
<td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td> <td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td>
<td><a href="./lapse/ps4/950.mjs" download>download</a></td> <td><a href="./lapse/ps4/950.mjs" download>download</a></td>
</tr> </tr>
<tr> <tr>
<td><a href="./module/chain.mjs">module/chain.mjs</a></td> <td><a href="./module/chain.mjs">module/chain.mjs</a></td>
<td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td> <td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td>
<td><a href="./module/chain.mjs" download>download</a></td> <td><a href="./module/chain.mjs" download>download</a></td>
</tr> </tr>
<tr> <tr>
<td><a href="./module/int64.mjs">module/int64.mjs</a></td> <td><a href="./module/int64.mjs">module/int64.mjs</a></td>
<td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td> <td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td>
<td><a href="./module/int64.mjs" download>download</a></td> <td><a href="./module/int64.mjs" download>download</a></td>
</tr> </tr>
<tr> <tr>
<td><a href="./module/mem.mjs">module/mem.mjs</a></td> <td><a href="./module/mem.mjs">module/mem.mjs</a></td>
<td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td> <td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td>
<td><a href="./module/mem.mjs" download>download</a></td> <td><a href="./module/mem.mjs" download>download</a></td>
</tr> </tr>
<tr> <tr>
<td><a href="./module/memtools.mjs">module/memtools.mjs</a></td> <td><a href="./module/memtools.mjs">module/memtools.mjs</a></td>
<td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td> <td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td>
<td><a href="./module/memtools.mjs" download>download</a></td> <td><a href="./module/memtools.mjs" download>download</a></td>
</tr> </tr>
<tr> <tr>
<td><a href="./module/offset.mjs">module/offset.mjs</a></td> <td><a href="./module/offset.mjs">module/offset.mjs</a></td>
<td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td> <td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td>
<td><a href="./module/offset.mjs" download>download</a></td> <td><a href="./module/offset.mjs" download>download</a></td>
</tr> </tr>
<tr> <tr>
<td><a href="./module/rw.mjs">module/rw.mjs</a></td> <td><a href="./module/rw.mjs">module/rw.mjs</a></td>
<td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td> <td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td>
<td><a href="./module/rw.mjs" download>download</a></td> <td><a href="./module/rw.mjs" download>download</a></td>
</tr> </tr>
<tr> <tr>
<td><a href="./module/utils.mjs">module/utils.mjs</a></td> <td><a href="./module/utils.mjs">module/utils.mjs</a></td>
<td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td> <td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td>
<td><a href="./module/utils.mjs" download>download</a></td> <td><a href="./module/utils.mjs" download>download</a></td>
</tr> </tr>
<tr> <tr>
<td><a href="./module/view.mjs">module/view.mjs</a></td> <td><a href="./module/view.mjs">module/view.mjs</a></td>
<td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td> <td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td>
<td><a href="./module/view.mjs" download>download</a></td> <td><a href="./module/view.mjs" download>download</a></td>
</tr> </tr>
<tr> <tr>
<td><a href="./rop/ps4/800.mjs">rop/ps4/800.mjs</a></td> <td><a href="./rop/ps4/800.mjs">rop/ps4/800.mjs</a></td>
<td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td> <td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td>
<td><a href="./rop/ps4/800.mjs" download>download</a></td> <td><a href="./rop/ps4/800.mjs" download>download</a></td>
</tr> </tr>
<tr> <tr>
<td><a href="./rop/ps4/850.mjs">rop/ps4/850.mjs</a></td> <td><a href="./rop/ps4/850.mjs">rop/ps4/850.mjs</a></td>
<td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td> <td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td>
<td><a href="./rop/ps4/850.mjs" download>download</a></td> <td><a href="./rop/ps4/850.mjs" download>download</a></td>
</tr> </tr>
<tr> <tr>
<td><a href="./rop/ps4/900.mjs">rop/ps4/900.mjs</a></td> <td><a href="./rop/ps4/900.mjs">rop/ps4/900.mjs</a></td>
<td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td> <td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td>
<td><a href="./rop/ps4/900.mjs" download>download</a></td> <td><a href="./rop/ps4/900.mjs" download>download</a></td>
</tr> </tr>
<tr> <tr>
<td><a href="./rop/ps4/950.mjs">rop/ps4/950.mjs</a></td> <td><a href="./rop/ps4/950.mjs">rop/ps4/950.mjs</a></td>
<td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td> <td><a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td>
<td><a href="./rop/ps4/950.mjs" download>download</a></td> <td><a href="./rop/ps4/950.mjs" download>download</a></td>
</tr> </tr>
</table> </table>
kpatch/ files:<br> kpatch/ files:<br />
<a href="./kpatch/800.c">kpatch/800.c</a><br> <a href="./kpatch/800.c">kpatch/800.c</a><br />
<a href="./kpatch/850.c">kpatch/850.c</a><br> <a href="./kpatch/850.c">kpatch/850.c</a><br />
<a href="./kpatch/900.c">kpatch/900.c</a><br> <a href="./kpatch/900.c">kpatch/900.c</a><br />
<a href="./kpatch/903.c">kpatch/903.c</a><br> <a href="./kpatch/903.c">kpatch/903.c</a><br />
<a href="./kpatch/950.c">kpatch/950.c</a><br> <a href="./kpatch/950.c">kpatch/950.c</a><br />
<a href="./kpatch/Makefile">kpatch/Makefile</a><br> <a href="./kpatch/Makefile">kpatch/Makefile</a><br />
<a href="./kpatch/script.ld">kpatch/script.ld</a><br> <a href="./kpatch/script.ld">kpatch/script.ld</a><br />
<a href="./kpatch/types.h">kpatch/types.h</a><br> <a href="./kpatch/types.h">kpatch/types.h</a><br />
<a href="./kpatch/utils.h">kpatch/utils.h</a><br> <a href="./kpatch/utils.h">kpatch/utils.h</a><br />
fonts/ files:<br> fonts/ files:<br />
<a href="./fonts/FONTS.LICENSE">fonts/FONTS.LICENSE</a><br> <a href="./fonts/FONTS.LICENSE">fonts/FONTS.LICENSE</a><br />
<a href="./fonts/LiberationMono-Regular.ttf">fonts/LiberationMono-Regular.ttf</a><br> <a href="./fonts/LiberationMono-Regular.ttf">fonts/LiberationMono-Regular.ttf</a><br />
<a href="./fonts/README.txt">fonts/README.txt</a><br> <a href="./fonts/README.txt">fonts/README.txt</a><br />
</body> </body>
</html> </html>

View File

@@ -16,26 +16,25 @@ You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
--> -->
<html> <html>
<head> <head>
<meta charset='utf-8'> <meta charset="utf-8" />
<title>exploit</title> <title>exploit</title>
<style> <style>
@font-face { @font-face {
font-family: 'logging'; font-family: "logging";
src: url('./fonts/LiberationMono-Regular.ttf'); src: url("./fonts/LiberationMono-Regular.ttf");
} }
#console { #console {
font-family: 'logging'; font-family: "logging";
} }
</style> </style>
</head> </head>
<body> <body>
PSFree: A PS4/PS5 Exploit Chain<br> PSFree: A PS4/PS5 Exploit Chain<br />
Donation (Monero/XMR):<br> Donation (Monero/XMR):<br />
86Fk3X9AE94EGKidzRbvyiVgGNYD3qZnuKNq1ZbsomFWXHYm6TtAgz9GNGitPWadkS3Wr9uXoT29U1SfdMtJ7QNKQpW1CVS<br> 86Fk3X9AE94EGKidzRbvyiVgGNYD3qZnuKNq1ZbsomFWXHYm6TtAgz9GNGitPWadkS3Wr9uXoT29U1SfdMtJ7QNKQpW1CVS<br />
See <a href='./about.html' data-jslicense='1'>JavaScript license information</a> for the See <a href="./about.html" data-jslicense="1">JavaScript license information</a> for the source code and license.<br />
source code and license.<br> <pre id="console"></pre>
<pre id='console'></pre> </body>
</body> <script type="module" src="./alert.mjs"></script>
<script type='module' src='./alert.mjs'></script>
</html> </html>