{"id":1,"date":"2023-10-10T01:53:20","date_gmt":"2023-10-10T01:53:20","guid":{"rendered":"https:\/\/blogs.oregonstate.edu\/nate\/?p=1"},"modified":"2023-10-10T16:03:14","modified_gmt":"2023-10-10T16:03:14","slug":"hello-world","status":"publish","type":"post","link":"https:\/\/blogs.oregonstate.edu\/nate\/2023\/10\/10\/hello-world\/","title":{"rendered":"Writeup: Inspect Yourself"},"content":{"rendered":"\n<p>&#8220;Boss told me to share my to-do list with everyone else to hold me accountable or something. He gave me an hour so I didn&#8217;t have time to check but hopefully I didn&#8217;t leave anything sensitive on there&#8230;&#8221;<\/p>\n\n\n\n<p>Spoiler alert: this developer failed to clean up properly! Let&#8217;s see what information we can find by inspecting the site source.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1006\" height=\"168\" src=\"https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/7407\/files\/2023\/10\/image-3.png\" alt=\"\" class=\"wp-image-12\" srcset=\"https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/7407\/files\/2023\/10\/image-3.png 1006w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/7407\/files\/2023\/10\/image-3-300x50.png 300w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/7407\/files\/2023\/10\/image-3-768x128.png 768w\" sizes=\"auto, (max-width: 1006px) 100vw, 1006px\" \/><\/figure>\n\n\n\n<p>Well, that was easy! First flag down just by inspecting the page&#8217;s source for comments! Time to root around for more interesting artifacts&#8230;<\/p>\n\n\n\n<p>There&#8217;s no other information in the source, but it seems a cookie is being stored with the very-unsuspicious name &#8220;notflag&#8221;. At first glance, its contents would seem to agree:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"802\" height=\"604\" src=\"https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/7407\/files\/2023\/10\/image.png\" alt=\"\" class=\"wp-image-7\" srcset=\"https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/7407\/files\/2023\/10\/image.png 802w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/7407\/files\/2023\/10\/image-300x226.png 300w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/7407\/files\/2023\/10\/image-768x578.png 768w\" sizes=\"auto, (max-width: 802px) 100vw, 802px\" \/><\/figure>\n\n\n\n<p>However, it&#8217;s the best lead so far! What happens if we try mutating the value string using some basic procedures? Perhaps a tool like <a href=\"http:\/\/www.cyberchef.io\">http:\/\/www.cyberchef.io<\/a> could help.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"414\" src=\"https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/7407\/files\/2023\/10\/image-2-1024x414.png\" alt=\"\" class=\"wp-image-9\" srcset=\"https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/7407\/files\/2023\/10\/image-2-1024x414.png 1024w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/7407\/files\/2023\/10\/image-2-300x121.png 300w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/7407\/files\/2023\/10\/image-2-768x310.png 768w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/7407\/files\/2023\/10\/image-2-1536x621.png 1536w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/7407\/files\/2023\/10\/image-2-2048x827.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Thank goodness for tools like these! The second challenge is complete now too!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;Boss told me to share my to-do list with everyone else to hold me accountable or something. He gave me an hour so I didn&#8217;t have time to check but hopefully I didn&#8217;t leave anything sensitive on there&#8230;&#8221; Spoiler alert: this developer failed to clean up properly! Let&#8217;s see what information we can find by [&hellip;]<\/p>\n","protected":false},"author":13952,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.oregonstate.edu\/nate\/wp-json\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.oregonstate.edu\/nate\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.oregonstate.edu\/nate\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/nate\/wp-json\/wp\/v2\/users\/13952"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/nate\/wp-json\/wp\/v2\/comments?post=1"}],"version-history":[{"count":3,"href":"https:\/\/blogs.oregonstate.edu\/nate\/wp-json\/wp\/v2\/posts\/1\/revisions"}],"predecessor-version":[{"id":14,"href":"https:\/\/blogs.oregonstate.edu\/nate\/wp-json\/wp\/v2\/posts\/1\/revisions\/14"}],"wp:attachment":[{"href":"https:\/\/blogs.oregonstate.edu\/nate\/wp-json\/wp\/v2\/media?parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/nate\/wp-json\/wp\/v2\/categories?post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/nate\/wp-json\/wp\/v2\/tags?post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}