Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Focshole authored Dec 3, 2020
1 parent d474f42 commit 5b5ab1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plaidctf2020/jsonbourne/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ in particular this line:
if [[ "$((suffix > 0))" = "1" && "$((suffix <= 8))" = "1" ]]; then
```

after fuzzying around, we noticed that allows arithmetic assignment, by attempting to use this line:
after fuzzying around, we noticed that it allows arithmetic assignment, by providing as input this line:

```
{"task 1=12":"as"}
Expand All @@ -56,7 +56,7 @@ Which, after a more accurate analysis by @Zommiommy, could also be written as:
{"task _var_name_i=10":"};cat flag.txt;#
```

Curiously, changing the value of ` _var_name_i` could also cause the program to loop forever:
Surprisingly, changing the value of ` _var_name_i` could also cause the program to loop forever:
```
{"going":["down","task _var_name_i=10",{"the":"rabbit"},"hole"]}
```

0 comments on commit 5b5ab1f

Please sign in to comment.