{"id":45373,"date":"2020-03-02T14:43:25","date_gmt":"2020-03-02T06:43:25","guid":{"rendered":"http:\/\/4563.org\/?p=45373"},"modified":"2020-03-02T14:43:25","modified_gmt":"2020-03-02T06:43:25","slug":"%e5%88%a9%e7%94%a8%e8%85%be%e8%ae%af%e4%ba%91%e6%97%a0%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%87%bd%e6%95%b0%e8%bf%9b%e8%a1%8c%e6%9c%ba%e5%9c%ba%e5%9c%a8%e7%ba%bf%e5%80%bc%e6%9c%ba%ef%bc%81","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=45373","title":{"rendered":"\u5229\u7528\u817e\u8baf\u4e91\u65e0\u670d\u52a1\u5668\u51fd\u6570\u8fdb\u884c\u673a\u573a\u5728\u7ebf\u503c\u673a\uff01"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>34995549<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>\u5229\u7528\u817e\u8baf\u4e91\u65e0\u670d\u52a1\u5668\u51fd\u6570\u8fdb\u884c\u673a\u573a\u5728\u7ebf\u503c\u673a\uff01<\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 34995549 \u4e8e 2020-3-2 14:40 \u7f16\u8f91 <\/p>\n<p> \u5229\u7528\u817e\u8baf\u4e91\u65e0\u51fd\u6570\u529f\u80fd\u8fdb\u884c\u673a\u573a\u5728\u7ebf\u503c\u673a\uff08\u7b7e\u5230\uff09\uff0c\u5efa\u8bae\u5b9a\u65f6\u89e6\u53d1cron\u8868\u8fbe\u5f0f\uff1a0 0 6 * * * *<\/p>\n<p>  \u4ee3\u7801#\u5f15\u5165\u76f8\u5173\u5e93\u6587\u4ef6<br \/>  import requests,json<\/p>\n<p>  #\u65b0\u5efa\u4e00\u4e2a\u5bf9\u8bdd<br \/>  session = requests.session()<\/p>\n<p>  #\u673a\u573a\u5730\u5740\u5217\u8868\uff0c\u53ef\u653e\u5165\u591a\u4e2a\u4f7f\u7528\u540c\u6a21\u677f\u673a\u573a\u5b9e\u73b0\u591a\u4e2a\u673a\u573a\u7b7e\u5230<br \/>  url_login = [&#8216;https:\/\/\u673a\u573a1.com&#8217;,&#8217;https:\/\/\u673a\u573a2.com&#8217;,&#8217;https:\/\/\u673a\u573a3.com&#8217;,&#8217;https:\/\/https:\/\/\u673a\u573a4.com&#8217;]<br \/>  #\u8d26\u53f7\u5bc6\u7801\u5217\u8868<br \/>  user_password = [<br \/>  &nbsp; &nbsp; {<br \/>  &nbsp; &nbsp; &#8217;email&#8217;: &#8216;\u673a\u573a1\u8d26\u53f7&#8217;,<br \/>  &nbsp; &nbsp; &#8216;passwd&#8217;: &#8216;\u673a\u573a1\u5bc6\u7801&#8217;,<br \/>  &nbsp; &nbsp; &#8216;code&#8217;: &#8221;<br \/>  &nbsp; &nbsp; },{<br \/>  &nbsp; &nbsp; &#8217;email&#8217;: &#8221;,<br \/>  &nbsp; &nbsp; &#8216;passwd&#8217;: &#8221;,<br \/>  &nbsp; &nbsp; &#8216;code&#8217;: &#8221;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; <br \/>  &nbsp; &nbsp; },{<br \/>  &nbsp; &nbsp; &#8217;email&#8217;: &#8221;,<br \/>  &nbsp; &nbsp; &#8216;passwd&#8217;: &#8221;,<br \/>  &nbsp; &nbsp; &#8216;code&#8217;: &#8221;<br \/>  &nbsp; &nbsp; },{<br \/>  &nbsp; &nbsp; &#8217;email&#8217;: &#8221;,<br \/>  &nbsp; &nbsp; &#8216;passwd&#8217;: &#8221;,<br \/>  &nbsp; &nbsp; &#8216;code&#8217;: &#8221;<br \/>  &nbsp; &nbsp; },<br \/>  ]<\/p>\n<p>  #\u767b\u5f55\u51fd\u6570<br \/>  def log_in(url,data):<br \/>  &nbsp; &nbsp; url_1 = url + &#8216;\/auth\/login&#8217;<br \/>  &nbsp; &nbsp; headers = {<br \/>  &nbsp; &nbsp; &#8216;Origin&#8217;: url,<br \/>  &nbsp; &nbsp; &#8216;referer&#8217;:url_1,<br \/>  &nbsp; &nbsp; &#8216;User-Agent&#8217;: &#8216;Mozilla\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\/535.1 (KHTML, like Gecko) Chrome\/14.0.835.163 Safari\/535.1&#8217;,<br \/>  &nbsp; &nbsp; &#8216;x-requested-with&#8217;: &#8216;XMLHttpRequest&#8217;&nbsp; &nbsp;<br \/>  &nbsp; &nbsp; }<br \/>  &nbsp; &nbsp; data = data<br \/>  &nbsp; &nbsp; login_log = session.post(url_1, headers=headers, data=data)<\/p>\n<p>  # \u7b7e\u5230\u51fd\u6570<br \/>  def sign(url,i):<br \/>  &nbsp; &nbsp; url_2 = url + &#8216;\/user\/checkin&#8217;<br \/>  &nbsp; &nbsp; headers_2 = {<br \/>  &nbsp; &nbsp; &#8216;Origin&#8217;: url,<br \/>  &nbsp; &nbsp; &#8216;referer&#8217;: url + &#8216;\/user&#8217;,<br \/>  &nbsp; &nbsp; &#8216;User-Agent&#8217;: &#8216;Mozilla\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\/535.1 (KHTML, like Gecko) Chrome\/14.0.835.163 Safari\/535.1&#8217;&nbsp; &nbsp;<br \/>  &nbsp; &nbsp; }<\/p>\n<p>  &nbsp; &nbsp; res_2 = session.post(url_2,headers = headers_2)<br \/>  &nbsp; &nbsp; res_2_json = res_2.text<br \/>  &nbsp; &nbsp; res_2_dict = json.loads(res_2_json)<br \/>  &nbsp; &nbsp; #\u663e\u793a\u7b7e\u5230\u83b7\u53d6\u4e86\u591a\u5c11\u6d41\u91cf<br \/>  &nbsp; &nbsp; print(&quot;\u673a\u573a{}\uff1a{}&quot;.format(i,res_2_dict[&#8216;msg&#8217;]))<br \/>  &nbsp; &nbsp; data = {<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&#8216;text&#8217;: &#8216;\u7f51\u7ad9%d,%s&#8217; % (i, res_2_dict[&#8216;msg&#8217;]),<br \/>  &nbsp; &nbsp; }<br \/>  &nbsp; &nbsp; requests.post(&#8216;https:\/\/sc.ftqq.com\/\u65b9\u7cd6\u79d8\u94a5.send&#8217;, data=data)<\/p>\n<p>  # \u4e3b\u51fd\u6570<br \/>  def main_handler(event, context):<br \/>  &nbsp; &nbsp; for i in range(len(url_login)):<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;log_in(url_login,user_password)<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;sign(url_login,i)<br \/>  &nbsp; &nbsp; return(&quot;Hello World&quot;)  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>Josephus<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5728\u7ebf\u503c\u673a\u53ef\u6d77\u661f\uff0c\u6c42\u4e2a\u822a\u73ed\u5217\u8868\uff08\u624b\u52a8\u72d7\u5934\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>Effervescence<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u673a\u573a\u8868\u793a\u745f\u745f\u53d1\u6296\u3002\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>_____________Cc<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t \u987a\u4fbf\u6c42\u822a\u73ed\u5217\u8868:lol&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; https:\/\/s2.ax1x.com\/2020\/02\/27\/30hyef.gif\u2014\u2014\u6765\u81ea\u697c\u4e3b\u7684\u5c0f\u96cf\u83ca \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u672a\u5b8c\u7684\u6b4c<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u987a\u4fbf\u6c42\u822a\u73ed\u5217\u8868<br \/>  &#8211;&lt; \u6545\u4e8b\u5f00\u59cb\u4fbf\u4e0d\u627f\u8ba4\u666e\u901a &gt;&#8211;\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>fatal<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u817e\u8baf\u56fd\u5185\u7248\u5b9e\u540d\u503c\u673a\u3002\u3002\u3002\u745f\u745f\u53d1\u6296\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>zdszf<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5927\u4f6c\u5f3a\uff0c\u6211\u6295\u964d\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>34995549 \u5927\u4f6c\u6709\u8bdd\u8bf4 : &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/45373"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=45373"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/45373\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=45373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=45373"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=45373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}