Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
a0zhar committed Mar 6, 2023
1 parent 8eae9a5 commit d87af40
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
# PS4ROP
# A Simpler Way of Dumping Modules Needed for Sleirsgoevy's ROP Compiler

I encountered difficulties with Sleirsgoevy's method when attempting to dump the necessary modules for setting up the ROP compiler.<br>
Despite following the instructions in the Python file, I was unable to access the required port on my PS4 browser.
I encountered difficulties with Sleirsgoevy's method when attempting to dump the necessary modules for setting up the ROP compiler. Despite following the instructions shown after running the `make` command, I was unable to access the "supposedly" hosted page on the specified port when navigating on the PS4 browser.

To resolve this, I examined Sleirsgoevy's approach and reconstructed it entirely using JavaScript, a language that I find to be superior to Python.<br>
This revised approach has been successful for me, and I am pleased to share it with others who may be struggling to dump the required modules.
To resolve this, I examined Sleirsgoevy's approach when dumping the module and remade it entirely using JavaScript, a language that is superior to Python. This revised approach has been successful for me, and I am pleased to share it with others who may be struggling to dump the required modules.

With this solution, simply modify the filename inside the server.js JavaScript file to match the module you want to dump.
For example, if you want to dump the Webkit module, rename the file to Webkit.bin. ![](https://i.imgur.com/dSa7M31.png)
With this solution, follow these simple steps shown below:
- **Step 1:**
- Install the latest version of Node.js (*this is required by the server*)
- Run the **setup.bat** batch file (*to install the required node modules*).
- **Step 2:**
- Run the **startServer.bat** batch file (*this server receives data being sent from the page and writes it to the respective module file on your computer*)
- Go to "dumper.js" and edit the hostIP variable value to match your computer's IP Address (*where the server is running*)
- Run Ali-Azif's Exploit Self Host Executable (*To host the exploit page where you can dump modules from*)
- **Step 3:**
- Press the button corresponding to the module you wish to dump, and the server/page will take care of everything for you. :)<br>
*Please do not touch the controller until you see the message "[+] modulename successfully dumped!".*

The process is similarly straightforward for other modules, such as libkernel.
This approach has been successful for me and should be similarly effective for others experiencing issues with dumping the necessary modules.
The dumping process is fully automated :)

After changing the filename, press the corresponding button on the page:![](https://i.imgur.com/12vceIo.png) and the module dumping function will automatically initiate, sending data to the server in chunks via the JavaScript WebSocket API. The server will then write this data to a file with the specified name.

It is essential to note that the server.js file requires the IP and port of the computer running the server. ![](https://i.imgur.com/xxiWpmj.png) Additionally, the buffer sizes have already been defined as variables, and the dumping process is fully automated.

You can easily host yourself on your PS4 by visiting the appropriate page. I have also included Ali Azif's exploit self-host executable to simplify the hosting process. Please keep in mind that the server runs on node.js, so ensure that you have installed node.js before running the server.

Overall, this approach has been successful for me and should be similarly effective for others experiencing issues with dumping the necessary modules.
## If you have any questions or need help dumping the modules,<br>please contact me over at Discord: a0zhar#9539

0 comments on commit d87af40

Please sign in to comment.