-
Notifications
You must be signed in to change notification settings - Fork 0
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
解答 #2
Comments
自分は次のような流れでした。最初は
|
私の場合 とりあえずコレ実行しろってあるからDockerイメージ起動するかあ
なんだこれ、実行バイナリしかないな。とりあえずMEMO見よ。
なんだこれ!!!煽りか!!!!!とりあえずバイナリ実行してみるか。
は????ノーヒントじゃん!!!どうせ文字列比較してんだろ??じゃあもう
とりあえずなんか "Enter your answer 答えを入力してください:" という文字列で聞いてるからその前後とかにあるんじゃないの?ということで
え、なんか "question" とか書いてあるし、これさっき @pongzu さんが発表してたやつじゃん。あのISOの番号なんだっけ? これ を見る。
|
ファイルの確認。
どういうファイルか確認。MEMOは
MEMOの内容確認。
ほう。一旦実行ファイルを動かしてみる。
何かを比較している気がするので
これはアレねという事で以下でクリア。
|
だいたいみなさんと同じ方法でした。 そこまで難易度高くないだろうから、きっとバイナリに埋まってると決め打ちして、 ざっと眺めてたら運良く |
力づくでガチャガチャやったらノーヒントで解けました
何かキラッと光る金塊を発見 ヒントの英文をググったら答えがあった |
以下の思考で調べました。 まずはMEMOを見てみよう。 root@9a9d8bafa1ef:/go/src/app# cat MEMO
何回失敗しても諦めないで!
Don't give up no matter how many times you fail! はい。ではいったん動かしてみよう。 root@9a9d8bafa1ef:/go/src/app# ./gocon2021_office_hour
Enter your answer 答えを入力してください: なるほど...ファイル自体を調べないと。 root@9a9d8bafa1ef:/go/src/app# file gocon2021_office_hour
bash: file: command not found ない。ないけど go のバイナリであることは問題内容から自明なのでまあいいか...。strings で回答ぽいもの埋め込まれていないか見てみよう。 root@9a9d8bafa1ef:/go/src/app# strings gocon2021_office_hour | less
bash: less: command not found おっと root@9a9d8bafa1ef:/go/src/app# strings gocon2021_office_hour | more
xxxxxxxxxxxx
xxxxxxxxxxxx
xxxxxxxxxxxx
... 長いな...。ではここでこの問題は比較的短時間で解くことができるようお膳立てされているゲームと考える。回答につながるかもしれないそれっぽいキーワード、 root@9a9d8bafa1ef:/go/src/app# strings gocon2021_office_hour | grep -i kanmu
github.com/kanmu/gocon_2021_kanmu.(*LetsRunThisCommand_strings_gocon2021_office_hour_grep_question).Run なんかあった。ではそのように。 root@9a9d8bafa1ef:/go/src/app# strings gocon2021_office_hour | grep question
P*gocon_2021_kanmu.LetsRunThisCommand_strings_gocon2021_office_hour_grep_question
************* question: what is the international standard of credit card messaging? The answer is ISOxxxx *************** 発見。クリア |
以下の手順でした。だいたい誘導されたとおりに解いたと思います!楽しかったです!
|
#1 の続きです
とりあえず go tool nm のシグネチャが わからないぞ?
ほうファイルを渡せばいいのか。とりあえず gocon2021_office_hour をわたしてみるか
なんか大量に出てきたぞ?
grep っていってたからこのなかからなにか取り出すのか…?
うーんとりあえず gocon とかでみてみるか
ん…? LetsRunThisCommand_strings_gocon2021_office_hour_grep_question
おお!Let's Run This Command!?これはあやしい!
strings_gocon2021_office_hour_grep_question を実行するんだろうけど…
gocon2021_office_hour はリポジトリ名で grep はたぶんあの grep だとすると strings ってなんだ?
(ぐぐってみたら)strings っていうコマンドあるやんけ!
ん?おおおおお
question: what is the international standard of credit card messaging? The answer is ISOxxxx
これか!ISOxxxx が答えっぽいけど、英語わらないから
what is the international standard of credit card messaging ISO
で検索してみよお、ISO8583 っていうのが出てきた!これが答えか!
最後のメッセージはご自身で確認してみてください 🏅
The text was updated successfully, but these errors were encountered: