{"id":41386,"date":"2020-02-10T20:24:39","date_gmt":"2020-02-10T17:24:39","guid":{"rendered":"https:\/\/prohoster.info\/blog\/blog_prohoster\/revers-inzhiniring-domashnego-routera-s-pomoshhyu-binwalk-doveryaete-softu-svoego-routera"},"modified":"2020-02-10T20:24:39","modified_gmt":"2020-02-10T17:24:39","slug":"revers-inzhiniring-domashnego-routera-s-pomoshhyu-binwalk-doveryaete-softu-svoego-routera","status":"publish","type":"post","link":"https:\/\/prohoster.info\/de\/blog\/revers-inzhiniring-domashnego-routera-s-pomoshhyu-binwalk-doveryaete-softu-svoego-routera","title":{"rendered":"Reverse Engineering eines Heimrouters mit binwalk. Vertrauen Sie der Software Ihres Routers?","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><img decoding=\"async\" alt=\"\u0420\u0435\u0432\u0435\u0440\u0441-\u0438\u043d\u0436\u0438\u043d\u0438\u0440\u0438\u043d\u0433 \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0433\u043e \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e binwalk. \u0414\u043e\u0432\u0435\u0440\u044f\u0435\u0442\u0435 \u0441\u043e\u0444\u0442\u0443 \u0441\u0432\u043e\u0435\u0433\u043e \u0440\u043e\u0443\u0442\u0435\u0440\u0430?\" src=\"\/wp-content\/uploads\/2020\/02\/c3723048dfbb4f20aa59dce3fe079bdc.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u043d\u0435\u0439 \u043d\u0430\u0437\u0430\u0434, \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0440\u0435\u0432\u0435\u0440\u0441-\u0438\u043d\u0436\u0438\u043d\u0438\u0440\u0438\u043d\u0433 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0441\u0432\u043e\u0435\u0433\u043e \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f binwalk.<\/p>\n<p><\/p>\n<p>\u042f \u043a\u0443\u043f\u0438\u043b \u0441\u0435\u0431\u0435 <noindex><a rel=\"nofollow\" href=\"https:\/\/www.tp-link.com\/en\/home-networking\/wifi-router\/archer-c7\/\" rel=\"nofollow\">TP-Link Archer C7 home router<\/a><\/noindex>. \u041d\u0435 \u0441\u0430\u043c\u044b\u0439 \u043b\u0443\u0447\u0448\u0438\u0439 \u0440\u043e\u0443\u0442\u0435\u0440, \u043d\u043e \u0434\u043b\u044f \u043c\u043e\u0438\u0445 \u043d\u0443\u0436\u0434 \u0432\u043f\u043e\u043b\u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442.<\/p>\n<p><\/p>\n<p>\u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043a\u043e\u0433\u0434\u0430 \u044f \u043f\u043e\u043a\u0443\u043f\u0430\u044e \u043d\u043e\u0432\u044b\u0439 \u0440\u043e\u0443\u0442\u0435\u0440, \u044f \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044e <noindex><a rel=\"nofollow\" href=\"https:\/\/openwrt.org\/\" rel=\"nofollow\">OpenWRT<\/a><\/noindex>. \u0417\u0430\u0447\u0435\u043c? \u041a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u0438 \u043d\u0435 \u0441\u0438\u043b\u044c\u043d\u043e \u0437\u0430\u0431\u043e\u0442\u044f\u0442\u0441\u044f \u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0435 \u0441\u0432\u043e\u0438\u0445 \u0440\u043e\u0443\u0442\u0435\u0440\u043e\u0432 \u0438 \u0441\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u0441\u043e\u0444\u0442 \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0430\u0435\u0442, \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438 \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435, \u0432 \u043e\u0431\u0449\u0435\u043c \u0432\u044b \u043f\u043e\u043d\u044f\u043b\u0438. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u044e \u0445\u043e\u0440\u043e\u0448\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u0443\u044e \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e\u043c open-source \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0443 OpenWRT.<\/p>\n<p><\/p>\n<p>\u0421\u043a\u0430\u0447\u0430\u0432 \u0441\u0435\u0431\u0435 OpenWRT, \u044f \u0442\u0430\u043a \u0436\u0435 <noindex><a rel=\"nofollow\" href=\"https:\/\/www.tp-link.com\/en\/support\/download\/archer-c7\/#Firmware\" rel=\"nofollow\">\u0441\u043a\u0430\u0447\u0430\u043b \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u043e\u0431\u0440\u0430\u0437 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438<\/a><\/noindex> \u043f\u043e\u0434 \u043c\u043e\u0439 \u043d\u043e\u0432\u044b\u0439 Archer C7 \u0441 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430 \u0438 \u0440\u0435\u0448\u0438\u043b \u043f\u0440\u043e\u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e. \u0427\u0438\u0441\u0442\u043e \u0440\u0430\u0434\u0438 \u0444\u0430\u043d\u0430 \u0438 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e binwalk.<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h3 id=\"chto-takoe-binwalk\">\u0427\u0442\u043e \u0442\u0430\u043a\u043e\u0435 binwalk?<\/h3>\n<p><\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/ReFirmLabs\/binwalk\" rel=\"nofollow\">Binwalk<\/a><\/noindex> \u2014 \u044d\u0442\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c \u0434\u043b\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430, \u0440\u0435\u0432\u0435\u0440\u0441-\u0438\u043d\u0436\u0438\u043d\u0438\u0440\u0438\u043d\u0433\u0430 \u0438 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f \u043e\u0431\u0440\u0430\u0437\u043e\u0432 \u043f\u0440\u043e\u0448\u0438\u0432\u043e\u043a.<\/p>\n<p><\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0432 2010 \u0433\u043e\u0434\u0443 \u041a\u0440\u0435\u0439\u0433\u043e\u043c \u0425\u0435\u0444\u0444\u043d\u0435\u0440\u043e\u043c, binwalk \u043c\u043e\u0436\u0435\u0442 \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0437\u044b \u043f\u0440\u043e\u0448\u0438\u0432\u043e\u043a \u0438 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u0444\u0430\u0439\u043b\u044b, \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0437\u044b \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0439 \u043a\u043e\u0434, \u0441\u0436\u0430\u0442\u044b\u0435 \u0430\u0440\u0445\u0438\u0432\u044b, \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u0438 \u0438 \u044f\u0434\u0440\u0430, \u0444\u043e\u0440\u043c\u0430\u0442\u044b \u0444\u0430\u0439\u043b\u043e\u0432, \u0442\u0430\u043a\u0438\u0435 \u043a\u0430\u043a JPEG \u0438 PDF, \u0438 \u043c\u043d\u043e\u0433\u043e\u0435 \u0434\u0440\u0443\u0433\u043e\u0435.<\/p>\n<p><\/p>\n<p>\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c binwalk \u0434\u043b\u044f \u0440\u0435\u0432\u0435\u0440\u0441-\u0438\u043d\u0436\u0438\u043d\u0438\u0440\u0438\u043d\u0433\u0430 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0431\u044b \u043f\u043e\u043d\u044f\u0442\u044c \u043a\u0430\u043a \u043e\u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u0430. \u0418\u0441\u043a\u0430\u0442\u044c \u0432 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u0430\u0445 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438, \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0438 \u0438\u0441\u043a\u0430\u0442\u044c \u0431\u0435\u043a\u0434\u043e\u0440\u044b \u0438\u043b\u0438 \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b. \u041c\u043e\u0436\u043d\u043e \u0442\u0430\u043a \u0436\u0435 \u043d\u0430\u0439\u0442\u0438 <code>opcodes<\/code> \u0434\u043b\u044f \u043a\u0443\u0447\u0438 \u0440\u0430\u0437\u043d\u044b\u0445 CPU.<\/p>\n<p><\/p>\n<p>\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0437\u044b \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u043f\u0430\u0440\u043e\u043b\u0435\u0439 (passwd, shadow \u0438 \u0442.\u0434.) \u0418 \u043f\u043e\u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u0441\u043b\u043e\u043c\u0430\u0442\u044c \u0445\u044d\u0448\u0438 \u043f\u0430\u0440\u043e\u043b\u0435\u0439. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0434\u0432\u043e\u0438\u0447\u043d\u044b\u0439 \u0430\u043d\u0430\u043b\u0438\u0437 \u043c\u0435\u0436\u0434\u0443 \u0434\u0432\u0443\u043c\u044f \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u0444\u0430\u0439\u043b\u0430\u043c\u0438. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0430\u043d\u0430\u043b\u0438\u0437 \u044d\u043d\u0442\u0440\u043e\u043f\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0441\u0436\u0430\u0442\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u043b\u0438 \u0437\u0430\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043a\u043b\u044e\u0447\u0435\u0439 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0412\u0441\u0435 \u044d\u0442\u043e \u0431\u0435\u0437 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u043c\u0443 \u043a\u043e\u0434\u0443.<\/p>\n<p><\/p>\n<p>\u0412 \u043e\u0431\u0449\u0435\u043c \u0432\u0441\u0435, \u0447\u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e, \u0435\u0441\u0442\u044c \ud83d\ude42<\/p>\n<p><\/p>\n<h3 id=\"kak-rabotaet-binwalk\">\u041a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 binwalk?<\/h3>\n<p><\/p>\n<p>\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c\u044e binwalk \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0435\u0433\u043e \u0441\u0438\u0433\u043d\u0430\u0442\u0443\u0440\u043d\u043e\u0435 \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435. Binwalk \u043c\u043e\u0436\u0435\u0442 \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0437 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 \u0442\u0438\u043f\u043e\u0432 \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c.<\/p>\n<p><\/p>\n<p>\u0412\u044b \u0437\u043d\u0430\u0435\u0442\u0435 \u0443\u0442\u0438\u043b\u0438\u0442\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 <code>file<\/code>?<\/p>\n<p><\/p>\n<pre><code class=\"bash\">file \/bin\/bash\n\/bin\/bash: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter \/lib64\/l, for GNU\/Linux 3.2.0, BuildID[sha1]=12f73d7a8e226c663034529c8dd20efec22dde54, stripped<\/code><\/pre>\n<p><\/p>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u0430 <code>file<\/code>\u0441\u043c\u043e\u0442\u0440\u0438\u0442 \u043d\u0430 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0444\u0430\u0439\u043b\u0430 \u0438 \u0438\u0449\u0435\u0442 \u043f\u043e\u0434\u043f\u0438\u0441\u044c (\u043c\u0430\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0447\u0438\u0441\u043b\u043e), \u0447\u0442\u043e\u0431\u044b \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0442\u0438\u043f \u0444\u0430\u0439\u043b\u0430. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0435\u0441\u043b\u0438 \u0444\u0430\u0439\u043b \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0431\u0430\u0439\u0442\u043e\u0432 <code>0x89 0x50 0x4E 0x47 0x0D 0x0A 0x1A 0x0A<\/code>, \u043e\u043d\u0430 \u0437\u043d\u0430\u0435\u0442, \u0447\u0442\u043e \u044d\u0442\u043e \u0444\u0430\u0439\u043b PNG. \u041d\u0430 <noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/List_of_file_signatures\" rel=\"nofollow\">\u0412\u0438\u043a\u0438\u043f\u0435\u0434\u0438\u0438<\/a><\/noindex> \u0435\u0441\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043d\u044b\u0445 \u043f\u043e\u0434\u043f\u0438\u0441\u0435\u0439 \u0444\u0430\u0439\u043b\u043e\u0432.<\/p>\n<p><\/p>\n<p>Binwalk \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u0430\u043a \u0436\u0435. \u041d\u043e \u0432\u043c\u0435\u0441\u0442\u043e \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043a\u0430\u0442\u044c \u043f\u043e\u0434\u043f\u0438\u0441\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u0444\u0430\u0439\u043b\u0430, binwalk \u0431\u0443\u0434\u0435\u0442 \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0435\u0441\u044c \u0444\u0430\u0439\u043b. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, binwalk \u043c\u043e\u0436\u0435\u0442 \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0444\u0430\u0439\u043b\u044b, \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0435 \u0432 \u043e\u0431\u0440\u0430\u0437\u0435.<\/p>\n<p><\/p>\n<p>\u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b <code>file<\/code> \u0438 <code>binwalk<\/code> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 <code>libmagic<\/code> \u0434\u043b\u044f \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0435\u0439 \u0444\u0430\u0439\u043b\u043e\u0432. \u041d\u043e <code>binwalk<\/code> \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u043c\u0430\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0441\u0438\u0433\u043d\u0430\u0442\u0443\u0440 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0441\u0436\u0430\u0442\u044b\u0445 \/ \u0437\u0430\u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432, \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u043f\u0440\u043e\u0448\u0438\u0432\u043e\u043a, \u044f\u0434\u0435\u0440 Linux, \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u043e\u0432, \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435.<\/p>\n<p><\/p>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0432\u0435\u0441\u0435\u043b\u0438\u043c\u0441\u044f?<\/p>\n<p><\/p>\n<h3 id=\"ustanovka-binwalk\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 binwalk<\/h3>\n<p><\/p>\n<p>Binwalk \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u0445, \u0432\u043a\u043b\u044e\u0447\u0430\u044f Linux, OSX, FreeBSD \u0438 Windows.<\/p>\n<p><\/p>\n<p>\u0427\u0442\u043e\u0431\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0432\u0435\u0440\u0441\u0438\u044e binwalk, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435<noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/ReFirmLabs\/binwalk\/releases\" rel=\"nofollow\"> \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434<\/a><\/noindex> \u0438 \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u044c <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/ReFirmLabs\/binwalk\/blob\/master\/INSTALL.md\" rel=\"nofollow\">\u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438<\/a><\/noindex> \u0438\u043b\u0438 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/ReFirmLabs\/binwalk\/wiki\/Quick-Start-Guide\" rel=\"nofollow\">\u043a\u0440\u0430\u0442\u043a\u043e\u043c\u0443 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0443<\/a><\/noindex>, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u043c\u0443 \u043d\u0430 \u0432\u0435\u0431-\u0441\u0430\u0439\u0442\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430.<\/p>\n<p><\/p>\n<p>\u0423 Binwalk \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043d\u044b\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">$ binwalk\n\nBinwalk v2.2.0\nCraig Heffner, ReFirmLabs\nhttps:\/\/github.com\/ReFirmLabs\/binwalk\n\nUsage: binwalk [OPTIONS] [FILE1] [FILE2] [FILE3] ...\n\nSignature Scan Options:\n    -B, --signature              Scan target file(s) for common file signatures\n    -R, --raw=&lt;str&gt;              Scan target file(s) for the specified sequence of bytes\n    -A, --opcodes                Scan target file(s) for common executable opcode signatures\n    -m, --magic=&lt;file&gt;           Specify a custom magic file to use\n    -b, --dumb                   Disable smart signature keywords\n    -I, --invalid                Show results marked as invalid\n    -x, --exclude=&lt;str&gt;          Exclude results that match &lt;str&gt;\n    -y, --include=&lt;str&gt;          Only show results that match &lt;str&gt;\n\nExtraction Options:\n    -e, --extract                Automatically extract known file types\n    -D, --dd=&lt;type:ext:cmd&gt;      Extract &lt;type&gt; signatures, give the files an extension of &lt;ext&gt;, and execute &lt;cmd&gt;\n    -M, --matryoshka             Recursively scan extracted files\n    -d, --depth=&lt;int&gt;            Limit matryoshka recursion depth (default: 8 levels deep)\n    -C, --directory=&lt;str&gt;        Extract files\/folders to a custom directory (default: current working directory)\n    -j, --size=&lt;int&gt;             Limit the size of each extracted file\n    -n, --count=&lt;int&gt;            Limit the number of extracted files\n    -r, --rm                     Delete carved files after extraction\n    -z, --carve                  Carve data from files, but don't execute extraction utilities\n    -V, --subdirs                Extract into sub-directories named by the offset\n\nEntropy Options:\n    -E, --entropy                Calculate file entropy\n    -F, --fast                   Use faster, but less detailed, entropy analysis\n    -J, --save                   Save plot as a PNG\n    -Q, --nlegend                Omit the legend from the entropy plot graph\n    -N, --nplot                  Do not generate an entropy plot graph\n    -H, --high=&lt;float&gt;           Set the rising edge entropy trigger threshold (default: 0.95)\n    -L, --low=&lt;float&gt;            Set the falling edge entropy trigger threshold (default: 0.85)\n\nBinary Diffing Options:\n    -W, --hexdump                Perform a hexdump \/ diff of a file or files\n    -G, --green                  Only show lines containing bytes that are the same among all files\n    -i, --red                    Only show lines containing bytes that are different among all files\n    -U, --blue                   Only show lines containing bytes that are different among some files\n    -u, --similar                Only display lines that are the same between all files\n    -w, --terse                  Diff all files, but only display a hex dump of the first file\n\nRaw Compression Options:\n    -X, --deflate                Scan for raw deflate compression streams\n    -Z, --lzma                   Scan for raw LZMA compression streams\n    -P, --partial                Perform a superficial, but faster, scan\n    -S, --stop                   Stop after the first result\n\nGeneral Options:\n    -l, --length=&lt;int&gt;           Number of bytes to scan\n    -o, --offset=&lt;int&gt;           Start scan at this file offset\n    -O, --base=&lt;int&gt;             Add a base address to all printed offsets\n    -K, --block=&lt;int&gt;            Set file block size\n    -g, --swap=&lt;int&gt;             Reverse every n bytes before scanning\n    -f, --log=&lt;file&gt;             Log results to file\n    -c, --csv                    Log results to file in CSV format\n    -t, --term                   Format output to fit the terminal window\n    -q, --quiet                  Suppress output to stdout\n    -v, --verbose                Enable verbose output\n    -h, --help                   Show help output\n    -a, --finclude=&lt;str&gt;         Only scan files whose names match this regex\n    -p, --fexclude=&lt;str&gt;         Do not scan files whose names match this regex\n    -s, --status=&lt;int&gt;           Enable the status server on the specified port<\/code><\/pre>\n<p><\/p>\n<h3 id=\"skanirovaniya-obrazov\">\u0421\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0431\u0440\u0430\u0437\u043e\u0432<\/h3>\n<p><\/p>\n<p>\u041d\u0430\u0447\u043d\u0435\u043c \u0441 \u043f\u043e\u0438\u0441\u043a\u0430 \u0441\u0438\u0433\u043d\u0430\u0442\u0443\u0440 \u0444\u0430\u0439\u043b\u043e\u0432 \u0432\u043d\u0443\u0442\u0440\u0438 \u043e\u0431\u0440\u0430\u0437\u0430 (\u043e\u0431\u0440\u0430\u0437 \u0441 \u0441\u0430\u0439\u0442\u0430 <noindex><a rel=\"nofollow\" href=\"https:\/\/www.tp-link.com\/en\/support\/download\/archer-c7\/#Firmware\" rel=\"nofollow\">TP-Link<\/a><\/noindex>).<\/p>\n<p><\/p>\n<p>\u0417\u0430\u043f\u0443\u0441\u043a binwalk \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c &#8212;signature:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">$ binwalk --signature --term archer-c7.bin\n\nDECIMAL       HEXADECIMAL     DESCRIPTION\n------------------------------------------------------------------------------------------\n21876         0x5574          U-Boot version string, &quot;U-Boot 1.1.4-g4480d5f9-dirty (May\n                              20 2019 - 18:45:16)&quot;\n21940         0x55B4          CRC32 polynomial table, big endian\n23232         0x5AC0          uImage header, header size: 64 bytes, header CRC:\n                              0x386C2BD5, created: 2019-05-20 10:45:17, image size:\n                              41162 bytes, Data Address: 0x80010000, Entry Point:\n                              0x80010000, data CRC: 0xC9CD1E38, OS: Linux, CPU: MIPS,\n                              image type: Firmware Image, compression type: lzma, image\n                              name: &quot;u-boot image&quot;\n23296         0x5B00          LZMA compressed data, properties: 0x5D, dictionary size:\n                              8388608 bytes, uncompressed size: 97476 bytes\n64968         0xFDC8          XML document, version: &quot;1.0&quot;\n78448         0x13270         uImage header, header size: 64 bytes, header CRC:\n                              0x78A267FF, created: 2019-07-26 07:46:14, image size:\n                              1088500 bytes, Data Address: 0x80060000, Entry Point:\n                              0x80060000, data CRC: 0xBB9D4F94, OS: Linux, CPU: MIPS,\n                              image type: Multi-File Image, compression type: lzma,\n                              image name: &quot;MIPS OpenWrt Linux-3.3.8&quot;\n78520         0x132B8         LZMA compressed data, properties: 0x6D, dictionary size:\n                              8388608 bytes, uncompressed size: 3164228 bytes\n1167013       0x11CEA5        Squashfs filesystem, little endian, version 4.0,\n                              compression:xz, size: 14388306 bytes, 2541 inodes,\n                              blocksize: 65536 bytes, created: 2019-07-26 07:51:38\n15555328      0xED5B00        gzip compressed data, from Unix, last modified: 2019-07-26\n                              07:51:41<\/code><\/pre>\n<p><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0443 \u043d\u0430\u0441 \u043c\u043d\u043e\u0433\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e\u0431 \u044d\u0442\u043e\u043c \u043e\u0431\u0440\u0430\u0437\u0435.<\/p>\n<p><\/p>\n<p>\u041e\u0431\u0440\u0430\u0437 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 <noindex><a rel=\"nofollow\" href=\"https:\/\/www.denx.de\/wiki\/U-Boot\" rel=\"nofollow\">U-Boot<\/a><\/noindex> \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u0430 (\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u043e\u0431\u0440\u0430\u0437\u0430 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 <code>0x5AC0<\/code> \u0438 \u0441\u0436\u0430\u0442\u044b\u0439 \u043e\u0431\u0440\u0430\u0437 \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u0430 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 <code>0x5B00<\/code>). \u041e\u0441\u043d\u043e\u0432\u044b\u0432\u0430\u044f\u0441\u044c \u043d\u0430 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0435 uImage \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 0x13270, \u043c\u044b \u0437\u043d\u0430\u0435\u043c, \u0447\u0442\u043e \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430 \u2014 MIPS, \u0430 \u044f\u0434\u0440\u043e Linux \u2014 \u0432\u0435\u0440\u0441\u0438\u044f 3.3.8. \u0418 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u043e\u0431\u0440\u0430\u0437\u0430, \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 <code>0x11CEA5<\/code>, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0432\u0438\u0434\u0435\u0442\u044c, \u0447\u0442\u043e <code>rootfs<\/code> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 <code>squashfs<\/code>.<\/p>\n<p><\/p>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0442\u0435\u043f\u0435\u0440\u044c \u0440\u0430\u0441\u043f\u0430\u043a\u0443\u0435\u043c \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a (U-Boot) \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u044b <code>dd<\/code>:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">$ dd if=archer-c7.bin of=u-boot.bin.lzma bs=1 skip=23296 count=41162\n41162+0 records in\n41162+0 records out\n41162 bytes (41 kB, 40 KiB) copied, 0,0939608 s, 438 kB\/s<\/code><\/pre>\n<p><\/p>\n<p>\u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043e\u0431\u0440\u0430\u0437 \u0441\u0436\u0430\u0442 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e LZMA, \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">$ unlzma u-boot.bin.lzma<\/code><\/pre>\n<p><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u043e\u0431\u0440\u0430\u0437 U-Boot:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">$ ls -l u-boot.bin\n-rw-rw-r-- 1 sprado sprado 97476 Fev  5 08:48 u-boot.bin<\/code><\/pre>\n<p><\/p>\n<p>\u041a\u0430\u043a \u043d\u0430\u0441\u0447\u0435\u0442 \u043f\u043e\u0438\u0441\u043a\u0430 \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0434\u043b\u044f <code>bootargs<\/code>?<\/p>\n<p><\/p>\n<pre><code class=\"bash\">$ strings u-boot.bin | grep bootargs\nbootargs\nbootargs=console=ttyS0,115200 board=AP152 rootfstype=squashfs init=\/etc\/preinit mtdparts=spi0.0:128k(factory-uboot),192k(u-boot),64k(ART),1536k(uImage),14464k@0x1e0000(rootfs) mem=128M<\/code><\/pre>\n<p><\/p>\n<p>\u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f U-Boot <code>bootargs<\/code> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u044f\u0434\u0440\u0443 Linux. \u0418 \u0438\u0437 \u0432\u044b\u0448\u0435\u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u043e\u0433\u043e \u043c\u044b \u043b\u0443\u0447\u0448\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u043c \u0444\u043b\u044d\u0448-\u043f\u0430\u043c\u044f\u0442\u044c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430.<\/p>\n<p><\/p>\n<p>\u041a\u0430\u043a \u043d\u0430\u0441\u0447\u0435\u0442 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f \u043e\u0431\u0440\u0430\u0437\u0430 \u044f\u0434\u0440\u0430 Linux?<\/p>\n<p><\/p>\n<pre><code class=\"bash\">$ dd if=archer-c7.bin of=uImage bs=1 skip=78448 count=1088572\n1088572+0 records in\n1088572+0 records out\n1088572 bytes (1,1 MB, 1,0 MiB) copied, 1,68628 s, 646 kB\/s<\/code><\/pre>\n<p><\/p>\n<p>\u041c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0447\u0442\u043e \u043e\u0431\u0440\u0430\u0437 \u0431\u044b\u043b \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u044b <code>file<\/code>:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">$ file uImage\nuImage: u-boot legacy uImage, MIPS OpenWrt Linux-3.3.8, Linux\/MIPS, Multi-File Image (lzma), 1088500 bytes, Fri Jul 26 07:46:14 2019, Load Address: 0x80060000, Entry Point: 0x80060000, Header CRC: 0x78A267FF, Data CRC: 0xBB9D4F94<\/code><\/pre>\n<p><\/p>\n<p>\u0424\u043e\u0440\u043c\u0430\u0442 \u0444\u0430\u0439\u043b\u0430 uImage \u2014 \u044d\u0442\u043e \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u043e\u0431\u0440\u0430\u0437 \u044f\u0434\u0440\u0430 Linux \u0441 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u043c. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0443\u0434\u0430\u043b\u0438\u043c \u044d\u0442\u043e\u0442 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043e\u043a\u043e\u043d\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043e\u0431\u0440\u0430\u0437 \u044f\u0434\u0440\u0430 Linux:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">$ dd if=uImage of=Image.lzma bs=1 skip=72\n1088500+0 records in\n1088500+0 records out\n1088500 bytes (1,1 MB, 1,0 MiB) copied, 1,65603 s, 657 kB\/s<\/code><\/pre>\n<p><\/p>\n<p>\u041e\u0431\u0440\u0430\u0437 \u0441\u0436\u0430\u0442, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0441\u043f\u0430\u043a\u0443\u0435\u043c \u0435\u0433\u043e:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">$ unlzma Image.lzma<\/code><\/pre>\n<p><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u043e\u0431\u0440\u0430\u0437 \u044f\u0434\u0440\u0430 Linux:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">$ ls -la Image\n-rw-rw-r-- 1 sprado sprado 3164228 Fev  5 10:51 Image<\/code><\/pre>\n<p><\/p>\n<p>\u0427\u0442\u043e \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441 \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u044f\u0434\u0440\u0430? \u041c\u044b \u043c\u043e\u0433\u043b\u0438 \u0431\u044b, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043e\u0438\u0441\u043a \u043f\u043e \u0441\u0442\u0440\u043e\u043a\u0430\u043c \u0432 \u043e\u0431\u0440\u0430\u0437\u0435 \u0438 \u043d\u0430\u0439\u0442\u0438 \u0432\u0435\u0440\u0441\u0438\u044e \u044f\u0434\u0440\u0430 Linux \u0438 \u0443\u0437\u043d\u0430\u0442\u044c \u043e\u0431 \u043e\u043a\u0440\u0443\u0436\u0430\u044e\u0449\u0435\u0439 \u0441\u0440\u0435\u0434\u0435, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0439 \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 \u044f\u0434\u0440\u0430:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">$ strings Image | grep &quot;Linux version&quot;\nLinux version 3.3.8 (leo@leo-MS-7529) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Mon May 20 18:53:02 CST 2019<\/code><\/pre>\n<p><\/p>\n<p>\u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0430 \u0431\u044b\u043b\u0430 \u0432\u044b\u043f\u0443\u0449\u0435\u043d\u0430 \u0432 \u043f\u0440\u043e\u0448\u043b\u043e\u043c \u0433\u043e\u0434\u0443 (2019 \u0433.), \u043a\u043e\u0433\u0434\u0430 \u044f \u043f\u0438\u0448\u0443 \u044d\u0442\u0443 \u0441\u0442\u0430\u0442\u044c\u044e, \u043e\u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0441\u0442\u0430\u0440\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u044f\u0434\u0440\u0430 Linux (3.3.8), \u0432\u044b\u043f\u0443\u0449\u0435\u043d\u043d\u0443\u044e \u0432 2012 \u0433., \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0441 \u043e\u0447\u0435\u043d\u044c \u0441\u0442\u0430\u0440\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0435\u0439 GCC (4.6) \u0442\u0430\u043a\u0436\u0435 \u0441 2012 \u0433.!<br \/>\n(\u043f\u0440\u0438\u043c. \u043f\u0435\u0440\u0435\u0432. \u0435\u0449\u0435 \u0434\u043e\u0432\u0435\u0440\u044f\u0435\u0442\u0435 \u0441\u0432\u043e\u0438\u043c \u0440\u043e\u0443\u0442\u0435\u0440\u0430\u043c \u0432 \u043e\u0444\u0438\u0441\u0435 \u0438 \u0434\u043e\u043c\u0430?)<\/p>\n<p><\/p>\n<p>\u0421 \u043e\u043f\u0446\u0438\u0435\u0439 <code>--opcodes<\/code> \u043c\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c binwalk \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u043c\u0430\u0448\u0438\u043d\u043d\u044b\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 \u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430 \u043e\u0431\u0440\u0430\u0437\u0430:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">$ binwalk --opcodes Image\nDECIMAL       HEXADECIMAL     DESCRIPTION\n--------------------------------------------------------------------------------\n2400          0x960           MIPS instructions, function epilogue\n2572          0xA0C           MIPS instructions, function epilogue\n2828          0xB0C           MIPS instructions, function epilogue<\/code><\/pre>\n<p><\/p>\n<p>\u041a\u0430\u043a \u043d\u0430\u0441\u0447\u0435\u0442 \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b? \u0412\u043c\u0435\u0441\u0442\u043e \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0437 \u0432\u0440\u0443\u0447\u043d\u0443\u044e, \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u043e\u043f\u0446\u0438\u0435\u0439 <code>binwalk --extract<\/code>:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">$ binwalk --extract --quiet archer-c7.bin<\/code><\/pre>\n<p><\/p>\n<p>\u041f\u043e\u043b\u043d\u0430\u044f \u043a\u043e\u0440\u043d\u0435\u0432\u0430\u044f \u0444\u0430\u0439\u043b\u043e\u0432\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0431\u0443\u0434\u0435\u0442 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0430 \u0432 \u043f\u043e\u0434\u043a\u0430\u0442\u0430\u043b\u043e\u0433:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">$ cd _archer-c7.bin.extracted\/squashfs-root\/\n\n$ ls\nbin  dev  etc  lib  mnt  overlay  proc  rom  root  sbin  sys  tmp  usr  var  www\n\n$ cat etc\/banner\n     MM           NM                    MMMMMMM          M       M\n   $MMMMM        MMMMM                MMMMMMMMMMM      MMM     MMM\n  MMMMMMMM     MM MMMMM.              MMMMM:MMMMMM:   MMMM   MMMMM\nMMMM= MMMMMM  MMM   MMMM       MMMMM   MMMM  MMMMMM   MMMM  MMMMM'\nMMMM=  MMMMM MMMM    MM       MMMMM    MMMM    MMMM   MMMMNMMMMM\nMMMM=   MMMM  MMMMM          MMMMM     MMMM    MMMM   MMMMMMMM\nMMMM=   MMMM   MMMMMM       MMMMM      MMMM    MMMM   MMMMMMMMM\nMMMM=   MMMM     MMMMM,    NMMMMMMMM   MMMM    MMMM   MMMMMMMMMMM\nMMMM=   MMMM      MMMMMM   MMMMMMMM    MMMM    MMMM   MMMM  MMMMMM\nMMMM=   MMMM   MM    MMMM    MMMM      MMMM    MMMM   MMMM    MMMM\nMMMM$ ,MMMMM  MMMMM  MMMM    MMM       MMMM   MMMMM   MMMM    MMMM\n  MMMMMMM:      MMMMMMM     M         MMMMMMMMMMMM  MMMMMMM MMMMMMM\n    MMMMMM       MMMMN     M           MMMMMMMMM      MMMM    MMMM\n     MMMM          M                    MMMMMMM        M       M\n       M\n ---------------------------------------------------------------\n   For those about to rock... (%C, %R)\n ---------------------------------------------------------------<\/code><\/pre>\n<p><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043d\u043e\u0433\u043e.<\/p>\n<p><\/p>\n<p>\u041c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043a\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438, \u0445\u044d\u0448\u0438 \u043f\u0430\u0440\u043e\u043b\u0435\u0439, \u043a\u0440\u0438\u043f\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043a\u043b\u044e\u0447\u0438 \u0438 \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b. \u041c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0440\u043e\u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0434\u043b\u044f <noindex><a rel=\"nofollow\" href=\"https:\/\/embeddedbits.org\/categories\/debugging\" rel=\"nofollow\">\u043f\u043e\u0438\u0441\u043a\u0430 \u043e\u0448\u0438\u0431\u043e\u043a <\/a><\/noindex>\u0438 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0435\u0439.<\/p>\n<p><\/p>\n<p>\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <noindex><a rel=\"nofollow\" href=\"https:\/\/www.qemu.org\/\" rel=\"nofollow\">qemu<\/a><\/noindex> \u0438 <noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Chroot\" rel=\"nofollow\">chroot<\/a><\/noindex> \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0434\u0430\u0436\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c (\u044d\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c) \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b \u0438\u0437 \u043e\u0431\u0440\u0430\u0437\u0430:<\/p>\n<p><\/p>\n<pre><code class=\"bash\">$ ls\nbin  dev  etc  lib  mnt  overlay  proc  rom  root  sbin  sys  tmp  usr  var  www\n\n$ cp \/usr\/bin\/qemu-mips-static .\n\n$ sudo chroot . .\/qemu-mips-static bin\/busybox\nBusyBox v1.19.4 (2019-05-20 18:13:49 CST) multi-call binary.\nCopyright (C) 1998-2011 Erik Andersen, Rob Landley, Denys Vlasenko\nand others. Licensed under GPLv2.\nSee source distribution for full notice.\n\nUsage: busybox [function] [arguments]...\n   or: busybox --list[-full]\n   or: function [arguments]...\n\n    BusyBox is a multi-call binary that combines many common Unix\n    utilities into a single executable.  Most people will create a\n    link to busybox for each function they wish to use and BusyBox\n    will act like whatever it was invoked as.\n\nCurrently defined functions:\n    [, [[, addgroup, adduser, arping, ash, awk, basename, cat, chgrp, chmod, chown, chroot, clear, cmp, cp, crond, crontab, cut, date, dd, delgroup, deluser, dirname, dmesg, echo, egrep, env, expr, false,\n    fgrep, find, free, fsync, grep, gunzip, gzip, halt, head, hexdump, hostid, id, ifconfig, init, insmod, kill, killall, klogd, ln, lock, logger, ls, lsmod, mac_addr, md5sum, mkdir, mkfifo, mknod, mktemp,\n    mount, mv, nice, passwd, pgrep, pidof, ping, ping6, pivot_root, poweroff, printf, ps, pwd, readlink, reboot, reset, rm, rmdir, rmmod, route, sed, seq, sh, sleep, sort, start-stop-daemon, strings,\n    switch_root, sync, sysctl, tail, tar, tee, telnet, test, tftp, time, top, touch, tr, traceroute, true, udhcpc, umount, uname, uniq, uptime, vconfig, vi, watchdog, wc, wget, which, xargs, yes, zcat<\/code><\/pre>\n<p><\/p>\n<p>\u0417\u0434\u043e\u0440\u043e\u0432\u043e! \u041d\u043e \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u0432\u0435\u0440\u0441\u0438\u044f BusyBox \u2014 1.19.4. <strong>\u042d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0441\u0442\u0430\u0440\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f BusyBox<\/strong>, \u0432\u044b\u043f\u0443\u0449\u0435\u043d\u043d\u0430\u044f \u0432 \u0430\u043f\u0440\u0435\u043b\u0435 2012 \u0433\u043e\u0434\u0430.<\/p>\n<p><\/p>\n<p>\u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, TP-Link \u0432\u044b\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u043e\u0431\u0440\u0430\u0437 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0432 2019 \u0433\u043e\u0434\u0443 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f (GCC toolchain, kernel, BusyBox \u0438 \u0442. \u0414.) 2012 \u0433\u043e\u0434\u0430!<\/p>\n<p><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0432\u044b \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442\u0435, \u043f\u043e\u0447\u0435\u043c\u0443 \u044f \u0432\u0441\u0435\u0433\u0434\u0430 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044e OpenWRT \u043d\u0430 \u0441\u0432\u043e\u0438 \u0440\u043e\u0443\u0442\u0435\u0440\u044b?<\/p>\n<p><\/p>\n<h3 id=\"eto-esche-ne-vse\">\u042d\u0442\u043e \u0435\u0449\u0435 \u043d\u0435 \u0432\u0441\u0435<\/h3>\n<p><\/p>\n<p>Binwalk \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u044d\u043d\u0442\u0440\u043e\u043f\u0438\u0439\u043d\u044b\u0439 \u0430\u043d\u0430\u043b\u0438\u0437, \u043f\u0435\u0447\u0430\u0442\u0430\u0442\u044c \u043d\u0435\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u044b\u0435 \u044d\u043d\u0442\u0440\u043e\u043f\u0438\u0439\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u044d\u043d\u0442\u0440\u043e\u043f\u0438\u0439\u043d\u044b\u0435 \u0433\u0440\u0430\u0444\u0438\u043a\u0438. \u041e\u0431\u044b\u0447\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u044d\u043d\u0442\u0440\u043e\u043f\u0438\u044f \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0435\u0442\u0441\u044f, \u043a\u043e\u0433\u0434\u0430 \u0431\u0430\u0439\u0442\u044b \u0432 \u043e\u0431\u0440\u0430\u0437\u0435 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b. \u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043e\u0437\u043d\u0430\u0447\u0430\u0442\u044c, \u0447\u0442\u043e \u043e\u0431\u0440\u0430\u0437 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439, \u0441\u0436\u0430\u0442\u044b\u0439 \u0438\u043b\u0438 \u043e\u0431\u0444\u0443\u0441\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b. \u0425\u0430\u0440\u0434\u043a\u043e\u0440\u043d\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f? \u041f\u043e\u0447\u0435\u043c\u0443 \u0431\u044b \u0438 \u043d\u0435\u0442.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"\u0420\u0435\u0432\u0435\u0440\u0441-\u0438\u043d\u0436\u0438\u043d\u0438\u0440\u0438\u043d\u0433 \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0433\u043e \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e binwalk. \u0414\u043e\u0432\u0435\u0440\u044f\u0435\u0442\u0435 \u0441\u043e\u0444\u0442\u0443 \u0441\u0432\u043e\u0435\u0433\u043e \u0440\u043e\u0443\u0442\u0435\u0440\u0430?\" src=\"\/wp-content\/uploads\/2020\/02\/c57833ecee4babb4c379989f3c8d461b.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>\u041c\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <code>--raw<\/code> \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0439 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043d\u0435\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u044b\u0445 \u0431\u0430\u0439\u0442\u043e\u0432 \u0432 \u043e\u0431\u0440\u0430\u0437\u0435 \u0438\u043b\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <code>--hexdump<\/code> \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0448\u0435\u0441\u0442\u043d\u0430\u0434\u0446\u0430\u0442\u0435\u0440\u0438\u0447\u043d\u043e\u0433\u043e \u0434\u0430\u043c\u043f\u0430, \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u0434\u0432\u0430 \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u0432\u0445\u043e\u0434\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u0430.<\/p>\n<p><\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/ReFirmLabs\/binwalk\/wiki\/Creating-Custom-Signatures\" rel=\"nofollow\">\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0435 \u0441\u0438\u0433\u043d\u0430\u0442\u0443\u0440\u044b<\/a><\/noindex> \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u044b \u0432 binwalk \u043b\u0438\u0431\u043e \u0447\u0435\u0440\u0435\u0437 \u0444\u0430\u0439\u043b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u0441\u0438\u0433\u043d\u0430\u0442\u0443\u0440, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 <code>--magic<\/code>, \u043b\u0438\u0431\u043e \u043f\u0443\u0442\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u0445 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 <code>$ HOME \/ .config \/ binwalk \/ magic<\/code>.<\/p>\n<p><\/p>\n<p>\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u0439\u0442\u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e binwalk \u0432 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/ReFirmLabs\/binwalk\/wiki\/Usage\" rel=\"nofollow\">\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a><\/noindex>.<\/p>\n<p><\/p>\n<h3 id=\"rasshirenie-binwalk\">\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 binwalk<\/h3>\n<p><\/p>\n<p>\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/ReFirmLabs\/binwalk\/blob\/master\/API.md\" rel=\"nofollow\">API-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441<\/a><\/noindex> binwalk, \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0432 \u0432\u0438\u0434\u0435 \u043c\u043e\u0434\u0443\u043b\u044f Python, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043b\u044e\u0431\u044b\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c Python \u0434\u043b\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f binwalk, \u0430 \u0443\u0442\u0438\u043b\u0438\u0442\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 binwalk \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u0447\u0442\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u0440\u043e\u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0432\u0441\u0435\u0433\u043e \u0434\u0432\u0443\u043c\u044f \u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438 \u043a\u043e\u0434\u0430 Python!<\/p>\n<p><\/p>\n<pre><code class=\"bash\">import binwalk\nbinwalk.scan()<\/code><\/pre>\n<p><\/p>\n<p>\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Python API \u0432\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/ReFirmLabs\/binwalk\/wiki\/Creating-Custom-Plugins\" rel=\"nofollow\">\u043f\u043b\u0430\u0433\u0438\u043d\u044b \u043f\u043e\u0434 Python<\/a><\/noindex> \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f binwalk.<\/p>\n<p><\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/ReFirmLabs\/binwalk\/wiki\/Using-the-Binwalk-IDA-Plugin\" rel=\"nofollow\">\u043f\u043b\u0430\u0433\u0438\u043d IDA<\/a><\/noindex> \u0438 \u043e\u0431\u043b\u0430\u0447\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f <noindex><a rel=\"nofollow\" href=\"https:\/\/www.refirmlabs.com\/binwalk-pro\/\" rel=\"nofollow\">Binwalk Pro<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p>\u0422\u0430\u043a \u043f\u043e\u0447\u0435\u043c\u0443 \u0431\u044b \u0432\u0430\u043c \u043d\u0435 \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0437 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0438\u0437 \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u0438 \u043d\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c binwalk? \u041e\u0431\u0435\u0449\u0430\u044e, \u0432\u0430\u043c \u0431\u0443\u0434\u0435\u0442 \u043e\u0447\u0435\u043d\u044c \u0432\u0435\u0441\u0435\u043b\u043e \ud83d\ude42<\/p>\n<p>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/487406\/\">habr.com<\/a> <\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u043d\u0435\u0439 \u043d\u0430\u0437\u0430\u0434, \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0440\u0435\u0432\u0435\u0440\u0441-\u0438\u043d\u0436\u0438\u043d\u0438\u0440\u0438\u043d\u0433 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0441\u0432\u043e\u0435\u0433\u043e \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f binwalk. \u042f \u043a\u0443\u043f\u0438\u043b \u0441\u0435\u0431\u0435 TP-Link Archer C7 home router. \u041d\u0435 \u0441\u0430\u043c\u044b\u0439 \u043b\u0443\u0447\u0448\u0438\u0439 \u0440\u043e\u0443\u0442\u0435\u0440, \u043d\u043e \u0434\u043b\u044f \u043c\u043e\u0438\u0445 \u043d\u0443\u0436\u0434 \u0432\u043f\u043e\u043b\u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442. \u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043a\u043e\u0433\u0434\u0430 \u044f \u043f\u043e\u043a\u0443\u043f\u0430\u044e \u043d\u043e\u0432\u044b\u0439 \u0440\u043e\u0443\u0442\u0435\u0440, \u044f \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044e OpenWRT. \u0417\u0430\u0447\u0435\u043c? \u041a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u0438 \u043d\u0435 \u0441\u0438\u043b\u044c\u043d\u043e \u0437\u0430\u0431\u043e\u0442\u044f\u0442\u0441\u044f \u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0435 \u0441\u0432\u043e\u0438\u0445 \u0440\u043e\u0443\u0442\u0435\u0440\u043e\u0432 \u0438 \u0441\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u0441\u043e\u0444\u0442 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":41387,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-41386","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u043d\u0435\u0439 \u043d\u0430\u0437\u0430\u0434, \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0440\u0435\u0432\u0435\u0440\u0441-\u0438\u043d\u0436\u0438\u043d\u0438\u0440\u0438\u043d\u0433 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0441\u0432\u043e\u0435\u0433\u043e \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f binwalk. \u042f \u043a\u0443\u043f\u0438\u043b \u0441\u0435\u0431\u0435 TP-Link Archer C7 home router. \u041d\u0435 \u0441\u0430\u043c\u044b\u0439 \u043b\u0443\u0447\u0448\u0438\u0439 \u0440\u043e\u0443\u0442\u0435\u0440, \u043d\u043e \u0434\u043b\u044f \u043c\u043e\u0438\u0445 \u043d\u0443\u0436\u0434 \u0432\u043f\u043e\u043b\u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442. \u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043a\u043e\u0433\u0434\u0430 \u044f \u043f\u043e\u043a\u0443\u043f\u0430\u044e \u043d\u043e\u0432\u044b\u0439 \u0440\u043e\u0443\u0442\u0435\u0440, \u044f \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044e OpenWRT. \u0417\u0430\u0447\u0435\u043c? \u041a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u0438 \u043d\u0435 \u0441\u0438\u043b\u044c\u043d\u043e \u0437\u0430\u0431\u043e\u0442\u044f\u0442\u0441\u044f \u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0435 \u0441\u0432\u043e\u0438\u0445 \u0440\u043e\u0443\u0442\u0435\u0440\u043e\u0432 \u0438 \u0441\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u0441\u043e\u0444\u0442\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/de\/blog\/revers-inzhiniring-domashnego-routera-s-pomoshhyu-binwalk-doveryaete-softu-svoego-routera\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"de_DE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0420\u0435\u0432\u0435\u0440\u0441-\u0438\u043d\u0436\u0438\u043d\u0438\u0440\u0438\u043d\u0433 \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0433\u043e \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e binwalk. \u0414\u043e\u0432\u0435\u0440\u044f\u0435\u0442\u0435 \u0441\u043e\u0444\u0442\u0443 \u0441\u0432\u043e\u0435\u0433\u043e \u0440\u043e\u0443\u0442\u0435\u0440\u0430? | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u043d\u0435\u0439 \u043d\u0430\u0437\u0430\u0434, \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0440\u0435\u0432\u0435\u0440\u0441-\u0438\u043d\u0436\u0438\u043d\u0438\u0440\u0438\u043d\u0433 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0441\u0432\u043e\u0435\u0433\u043e \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f binwalk. \u042f \u043a\u0443\u043f\u0438\u043b \u0441\u0435\u0431\u0435 TP-Link Archer C7 home router. \u041d\u0435 \u0441\u0430\u043c\u044b\u0439 \u043b\u0443\u0447\u0448\u0438\u0439 \u0440\u043e\u0443\u0442\u0435\u0440, \u043d\u043e \u0434\u043b\u044f \u043c\u043e\u0438\u0445 \u043d\u0443\u0436\u0434 \u0432\u043f\u043e\u043b\u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442. \u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043a\u043e\u0433\u0434\u0430 \u044f \u043f\u043e\u043a\u0443\u043f\u0430\u044e \u043d\u043e\u0432\u044b\u0439 \u0440\u043e\u0443\u0442\u0435\u0440, \u044f \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044e OpenWRT. \u0417\u0430\u0447\u0435\u043c? \u041a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u0438 \u043d\u0435 \u0441\u0438\u043b\u044c\u043d\u043e \u0437\u0430\u0431\u043e\u0442\u044f\u0442\u0441\u044f \u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0435 \u0441\u0432\u043e\u0438\u0445 \u0440\u043e\u0443\u0442\u0435\u0440\u043e\u0432 \u0438 \u0441\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u0441\u043e\u0444\u0442\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/de\/blog\/revers-inzhiniring-domashnego-routera-s-pomoshhyu-binwalk-doveryaete-softu-svoego-routera\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-02-10T17:24:39+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-02-10T17:24:39+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Reverse Engineering eines Heimrouters mit Binwalk. Vertrauen Sie der Software Ihres Routers? | ProHoster","description":"Vor einigen Tagen beschloss ich, die Firmware meines Routers mit Binwalk zu reverse-engineeren. Ich kaufte mir den TP-Link Archer C7 Heimrouter. Es ist nicht der beste Router, aber f\u00fcr meine Bed\u00fcrfnisse reicht er v\u00f6llig aus. Jedes Mal, wenn ich einen neuen Router kaufe, installiere ich OpenWRT. Warum? Die Hersteller achten normalerweise nicht sehr auf die Unterst\u00fctzung ihrer Router, und im Laufe der Zeit wird die Software","canonical_url":"https:\/\/prohoster.info\/de\/blog\/revers-inzhiniring-domashnego-routera-s-pomoshhyu-binwalk-doveryaete-softu-svoego-routera","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"de_DE","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0420\u0435\u0432\u0435\u0440\u0441-\u0438\u043d\u0436\u0438\u043d\u0438\u0440\u0438\u043d\u0433 \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0433\u043e \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e binwalk. \u0414\u043e\u0432\u0435\u0440\u044f\u0435\u0442\u0435 \u0441\u043e\u0444\u0442\u0443 \u0441\u0432\u043e\u0435\u0433\u043e \u0440\u043e\u0443\u0442\u0435\u0440\u0430? | ProHoster","og:description":"\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u043d\u0435\u0439 \u043d\u0430\u0437\u0430\u0434, \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0440\u0435\u0432\u0435\u0440\u0441-\u0438\u043d\u0436\u0438\u043d\u0438\u0440\u0438\u043d\u0433 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0441\u0432\u043e\u0435\u0433\u043e \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f binwalk. \u042f \u043a\u0443\u043f\u0438\u043b \u0441\u0435\u0431\u0435 TP-Link Archer C7 home router. \u041d\u0435 \u0441\u0430\u043c\u044b\u0439 \u043b\u0443\u0447\u0448\u0438\u0439 \u0440\u043e\u0443\u0442\u0435\u0440, \u043d\u043e \u0434\u043b\u044f \u043c\u043e\u0438\u0445 \u043d\u0443\u0436\u0434 \u0432\u043f\u043e\u043b\u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442. \u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043a\u043e\u0433\u0434\u0430 \u044f \u043f\u043e\u043a\u0443\u043f\u0430\u044e \u043d\u043e\u0432\u044b\u0439 \u0440\u043e\u0443\u0442\u0435\u0440, \u044f \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044e OpenWRT. \u0417\u0430\u0447\u0435\u043c? \u041a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u0438 \u043d\u0435 \u0441\u0438\u043b\u044c\u043d\u043e \u0437\u0430\u0431\u043e\u0442\u044f\u0442\u0441\u044f \u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0435 \u0441\u0432\u043e\u0438\u0445 \u0440\u043e\u0443\u0442\u0435\u0440\u043e\u0432 \u0438 \u0441\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u0441\u043e\u0444\u0442","og:url":"https:\/\/prohoster.info\/de\/blog\/revers-inzhiniring-domashnego-routera-s-pomoshhyu-binwalk-doveryaete-softu-svoego-routera","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-02-10T17:24:39+00:00","article:modified_time":"2020-02-10T17:24:39+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"41386","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 00:18:37","updated":"2022-09-28 20:26:45"},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts\/41386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/comments?post=41386"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts\/41386\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/media\/41387"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/media?parent=41386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/categories?post=41386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/tags?post=41386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}