Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: 💡 Ignore initial PS4 PPOE requests to increase the chances of the exploit working #48

Merged

Conversation

maatthc
Copy link
Contributor

@maatthc maatthc commented May 5, 2024

Tested on firmware 10.50 - Model CUH-1102A, Debian 11 with IPV6 enabled (might IPV4 only be a problem?)
My initial tests showed that it would fail 80% of the time but be successful eventually - Great job there for all of you involved! Making it work is a masterpiece! I really appreciate you effort and envy your talent.

Without discarding the first requests of PPPoe from the PS4, the injection would fail the first 5x and work twice after that. And reset after it.
Discarding 6 to 8 from the first attempts from the PS4 shown very effective, at least in the version of the system I have.
Discarding 6 packages shown to make to glitch work on the first time, every time..
Waiting for the popup "Cannot connect to network: (NW-31274-7)" is very important between tests..

README.md Outdated

If the exploit fails or the PS4 crashes, you can skip the internet setup and simply click on `Test Internet Connection`. If the `pppwn.py` script is stuck waiting for a request/response, abort it and run it again on your computer, and then click on `Test Internet Connection` on your PS4.
- Now, simultaneously press the 'X' button on your controler on `Test Internet Connection` and 'Enter' on your keyboard (on the computer you have your Python script ready to run).
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Controler typo

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maatthc Ironically, I never go to the Test Internet Connection page, I unplug/replug the ethernet cable on every attempt. Works like a charm.

pppwn.py Outdated
num_ignored_reqs = 0
print('[*] Ignoring initial {} PS4 requests..'.format(num_reqs_to_ignore))
while num_ignored_reqs < num_reqs_to_ignore:
pkt = self.s.recv()
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are those PADI requests that we're ignoring?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.. there is timing issue somewhere but is seems to "alleviate" the problem..

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then add this to the loop below that checks for PADI

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@se2crid
Copy link
Contributor

se2crid commented May 6, 2024

can this be merge?

@TheOfficialFloW TheOfficialFloW merged commit ae0597e into TheOfficialFloW:master May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants