How theofficialflow/pppwn works
PPPwn is a PlayStation 4 PPPoE kernel-exploit proof of concept. The user starts the Python runner on an Ethernet-connected host while initiating a PS4 network test; the runner performs PPPoE setup and exploit stages, then kernel stage1 receives and launches stage2, which displays “PPPwned.” Firmware-specific offsets support the host exploit and both kernel stages. The README describes the overall stage sequence; sampled source confirms key stage1-to-stage2 and notification behavior, but not every internal transition.
Main entry points: pppwn.py Exploit Runner · stage2.c Kernel Stage 2 · stage1.c Kernel Stage 1 · offsets.py Host Offsets
Components 17
Host Exploit
- Exploit Runner
pppwn.py - Host Offsets
offsets.py - PPPoE Setup
pppwn.py - Memory Corruption
pppwn.py - KASLR Defeat
pppwn.py - Initialization
pppwn.py - Stage 1 Exploit
pppwn.py - Stage 2 KASLR
pppwn.py - Stage 3 Execution
pppwn.py - Stage 4 Payload
pppwn.py
Kernel Payload
- Kernel Stage 1
stage1/stage1.c - Stage 1 Offsets
stage1/offsets.h - Kernel Stage 2
stage2/stage2.c - Stage 2 Offsets
stage2/offsets.h
Target Console
- PlayStation 4
- PPPwned Notification
stage2/stage2.c
Other components
- Operator
Connections 15
- Operator → Exploit Runner: starts exploit
README.md - Exploit Runner → Host Offsets: loads firmware offsets
pppwn.py - Operator → PlayStation 4: starts network test
README.md - Exploit Runner → PPPoE Setup: negotiates PPPoE
README.md - PPPoE Setup → Memory Corruption: precedes
README.md - Memory Corruption → KASLR Defeat: precedes
README.md - KASLR Defeat → Initialization: precedes
README.md - Exploit Runner → PlayStation 4: exchanges PPPoE packets
pppwn.py - Exploit Runner → Kernel Stage 1: triggers execution
README.md - Kernel Stage 1 → Stage 1 Offsets: uses firmware offsets
stage1/stage1.c - Kernel Stage 1 → Kernel Stage 2: receives and calls
stage1/stage1.c - Kernel Stage 2 → Stage 2 Offsets: uses firmware offsets
stage2/stage2.c - Exploit Runner → Kernel Stage 2: sends payload
README.md - Kernel Stage 2 → PPPwned Notification: writes notification
stage2/stage2.c - PPPwned Notification → PlayStation 4: displays proof
stage2/stage2.c