{"id":4841,"date":"2023-11-22T19:24:20","date_gmt":"2023-11-22T10:24:20","guid":{"rendered":"https:\/\/www.photoguraphy.com\/?p=4841"},"modified":"2023-11-22T19:34:45","modified_gmt":"2023-11-22T10:34:45","slug":"picoctf-python-wrangling-%ed%92%80%ec%9d%b4","status":"publish","type":"post","link":"https:\/\/www.photoguraphy.com\/?p=4841","title":{"rendered":"[picoCTF] Wave a flag \ud480\uc774"},"content":{"rendered":"<p>\uc870\ud68c\uc218: 10<\/p><h2>\ubb38\uc81c<\/h2>\n<p><code>Python scripts are invoked kind of like programs in the Terminal... Can you run this Python script using this password to get the flag?<\/code><\/p>\n<hr \/>\n<p>\uae30\ubcf8\uc801\uc778 \ud30c\uc774\uc36c \uc0ac\uc6a9 \ubb38\uc81c. \uc77c\ub2e8 ende.py, flag.txt.en, pw.txt \ud30c\uc77c\uc744 \ubaa8\ub450 \ub2e4\uc6b4 \ubc1b\uc790.<\/p>\n<pre><code class=\"language-bash line-numbers\">\u276f python3 .\/ende.py\nUsage: ende.py (-e\/-d) [file]\n<\/code><\/pre>\n<p>\ud30c\uc774\uc36c\uc73c\ub85c \uc2e4\ud589\ud574 \ubcf4\uba74 \uae30\ubcf8\uc801\uc778 \uc0ac\uc6a9\ubc95 \uc548\ub0b4\uac00 \ub098\uc628\ub2e4.<\/p>\n<p>-e, -d \uc635\uc158\uc774 \uc788\ub294\ub370 \ub531 \ubd10\ub3c4 \uc778\ucf54\ub529, \ub514\ucf54\ub529\uc744 \uc120\ud0dd\ud558\ub294 \uc635\uc158\uc778 \ub4ef.<\/p>\n<p>\ud544\uc694\ud55c\uac74 \ub514\ucf54\ub529\uc774\ub2c8 -d \uc635\uc158\uc5d0 \ud50c\ub798\uadf8\ud30c\uc77c\uc744 \ubd88\ub7ec\uc640 \ubcf4\uc790.<\/p>\n<pre><code class=\"language-bash line-numbers\">\u276f python3 ende.py -d flag.txt.en\nPlease enter the password:\n<\/code><\/pre>\n<p>\ud328\uc2a4\uc6cc\ub97c \uc785\ub825\ud558\ub77c\uace0 \ud558\ub294\ub370 \ub2e4\uc6b4\ubc1b\uc544 \ub480\ub358 pw.txt \ud30c\uc77c\uc758 \ub0b4\uc6a9\uc744 \ubcf5\uc0ac\ud574\uc11c \ubd99\uc5ec\ub123\uc73c\uba74 \ub05d.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc870\ud68c\uc218: 10\ubb38\uc81c Python scripts are invoked kind of like programs in the Terminal... Can you run this Python script using this password to get the flag? \uae30\ubcf8\uc801\uc778 \ud30c\uc774\uc36c \uc0ac\uc6a9 \ubb38\uc81c. \uc77c\ub2e8 ende.py, flag.txt.en, pw.txt \ud30c\uc77c\uc744 \ubaa8\ub450 \ub2e4\uc6b4 \ubc1b\uc790. \u276f python3 .\/ende.py Usage: ende.py (-e\/-d) [file] \ud30c\uc774\uc36c\uc73c\ub85c \uc2e4\ud589\ud574 \ubcf4\uba74 \uae30\ubcf8\uc801\uc778 \uc0ac\uc6a9\ubc95 \uc548\ub0b4\uac00 \ub098\uc628\ub2e4. -e, -d \uc635\uc158\uc774&hellip;<a href=\"https:\/\/www.photoguraphy.com\/?p=4841\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">[picoCTF] Wave a flag \ud480\uc774<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[54,53],"class_list":["post-4841","post","type-post","status-publish","format-standard","hentry","category-computer","tag-ctf","tag-picoctf"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.photoguraphy.com\/index.php?rest_route=\/wp\/v2\/posts\/4841","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.photoguraphy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.photoguraphy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.photoguraphy.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.photoguraphy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4841"}],"version-history":[{"count":3,"href":"https:\/\/www.photoguraphy.com\/index.php?rest_route=\/wp\/v2\/posts\/4841\/revisions"}],"predecessor-version":[{"id":4851,"href":"https:\/\/www.photoguraphy.com\/index.php?rest_route=\/wp\/v2\/posts\/4841\/revisions\/4851"}],"wp:attachment":[{"href":"https:\/\/www.photoguraphy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4841"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.photoguraphy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4841"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.photoguraphy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4841"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}