Skip to content

Commit

Permalink
Add more in the readme and in parser
Browse files Browse the repository at this point in the history
  • Loading branch information
fedebuonco committed Oct 16, 2024
1 parent e117b57 commit 81ab184
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,31 @@
# YAPPPWN

A (subpar) Rust rewrite of PPPwn exploit - PlayStation 4 PPPoE RCE by theflow [here](https://github.com/TheOfficialFloW/PPPwn)

Made for fun and learning Rust, feel free to contribute.

## Run Locally

Download the last release and then run it

```
Usage: yapppwn --interface <INTERFACE>
YAPPPWN, Yet Another PPPwn (in Rust)
Usage: yapppwn --interface <INTERFACE> --fw <FW>
Options:
-i, --interface <INTERFACE>
-i, --interface <INTERFACE> Interface where the ps4 is connected to
--fw <FW> Firmware version from 1100 (11.00) to 900 (9.00)
-h, --help Print help
-V, --version Print version
```

## FAQ

#### Why?

To learn Rust

#### Why did you use X and not Y?
#### Why did you use X and not Y?

I am learning, if Y is better than X please do open a pull request and explain :)

Expand Down
1 change: 0 additions & 1 deletion src/exploit/tests.rs

This file was deleted.

6 changes: 5 additions & 1 deletion src/parser.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
use clap::Parser;

#[derive(Parser, Debug)]
#[command(about, long_about = None)]
#[command(version, about="YAPPPWN, Yet Another PPPwn (in Rust)", long_about = None)]
pub struct Args {
/// Interface where the ps4 is connected to
#[arg(short, long)]
pub interface: String,
/// Firmware version from 1100 (11.00) to 900 (9.00)
#[arg(long)]
pub fw: u32,
}

pub fn get_args() -> Args {
Expand Down

0 comments on commit 81ab184

Please sign in to comment.