LoginSignup
0
0

More than 3 years have passed since last update.

picoCTF 2019 vault-door-6 - Points: 350

Posted at

問題

image.png

解いてみた

ソースを見てみます。

image.png

checkPasswordメソッドの中でtrueになるように頑張る問題です。

checkPasswordメソッドを見てみます。

image.png

入力した文字列のそれぞれのバイトをとって、それを0x55とxorした値がmyBytesと一緒ならOKという問題。
myBytes xor 0x55をやれば答えが出ますね。

pythonでこんな感じで作ります。

image.png

これを実行すると

image.png

答えが出ました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0