{"id":219024,"date":"2020-11-27T15:43:41","date_gmt":"2020-11-27T07:43:41","guid":{"rendered":"http:\/\/4563.org\/?p=219024"},"modified":"2020-11-27T15:43:41","modified_gmt":"2020-11-27T07:43:41","slug":"python-%e5%a6%82%e4%bd%95%e8%8e%b7%e5%8f%96%e6%96%87%e4%bb%b6%e7%9a%84%e7%bc%96%e8%af%91%e6%97%b6%e9%97%b4%ef%bc%8c%e6%af%94%e5%a6%82-exe-%e6%96%87%e4%bb%b6","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=219024","title":{"rendered":"Python \u5982\u4f55\u83b7\u53d6\u6587\u4ef6\u7684\u7f16\u8bd1\u65f6\u95f4\uff0c\u6bd4\u5982 exe \u6587\u4ef6"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  Python \u5982\u4f55\u83b7\u53d6\u6587\u4ef6\u7684\u7f16\u8bd1\u65f6\u95f4\uff0c\u6bd4\u5982 exe \u6587\u4ef6               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sr0miao <\/span>  <span><i><\/i> 5<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        \u5c31\u662f\u4e00\u4e2a\u6587\u4ef6\u662f\u4ec0\u4e48\u65f6\u5019\u7f16\u8bd1\u51fa\u6765\u7684\uff0c\u6709\u4eba\u77e5\u9053\u4e48\uff0c\u6211\u6682\u65f6\u6ca1\u6709\u627e\u5230\u597d\u7684\u65b9\u6cd5      <\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>13<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4431505\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Te11UA <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7f16\u8bd1\uff1f\u811a\u672c\u91cc\u9762 echo \u4e00\u4e0b\u4e0d\u884c\u5417\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4431506\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : crab <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             APi GetFileTime                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4431507\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : CallMeReznov <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             # os.getcwd() \u65b9\u6cd5\u7528\u4e8e\u8fd4\u56de\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55<br \/># os.path.getatime(file) \u8f93\u51fa\u6587\u4ef6\u8bbf\u95ee\u65f6\u95f4<br \/># os.path.getctime(file) \u8f93\u51fa\u6587\u4ef6\u7684\u521b\u5efa\u65f6\u95f4<br \/># os.path.getmtime(file) \u8f93\u51fa\u6587\u4ef6\u6700\u8fd1\u4fee\u6539\u65f6\u95f4                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4431508\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : sr0miao <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Te11UA <br \/>@crab <br \/>@CallMeReznov <br \/>\u4e0d\u662f\u8fd9\u4e2a\u610f\u601d\u54e6\uff0c\u6bd4\u5982\u6211\u62ff\u5230\u4e86\u4e00\u4e2a exe \u6587\u4ef6\uff0c\u6211\u60f3\u77e5\u9053\u8fd9\u4e2a\u6587\u4ef6\u662f\u4ec0\u4e48\u65f6\u5019\u7f16\u8bd1\u51fa\u6765\u7684\u3002\u6bd4\u5982\u6211\u88c5\u4e86 qq5.7 \u8fd9\u4e2a\u7248\u672c\uff0c\u6211\u80fd\u67e5\u5230\u7684\u6587\u4ef6\u521b\u5efa\u65f6\u95f4\u662f\u5b83\u5728\u6211\u7535\u8111\u4e0a\u7684\u751f\u6210\u65f6\u95f4\uff0c\u800c\u6211\u60f3\u77e5\u9053\u5b83\u662f\u4ec0\u4e48\u65f6\u5019\u7f16\u8bd1\u751f\u6210\u7684\uff0c\u5373\u771f\u6b63\u7684\u7f16\u8bd1\u751f\u6210\u65f6\u95f4                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4431509\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : misaka19000 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u9664\u975e\u7f16\u8bd1\u7684\u65f6\u5019\u663e\u793a\u7684\u5728\u6587\u4ef6\u91cc\u9762\u8bb0\u5f55\u4e86\u8fd9\u4e2a\u65f6\u95f4\uff0c\u4e0d\u7136\u5e94\u8be5\u662f\u67e5\u4e0d\u5230\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4431510\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : coolair <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u5c31\u662f\u4f20\u8bf4\u4e2d\u7684\u201d\u8003\u53e4\u201c\u5417\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4431511\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : IsaacYoung <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             PE \u6587\u4ef6\u7ed3\u6784 IMAGE_FILE_HEADER<\/p>\n<p>typedef struct _IMAGE_FILE_HEADER {<br \/> WORD Machine; \/* +0004h \u76ee\u6807\u673a\u5668\u7c7b\u578b *\/<br \/> WORD NumberOfSections; \/* +0006h PE \u4e2d\u8282\u7684\u6570\u91cf *\/<br \/> DWORD TimeDateStamp; \/* +0008h \u65f6\u95f4\u6233 *\/<br \/> DWORD PointerToSymbolTable; \/* +000ch \u6307\u5411\u7b26\u53f7\u8868\u7684\u6307\u9488 *\/<br \/> DWORD NumberOfSymbols; \/* +0010h \u7b26\u53f7\u8868\u4e2d\u7b26\u53f7\u6570\u76ee *\/<br \/> WORD SizeOfOptionalHeader; \/* +0012h \u53ef\u9009\u5934\u7684\u5927\u5c0f *\/<br \/> WORD Characteristics; \/* +0014h \u6587\u4ef6\u5c5e\u6027\u6807\u5fd7 *\/<br \/>} IMAGE_FILE_HEADER, *PIMAGE_FILE_HEADER;<\/p>\n<p>TimeDateStamp \u53cc\u5b57\u3002\u4f4e 32 \u4f4d\u8868\u793a\u4ece 1970 \u5e74 1 \u6708 1 \u65e5 00\uff1a00 \u5230\u6587\u4ef6\u521b\u5efa\u65f6\u7ecf\u8fc7\u7684\u79d2\u6570\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4431512\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : sr0miao <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @IsaacYoung \u8fd9\u4e2a\u6211\u521a\u770b\u5230\u4e86\uff0c\u60f3\u7740\u600e\u4e48\u5f97\u5230\u4ed6\uff0c\u7528 pywin32 \u4e0d\u77e5\u9053\u662f\u5426\u53ef\u884c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4431513\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : MicroBotter <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @sr0miao \u4f60\u53ef\u4ee5\u641c\u4e00\u4e0b exe (windows) elf(linux) mach-o(macOS) \u683c\u5f0f\u7684\u53ef\u6267\u884c\u6587\u4ef6\u7684\u7ed3\u6784\uff0c\u91cc\u9762\u662f\u4e0d\u5305\u542b\u8fd9\u4e2a\u4fe1\u606f\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4431514\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : sr0miao <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @MicroBotter exe \u548c apk \u4e00\u822c\u90fd\u4f1a\u653e\u7684\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4431515\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : no1xsyzy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             ctime \u548c mtime \u53ef\u4ee5\u88ab\u4efb\u610f\u4e00\u4e2a\u4eba\u4fee\u6539\uff0c\u751a\u81f3\u4e0b\u8f7d\u7684\u8bdd\u4f1a\u4ee5\u4e0b\u8f7d\u65f6\u95f4\u8ba1<br \/>\u53ef\u80fd\u6709\u53c2\u8003\u4ef7\u503c\u7684\u5c31\u662f\u6570\u5b57\u7b7e\u540d\u7684\u65f6\u95f4\u6233\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4431516\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : sr0miao <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @no1xsyzy \u8fd9\u4e2a\u5012\u662f\u77e5\u9053\uff0c\u4f46\u6709\u603b\u6bd4\u6ca1\u6709\u597d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4431517\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : sr0miao <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u901a\u8fc7 PE \u5934\u62ff\u5230\u4e86<\/p>\n<p>E12648E80643542CD36B87A4E15DA015.exe<br \/>MD5: e12648e80643542cd36b87a4e15da015<br \/>SHA-1: 441be3586830dac18e7b8c1d18cba6d969312125<br \/>SHA-256: 91cce4c4fe19c9e4b0ffc3fd7397dad4da4c046402069e1885aa9c0501e04146<br \/>File Name: E12648E80643542CD36B87A4E15DA015.exe<br \/>File Size: 753117 byte<br \/>Optional Header: 0x400000<br \/>EntryPoint: 295830<br \/>Compile Time: 2010-06-09 18:32:16<br \/>Subsystem: IMAGE_SUBSYSTEM_WINDOWS_GUI<br \/>DLL: False<br \/>Sections: 4<br \/>warning:<br \/>Byte 0x00 makes up 60.1832% of the file&#8217;s contents. This may indicate truncation \/ malformation.<br \/>KERNEL32.dll<br \/>USER32.dll<br \/>MFC42.DLL<br \/>MSVCRT.dll<\/p>\n<p>@IsaacYoung <br \/>@no1xsyzy                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>Python \u5982\u4f55\u83b7\u53d6\u6587\u4ef6\u7684\u7f16\u8bd1\u65f6&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\/219024"}],"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=219024"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/219024\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=219024"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=219024"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=219024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}