Skip to content

Commit

Permalink
Fixed x/gwx commands
Browse files Browse the repository at this point in the history
should be "x/wx", the "g" doesn't add anything
  • Loading branch information
Crypto-Cat authored Jun 27, 2022
1 parent 2084402 commit 0f281b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ctf_events/pico_gym/pwn/unsubscriptions_are_free/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,15 +234,15 @@ The chunk size is 16.
0x11 is 17, but the 1 is a flag to indicate the previous chunk is not free.

```sh
pwndbg> x/8gwx 0x95cd1a0 - 4
pwndbg> x/8wx 0x95cd1a0 - 4
0x95cd19c: 0x00000011 0x00000000 0x00000000 0x00000000
0x95cd1ac: 0x00021e59 0x00000000 0x00000000 0x00000000
```

We'll create a user "crypto" and check the chunk again.

```sh
pwndbg> x/8gwx 0x95cd1a0 - 4
pwndbg> x/8wx 0x95cd1a0 - 4
0x95cd19c: 0x00000011 0x080489f6 0x095ce1c0 0x00000000
0x95cd1ac: 0x00001011 0x70797263 0x000a6f74 0x00000000
```
Expand Down Expand Up @@ -300,7 +300,7 @@ otpyrc
We can check the chunk data again.

```sh
pwndbg> x/8gwx 0x95cd1a0 - 4
pwndbg> x/8wx 0x95cd1a0 - 4
0x95cd19c: 0x00000011 0x00000000 0x095cd010 0x00000000
0x95cd1ac: 0x00001011 0x70790a59 0x000a6f74 0x00000000
```
Expand Down

0 comments on commit 0f281b3

Please sign in to comment.