{"id":15860,"date":"2023-09-08T04:03:18","date_gmt":"2023-09-07T20:03:18","guid":{"rendered":"https:\/\/www.linuxcool.com\/lcymlsmlmlsy"},"modified":"2023-09-08T04:03:18","modified_gmt":"2023-09-07T20:03:18","slug":"lcymlsmlmlsy","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/lcymlsmlmlsy","title":{"rendered":"Linux\u5e38\u7528\u547d\u4ee4strings\u547d\u4ee4\u547d\u4ee4\u4f7f\u7528\u65b9\u6cd5\u5206\u4eab\u7ed3\u675f\u547d\u4ee4"},"content":{"rendered":"<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><a style='color:#0000CC;font-size:16px' href='https:\/\/www.linuxprobe.com\/' target='_blank' rel=\"noopener\">Linux<\/a>\u5e38\u7528<a style='color:#0000CC;font-size:16px' href='https:\/\/www.linuxcool.com\/' target='_blank' rel=\"noopener\">\u547d\u4ee4<\/a>strings\u547d\u4ee4\u5728\u5bf9\u8c61\u6587\u4ef6\u6216\u4e8c\u8865\u7801\u6587\u4ef6\u4e2d\u67e5\u627e\u53ef\u590d\u5370\u7684\u5b57\u7b26\u4e32\u3002\u5b57\u7b26\u4e32\u662f4\u4e2a\u6216\u66f4\u591a\u53ef\u590d\u5370\u5b57\u7b26\u7684\u4efb\u610f\u5e8f\u5217<strong>linux \u5b57\u7b26\u4e32\u547d\u4ee4<\/strong>linux \u5b89\u88c5\uff0c\u4ee5\u6362\u884c\u7b26\u6216\u7a7a\u5b57\u7b26\u7ed3\u675f\u3002strings\u547d\u4ee4\u5bf9\u8fa8\u8bc6\u968f\u673a\u5bf9\u8c61\u6587\u4ef6\u5f88\u6709\u7528linux\u57f9\u8bad\uff0c\u4e0b\u8fb9\u826f\u8bb8\u6559\u7a0b\u7f51\u4e3a\u4f60\u4eec\u5206\u4eab\u4e00\u4e0bLinux\u5e38\u7528\u547d\u4ee4\u2014strings\u547d\u4ee4\u5177\u4f53\u4f7f\u7528\u6280\u5de7\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>strings<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u5728\u5bf9\u8c61\u6587\u4ef6\u6216\u4e8c\u8865\u7801\u6587\u4ef6\u4e2d\u67e5\u627e\u53ef\u590d\u5370\u7684\u5b57\u7b26\u4e32<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u53e5\u578b<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\n<pre class=\"md-fences md-end-block md-fences-with-lineno ty-contain-cm modeLoaded\" lang=\"shell\">\u00a0<span>strings [ <span class=\"cm-attribute\">-a<\/span> ] [ <span class=\"cm-attribute\">-<\/span> ] [ <span class=\"cm-attribute\">-o<\/span> ] [ <span class=\"cm-attribute\">-t<\/span> Format ] [ <span class=\"cm-attribute\">-n<\/span> Number ] [ <span class=\"cm-attribute\">-Number<\/span> ]  [file ... ]<\/span><\/pre>\n<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:500px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2023\/09\/1694116996420_1.webp' alt='ftp\u547d\u4ee4\u8f6c\u6362\u5668\u56db\u4e2a\u5b57\u7b26_linux \u5b57\u7b26\u4e32\u547d\u4ee4_linux\u547d\u4ee4vi\u8fdb\u5165\u540e\u547d\u4ee4' \/><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u9009\u9879<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\n<pre class=\"md-fences md-end-block md-fences-with-lineno ty-contain-cm modeLoaded\" lang=\"shell\">\u00a0<span><span class=\"cm-attribute\">-a<\/span> <span class=\"cm-attribute\">--all<\/span>\uff1a\u626b\u63cf\u6574\u4e2a\u6587\u4ef6\u800c\u4e0d\u662f\u53ea\u626b\u63cf\u76ee\u6807\u6587\u4ef6\u521d\u59cb\u5316\u548c\u88c5\u8f7d\u6bb5<\/span>\n\u00a0<span><span class=\"cm-attribute\">-f<\/span> \u2013print-file-name\uff1a\u5728\u663e\u793a\u5b57\u7b26\u4e32\u524d\u5148\u663e\u793a\u6587\u4ef6\u540d<\/span>\n\u00a0<span><span class=\"cm-attribute\">-n<\/span> <span class=\"cm-def\">\u2013bytes<\/span><span class=\"cm-operator\">=<\/span>[number]\uff1a\u627e\u5230\u5e76\u4e14\u8f93\u51fa\u6240\u6709NUL\u7ec8\u6b62\u7b26\u5e8f\u5217<\/span>\n\u00a0<span><span class=\"cm-attribute\">-<\/span> \uff1a\u8bbe\u7f6e\u663e\u793a\u7684\u6700\u5c11\u7684\u5b57\u7b26\u6570\uff0c\u9ed8\u8ba4\u662f4\u4e2a\u5b57\u7b26<\/span>\n\u00a0<span><span class=\"cm-attribute\">-t<\/span> <span class=\"cm-attribute\">--radix<\/span><span class=\"cm-operator\">=<\/span>{o,d,x} \uff1a\u8f93\u51fa\u5b57\u7b26\u7684\u4f4d\u7f6e\uff0c\u57fa\u4e8e\u516b\u8fdb\u5236\uff0c\u5341\u8fdb\u5236\u6216\u8005\u5341\u516d\u8fdb\u5236<\/span>\n\u00a0<span><span class=\"cm-attribute\">-o<\/span> \uff1a\u7c7b<span class=\"cm-def\">\u4f3c--radix<\/span><span class=\"cm-operator\">=<\/span>o<\/span>\n\u00a0<span><span class=\"cm-attribute\">-T<\/span> <span class=\"cm-attribute\">--target<\/span><span class=\"cm-operator\">=<\/span> \uff1a\u6307\u5b9a\u4e8c\u8fdb\u5236\u6587\u4ef6\u683c\u5f0f<\/span>\n\u00a0<span><span class=\"cm-attribute\">-e<\/span> <span class=\"cm-attribute\">--encoding<\/span><span class=\"cm-operator\">=<\/span>{s,S,b,l,B,L} \uff1a\u9009\u62e9\u5b57\u7b26\u5927\u5c0f\u548c\u6392\u5217\u987a\u5e8f:s <span class=\"cm-operator\">=<\/span> <span class=\"cm-number\">7<\/span><span class=\"cm-attribute\">-bit<\/span>, S <span class=\"cm-operator\">=<\/span> <span class=\"cm-number\">8<\/span><span class=\"cm-attribute\">-bit<\/span>, {b,l} <span class=\"cm-operator\">=<\/span> <span class=\"cm-number\">16<\/span><span class=\"cm-attribute\">-bit<\/span>, {B,L} <span class=\"cm-operator\">=<\/span> <span class=\"cm-number\">32<\/span><span class=\"cm-attribute\">-bit<\/span><\/span>\n\u00a0<span>@ \uff1a\u8bfb\u53d6\u4e2d\u9009\u9879<\/span><\/pre>\n<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:500px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2023\/09\/1694116996420_2.png' alt='linux \u5b57\u7b26\u4e32\u547d\u4ee4_linux\u547d\u4ee4vi\u8fdb\u5165\u540e\u547d\u4ee4_ftp\u547d\u4ee4\u8f6c\u6362\u5668\u56db\u4e2a\u5b57\u7b26' \/><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u5b9e\u4f8b<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u5217\u4e3els\u4e2d\u6240\u6709\u7684ASCII\u6587\u672c\uff1a<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:500px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2023\/09\/1694116996420_3.jpg' alt='linux \u5b57\u7b26\u4e32\u547d\u4ee4_linux\u547d\u4ee4vi\u8fdb\u5165\u540e\u547d\u4ee4_ftp\u547d\u4ee4\u8f6c\u6362\u5668\u56db\u4e2a\u5b57\u7b26' \/><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\n<pre class=\"md-fences md-end-block md-fences-with-lineno ty-contain-cm modeLoaded\" lang=\"shell\">\u00a0<span>strings \/bin\/ls<\/span><\/pre>\n<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u5217\u4e3els\u4e2d\u6240\u6709\u7684ASCII\u6587\u672c\uff1a<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\n<pre class=\"md-fences md-end-block md-fences-with-lineno ty-contain-cm modeLoaded\" lang=\"shell\">\u00a0<span><span class=\"cm-builtin\">cat<\/span> \/bin\/ls strings<\/span><\/pre>\n<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u67e5\u627els\u4e2d\u5305\u542blibc\u7684\u5b57\u7b26\u4e32<strong>linux \u5b57\u7b26\u4e32\u547d\u4ee4<\/strong>\uff0c\u4e0d\u5206\u8fa8\u5927\u5c0f\u5199\uff1a<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\n<pre class=\"md-fences md-end-block md-fences-with-lineno ty-contain-cm modeLoaded\" lang=\"shell\">\u00a0<span>strings \/bin\/ls | <span class=\"cm-builtin\">grep<\/span> <span class=\"cm-attribute\">-i<\/span> libc<\/span><\/pre>\n<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u603b\u7ed3<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u81f3\u6b64\u5173\u4e8eLinux\u5e38\u7528\u547d\u4ee4strings\u547d\u4ee4\u7684\u4f7f\u7528\u65b9\u5f0f\u5206\u4eab\u7ed3\u675f\uff0c\u4f60\u4eec\u5047\u5982\u5bf9strings\u547d\u4ee4\u7684\u4f7f\u7528\u65b9\u5f0f\u8fd8\u6709\u95ee\u9898\u53ef\u4ee5\u901a\u8fc7\u8bc4\u8bba\u533a\u5c06\u95ee\u9898\u9012\u4ea4\u6211\u4eec\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u5bf9\u8c61\u6587\u4ef6\u6216\u4e8c\u8fdb\u5236\u6587\u4ef6\u4e2d\u67e5\u627e\u53ef\u6253\u5370\u7684\u5b57\u7b26\u4e32\u3002\u5b57\u7b26\u4e32\u662f4\u4e2a\u6216\u66f4\u591a\u53ef\u6253\u5370\u5b57\u7b26\u7684\u4efb\u610f\u5e8f\u5217\uff0c\u4ee5\u6362\u884c\u7b26\u6216\u7a7a\u5b57\u7b26\u7ed3\u675f\u3002strings\u547d\u4ee4\u5bf9\u8bc6\u522b\u968f\u673a\u5bf9\u8c61\u6587\u4ef6\u5f88\u6709\u7528\uff0c\u4e0b\u9762\u826f\u8bb8\u6559\u7a0b\u7f51\u4e3a\u5927\u5bb6\u5206\u4eab\u4e00\u4e0bLinux\u5e38\u7528\u547d\u4ee4\u2014strings\u547d\u4ee4\u5177\u4f53\u4f7f\u7528\u65b9\u6cd5\u3002strings\u5728\u5bf9\u8c61\u6587\u4ef6\u6216\u4e8c\u8fdb\u5236\u6587\u4ef6\u4e2d\u67e5\u627e\u53ef\u6253\u5370\u7684\u5b57\u7b26\u4e32\u5217\u51fals\u4e2d\u6240\u6709\u7684ASCII\u6587\u672c\uff1a\u5217\u51fals\u4e2d\u6240\u6709\u7684ASCII\u6587\u672c\uff1a\u67e5\u627els\u4e2d\u5305\u542blibc\u7684\u5b57\u7b26\u4e32\uff0c\u4e0d\u533a\u5206\u5927\u5c0f\u5199\uff1a<\/p>\n","protected":false},"author":1,"featured_media":15861,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[37,259,216,364,87],"class_list":["post-15860","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge","tag-ml","tag-zf","tag-cy","tag-dy","tag-cz-2"],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/15860","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=15860"}],"version-history":[{"count":0,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/15860\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media\/15861"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=15860"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=15860"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=15860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}