{"id":11232,"date":"2020-01-30T14:22:03","date_gmt":"2020-01-30T11:22:03","guid":{"rendered":"https:\/\/hackware.ru\/?p=11232"},"modified":"2021-03-25T12:27:27","modified_gmt":"2021-03-25T09:27:27","slug":"%d0%bd%d0%b0%d1%81%d1%82%d1%80%d0%be%d0%b9%d0%ba%d0%b0-%d1%80%d0%b0%d0%b1%d0%be%d1%87%d0%b5%d0%b3%d0%be-%d0%be%d0%ba%d1%80%d1%83%d0%b6%d0%b5%d0%bd%d0%b8%d1%8f-powershell-%d0%b2-windows-%d0%b8-linux","status":"publish","type":"post","link":"https:\/\/hackware.ru\/?p=11232","title":{"rendered":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f PowerShell \u0432 Windows \u0438 Linux"},"content":{"rendered":"<div class=\"576fa40ea81d72e15bb77373cb701737\" data-index=\"1\" style=\"float: none; margin:10px 0 10px 0; text-align:center;\">\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-7219829351026140\"\r\n     crossorigin=\"anonymous\"><\/script>\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block; text-align:center;\"\r\n     data-ad-layout=\"in-article\"\r\n     data-ad-format=\"fluid\"\r\n     data-ad-client=\"ca-pub-7219829351026140\"\r\n     data-ad-slot=\"2558585710\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\n<\/div>\n<p style=\"text-align: justify;\">\n\tPowerShell &mdash; \u044d\u0442\u043e&nbsp;\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430, \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445. PowerShell \u044d\u0442\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0447\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432\u044b\u0439 \u044f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, PowerShell \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u043c \u0438 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u043c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043e\u043c. \u0412 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u041f\u041e (\u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f) \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u0439 (\u043a\u043e\u043c\u0430\u043d\u0434\u043b\u0435\u0442\u043e\u0432) PowerShell \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c.\n<\/p>\n<p style=\"text-align: justify;\">\n\t\u0417\u043d\u0430\u043d\u0438\u0435 PowerShell \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u043c \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430\u043c Windows, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0430\u043c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0445 \u0438 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 PowerShell (\u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u043d\u0430 \u043f\u0435\u043d\u0442\u0435\u0441\u0442 Windows). \u0414\u043b\u044f \u043f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 Windows \u0437\u043d\u0430\u043d\u0438\u0435 PowerShell \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043b\u0438\u0448\u043d\u0438\u043c, \u0442.&nbsp;\u043a. \u0441 \u0435\u0433\u043e \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u0436\u043d\u043e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u0443\u0442\u0438\u043d\u043d\u044b\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438 \u0431\u043e\u043b\u0435\u0435 \u0442\u043e\u043d\u043a\u043e (\u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0447\u0435\u043c \u0447\u0435\u0440\u0435\u0437 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441) \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u0432\u043e\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 Windows.\n<\/p>\n<p style=\"text-align: justify;\">\n\tPowerShell \u0438\u043c\u0435\u0435\u0442 \u0431\u043e\u0433\u0430\u0442\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442\u0441\u044f, \u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d \u043d\u0430 Linux, \u0438\u043c\u0435\u0435\u0442 \u043e\u0433\u0440\u043e\u043c\u043d\u0443\u044e \u0441\u043f\u0440\u0430\u0432\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0442\u0430\u043a\u0436\u0435 \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0438 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442\u0441\u044f. \u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u0430 \u043d\u0435 \u044f\u0437\u044b\u043a\u0443 PowerShell, \u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 PowerShell \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0443 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 &mdash; \u0445\u043e\u0442\u044f PowerShell \u043f\u0440\u0435\u0434\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0432 \u043a\u0430\u0436\u0434\u0443\u044e Windows, \u0441\u0432\u043e\u0438 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 (\u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0438) \u0435\u0441\u0442\u044c \u0434\u0430\u0436\u0435 \u0442\u0430\u043c. \u041f\u0440\u043e\u0449\u0435 \u0433\u043e\u0432\u043e\u0440\u044f, \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u0430 \u043d\u0435 \u0442\u043e\u043c\u0443, \u043a\u0430\u043a \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u043f\u0435\u0440\u0432\u0443\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 &laquo;Hello, World!&raquo; \u043d\u0430 PowerShell, \u0430 \u0442\u043e\u043c\u0443, \u043a\u0430\u043a \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u0443\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 &laquo;Hello, World!&raquo; \u0432 PowerShell.\n<\/p>\n<h2 style=\"text-align: justify;\">\n\t\u041e\u0442\u043b\u0438\u0447\u0438\u044f PowerShell \u0438 CMD \u0432 Windows<br \/>\n<\/h2>\n<p style=\"text-align: justify;\">\n\t\u0412 Windows PowerShell \u0443\u0436\u0435 \u0434\u0430\u0432\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e.\n<\/p>\n<p style=\"text-align: justify;\">\n\t\u0427\u0442\u043e\u0431\u044b \u043e\u0442\u043a\u0440\u044b\u0442\u044c PowerShell, \u043d\u0430\u0436\u043c\u0438\u0442\u0435 <strong>Win+x<\/strong> \u0438 \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 <strong>Windows PowerShell (\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440)<\/strong>:\n<\/p>\n<p style=\"text-align: justify;\">\n\t<a href=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/PowerShell.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"alignnone size-full wp-image-11243\" height=\"616\" src=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/PowerShell.png\" width=\"356\" srcset=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/PowerShell.png 356w, https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/PowerShell-173x300.png 173w\" sizes=\"(max-width: 356px) 100vw, 356px\" \/><\/a>\n<\/p>\n<p style=\"text-align: justify;\">\n\t\u0412 \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0432\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435 <strong>PS<\/strong> \u0438 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0440\u0430\u0431\u043e\u0447\u0443\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e:\n<\/p>\n<p style=\"text-align: justify;\">\n\t<a href=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/PS.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"alignnone size-full wp-image-11242\" height=\"139\" src=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/PS.png\" width=\"868\" srcset=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/PS.png 868w, https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/PS-300x48.png 300w, https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/PS-768x123.png 768w\" sizes=\"(max-width: 868px) 100vw, 868px\" \/><\/a>\n<\/p>\n<p style=\"text-align: justify;\">\n\t\u0427\u0442\u043e\u0431\u044b \u043e\u0442\u043a\u0440\u044b\u0442\u044c CMD \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0436\u0430\u0442\u044c <strong>Win+r<\/strong>, \u043d\u0430\u043f\u0435\u0447\u0430\u0442\u0430\u0442\u044c <strong>cmd<\/strong> \u0438 \u043d\u0430\u0436\u0430\u0442\u044c <strong>ENTER<\/strong>:\n<\/p>\n<p style=\"text-align: justify;\">\n\t<a href=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/cmd.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"alignnone size-full wp-image-11241\" height=\"244\" src=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/cmd.png\" width=\"448\" srcset=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/cmd.png 448w, https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/cmd-300x163.png 300w\" sizes=\"(max-width: 448px) 100vw, 448px\" \/><\/a>\n<\/p>\n<p style=\"text-align: justify;\">\n\t\u041f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 CMD \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:\n<\/p>\n<p style=\"text-align: justify;\">\n\t<a href=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/cmd-2.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"alignnone size-full wp-image-11240\" height=\"148\" src=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/cmd-2.png\" width=\"983\" srcset=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/cmd-2.png 983w, https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/cmd-2-300x45.png 300w, https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/cmd-2-768x116.png 768w\" sizes=\"(max-width: 983px) 100vw, 983px\" \/><\/a>\n<\/p>\n<p style=\"text-align: justify;\">\n\t\u0412 CMD \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c:\n<\/p>\n<ul>\n<li style=\"text-align: justify;\">\n\t\t\u0443\u0442\u0438\u043b\u0438\u0442\u044b \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 Windows\n\t<\/li>\n<li style=\"text-align: justify;\">\n\t\t\u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 CMD\n\t<\/li>\n<li style=\"text-align: justify;\">\n\t\t\u0444\u0430\u0439\u043b\u044b .bat\n\t<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\n\t\u0412 PowerShell \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0432\u0441\u0451 \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435, \u0447\u0442\u043e \u0438 \u0432 CMD, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e:\n<\/p>\n<ul>\n<li style=\"text-align: justify;\">\n\t\t\u043a\u043e\u043c\u0430\u043d\u0434\u044b \u044f\u0437\u044b\u043a\u0430 PowerShell\n\t<\/li>\n<li style=\"text-align: justify;\">\n\t\t\u0441\u043a\u0440\u0438\u043f\u0442\u044b PowerShell\n\t<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\n\t\u0412 PowerShell \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u0430\u043a\u0430\u044f \u043f\u0440\u043e\u0441\u0442\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043a\u0430\u043a <strong>dir<\/strong>:\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\ndir<\/pre>\n<p style=\"text-align: justify;\">\n\t\u041d\u043e \u0435\u0441\u043b\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u044d\u0442\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0432 PowerShell \u0438 \u0432 CMD, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c, \u0447\u0442\u043e \u0432\u044b\u0432\u043e\u0434 \u044d\u0442\u0438\u0445 \u043a\u043e\u043c\u0430\u043d\u0434 \u0440\u0430\u0437\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f.\n<\/p>\n<p style=\"text-align: justify;\">\n\t<a href=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/dir-1.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"alignnone size-full wp-image-11239\" height=\"905\" src=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/dir-1.png\" width=\"715\" srcset=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/dir-1.png 715w, https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/dir-1-237x300.png 237w\" sizes=\"(max-width: 715px) 100vw, 715px\" \/><\/a>\n<\/p>\n<p style=\"text-align: justify;\">\n\t\u0410 \u0435\u0441\u043b\u0438 \u043f\u043e\u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u044d\u0442\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0441 \u043e\u043f\u0446\u0438\u0435\u0439, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\ndir \/A<\/pre>\n<p style=\"text-align: justify;\">\n\t\u0422\u043e \u0432 CMD \u043e\u043d\u0430 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0430 \u0432 PowerShell \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0441\u044f \u043e\u0448\u0438\u0431\u043a\u043e\u0439.\n<\/p>\n<p style=\"text-align: justify;\">\n\t<a href=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/dir-a.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"alignnone size-full wp-image-11238\" height=\"850\" src=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/dir-a.png\" width=\"1196\" srcset=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/dir-a.png 1196w, https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/dir-a-300x213.png 300w, https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/dir-a-768x546.png 768w\" sizes=\"(max-width: 1196px) 100vw, 1196px\" \/><\/a>\n<\/p>\n<p style=\"text-align: justify;\">\n\t\u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0432\u043c\u0435\u0441\u0442\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0442\u0430\u043a\u0438\u0445 \u0436\u0435 \u0443\u0442\u0438\u043b\u0438\u0442 \u043a\u0430\u043a \u0432 CMD, \u0432 PowerShell \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u043b\u0435\u0442\u044b, \u0440\u0430\u0431\u043e\u0442\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0440\u0430\u0437\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u044b\u0432\u043e\u0434\u043e\u043c \u0438\u043b\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u043e\u043f\u0446\u0438\u0439.&nbsp;\u0412 PowerShell \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u044b <strong>cd<\/strong>, <strong>ls<\/strong>, <strong>dir<\/strong>, <strong>cat<\/strong>, <strong>man<\/strong>, <strong>kill<\/strong>, <strong>mount<\/strong>, <strong>move<\/strong>, <strong>sort<\/strong>, <strong>pwd<\/strong>, <strong>wget<\/strong>, <strong>curl<\/strong> \u0438 \u0434\u0440\u0443\u0433\u0438\u0435, \u0437\u043d\u0430\u043a\u043e\u043c\u044b\u0435 \u043f\u043e Linux, \u043d\u043e \u044d\u0442\u043e \u041d\u0415 \u041e\u0417\u041d\u0410\u0427\u0410\u0415\u0422 \u0447\u0442\u043e \u044d\u0442\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 \u0442\u0435 \u0436\u0435 \u0441\u0430\u043c\u044b\u0435 \u043e\u043f\u0446\u0438\u0438, \u0447\u0442\u043e \u0438 \u043e\u043f\u0446\u0438\u0438 \u0432 Linux. \u042d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438, \u043f\u0440\u0438\u0447\u0451\u043c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0433\u0440\u0443\u0431\u044b\u0435. \u0422\u043e\u0447\u043d\u0435\u0435 \u0433\u043e\u0432\u043e\u0440\u044f, \u044d\u0442\u043e \u043f\u0441\u0435\u0432\u0434\u043e\u043d\u0438\u043c\u044b \u043a\u043e\u043c\u0430\u043d\u0434 PowerShell. \u041f\u043e\u043b\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u0441\u0435\u0432\u0434\u043e\u043d\u0438\u043c\u043e\u0432 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\nGet-Alias<\/pre>\n<p style=\"text-align: justify;\">\n\t<a href=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/Get-Alias.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"alignnone size-full wp-image-11237\" height=\"937\" src=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/Get-Alias.png\" width=\"792\" srcset=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/Get-Alias.png 792w, https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/Get-Alias-254x300.png 254w, https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/Get-Alias-768x909.png 768w\" sizes=\"(max-width: 792px) 100vw, 792px\" \/><\/a>\n<\/p>\n<h2 style=\"text-align: justify;\">\n\t\u041a\u0430\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c PowerShell \u0432 Linux<br \/>\n<\/h2>\n<p style=\"text-align: justify;\">\n\tPowerShell \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u0430\u043a\u0436\u0435 \u0438 \u0432 Linux, \u043d\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b PowerShell \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0432 Linux. \u041f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 PowerShell \u0432 Linux \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445:\n<\/p>\n<ul>\n<li style=\"text-align: justify;\">\n\t\t\u0432 \u0441\u043a\u0440\u0438\u043f\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0432 Linux \u0432\u0435\u0440\u0441\u0438\u0438 PowerShell (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0438\u0437-\u0437\u0430 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0441\u0432\u044f\u0437\u0430\u043d\u044b \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438 Windows \u0438\u043b\u0438 \u043d\u0435\u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c\u044b \u0434\u043b\u044f Linux \u043f\u043e \u0434\u0440\u0443\u0433\u0438\u043c \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c)\n\t<\/li>\n<li style=\"text-align: justify;\">\n\t\t\u0441\u043a\u0440\u0438\u043f\u0442 \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u043a \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f Windows\n\t<\/li>\n<li style=\"text-align: justify;\">\n\t\t\u0432 \u0441\u043a\u0440\u0438\u043f\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u044b Windows, \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0432 Linux\n\t<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\n\t\u041c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u0440\u0438\u0447\u0438\u043d\u044b \u043f\u0440\u043e\u0431\u043b\u0435\u043c, \u043d\u043e \u043c\u043d\u043e\u0433\u043e \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.\n<\/p>\n<p style=\"text-align: justify;\">\n\t\u041c\u043d\u043e\u0433\u0438\u0435 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u044b Linux \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0438 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043f\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 PowerShell \u0432 \u0441\u0432\u043e\u0439 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043e\u0447\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0432\u044b \u043d\u0430\u0439\u0434\u0451\u0442\u0435 \u0437\u0434\u0435\u0441\u044c:&nbsp;<a href=\"https:\/\/pwsh.ru\/%D0%BA%D0%B0%D0%BA-%D1%83%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%B8%D1%82%D1%8C-powershell-%D0%B2-linux\/\" rel=\"noopener noreferrer\" target=\"_blank\">\u041a\u0430\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c PowerShell \u0432 Linux<\/a>.\n<\/p>\n<h3 style=\"text-align: justify;\">\n\t\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 PowerShell \u0432 Kali Linux<br \/>\n<\/h3>\n<p style=\"text-align: justify;\">\n\tPowerShell \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0432 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 Kali Linux, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u0430\u044f:\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\nsudo apt install powershell<\/pre>\n<h3 style=\"text-align: justify;\">\n\t\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 PowerShell \u0432 Arch Linux, BlackArch<br \/>\n<\/h3>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\ngit clone https:\/\/aur.archlinux.org\/powershell-bin.git\r\ncd powershell\r\nmakepkg -si<\/pre>\n<p style=\"text-align: justify;\">\n\t\u0427\u0442\u043e\u0431\u044b \u0443\u0437\u043d\u0430\u0442\u044c \u0432\u0435\u0440\u0441\u0438\u044e PowerShell \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\nGet-Host | Select-Object Version\r\n<\/pre>\n<h2 style=\"text-align: justify;\">\n\t\u041a\u0430\u043a \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 PowerShell \u0432 Windows<br \/>\n<\/h2>\n<p style=\"text-align: justify;\">\n\t\u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c <strong>.ps1<\/strong> \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u043a\u043e\u043d\u0441\u043e\u043b\u044c PowerShell \u0438 \u0437\u0430\u0442\u0435\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u043e\u043b\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u0434\u043e \u0444\u0430\u0439\u043b\u0430. \u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u043f\u0430\u043f\u043a\u0443 \u0441\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c \u043b\u0438\u0431\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u044b <strong>cd<\/strong>, \u043b\u0438\u0431\u043e, \u0435\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043e\u043a\u0443\u043d\u0443\u0442\u044c\u0441\u044f \u0432 \u0441\u0442\u0438\u043b\u044c PowerShell, \u0442\u043e \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <strong>Set-Location<\/strong>.\n<\/p>\n<p style=\"text-align: justify;\">\n\t\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u043f\u0430\u043f\u043a\u0443 <strong>C:\\Users\\\u0410\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\\Downloads\\WinPwn-master\\<\/strong>:\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\nSet-Location C:\\Users\\\u0410\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\\Downloads\\WinPwn-master\\<\/pre>\n<p style=\"text-align: justify;\">\n\t\u0415\u0441\u043b\u0438 \u0432\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u043f\u044b\u0442\u0430\u0435\u0442\u0435\u0441\u044c \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442, \u0442\u043e \u043f\u043e\u0447\u0442\u0438 \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u0441\u0442\u043e\u043b\u043a\u043d\u0451\u0442\u0435\u0441\u044c \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439, \u0447\u0442\u043e \u0437\u0430\u043f\u0443\u0441\u043a \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0437\u0430\u043f\u0440\u0435\u0449\u0451\u043d. \u0414\u043b\u044f \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043e\u0448\u0438\u0431\u043a\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\nSet-ExecutionPolicy unrestricted<\/pre>\n<p style=\"text-align: justify;\">\n\t\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 &laquo;<a href=\"https:\/\/zawindows.ru\/%d1%80%d0%b5%d1%88%d0%b5%d0%bd%d0%b8%d0%b5-%d0%bf%d1%80%d0%be%d0%b1%d0%bb%d0%b5%d0%bc%d1%8b-%d0%bd%d0%b5%d0%b2%d0%be%d0%b7%d0%bc%d0%be%d0%b6%d0%bd%d0%be-%d0%b7%d0%b0%d0%b3%d1%80%d1%83%d0%b7\/\" rel=\"noopener noreferrer\" target=\"_blank\">\u041e\u0448\u0438\u0431\u043a\u0430 &laquo;\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b &hellip;.ps1, \u0442\u0430\u043a \u043a\u0430\u043a \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u043e \u0432 \u044d\u0442\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435&raquo; (\u0420\u0415\u0428\u0415\u041d\u041e)<\/a>&raquo;\n<\/p>\n<h3 style=\"text-align: justify;\">\n\t\u0417\u0430\u043f\u0443\u0441\u043a \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Import-Module<br \/>\n<\/h3>\n<p style=\"text-align: justify;\">\n\t\u041f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u043c\u043e\u0436\u0435\u0442 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442\u044c. \u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0441\u043a\u0440\u0438\u043f\u0442 \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0432 \u0441\u0435\u0431\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043d\u0443\u0436\u043d\u043e \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u0430 \u0437\u0430\u0442\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c. \u041f\u043e\u0438\u0449\u0438\u0442\u0435 \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043f\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0449\u0435\u0439 \u0432\u0430\u0441 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0441\u043e \u0441\u0442\u0440\u043e\u043a\u043e\u0439 <strong>Import-Module<\/strong>.\n<\/p>\n<p style=\"text-align: justify;\">\n\t\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 <strong>WinPwn<\/strong> \u043d\u0443\u0436\u043d\u043e \u0432\u043d\u0430\u0447\u0430\u043b\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b \u0441 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438:\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\nImport-Module .\\WinPwn.ps1<\/pre>\n<p style=\"text-align: justify;\">\n\t\u0410 \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0435\u0441\u044f \u0432 \u0444\u0430\u0439\u043b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438:\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\nWinPwn<\/pre>\n<p style=\"text-align: justify;\">\n\t<a href=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/WinPwn.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"alignnone size-full wp-image-11236\" height=\"740\" src=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/WinPwn.png\" width=\"864\" srcset=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/WinPwn.png 864w, https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/WinPwn-300x257.png 300w, https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/WinPwn-768x658.png 768w\" sizes=\"(max-width: 864px) 100vw, 864px\" \/><\/a>\n<\/p>\n<h2 style=\"text-align: justify;\">\n\t\u041a\u0430\u043a \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 PowerShell \u0432 Linux<br \/>\n<\/h2>\n<p style=\"text-align: justify;\">\n\t\u0412 Linux \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 PowerShell \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0431\u0440\u0430\u0442\u044c:\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\npwsh<\/pre>\n<p style=\"text-align: justify;\">\n\t\u0417\u0430\u0442\u0435\u043c \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 PowerShell \u043b\u0438\u0431\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0436\u0435\u043b\u0430\u0435\u043c\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442:\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\n.\/hello_world.ps1<\/pre>\n<p style=\"text-align: justify;\">\n\t\u041b\u0438\u0431\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u043f\u043e\u0441\u043b\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u0430 \u0444\u0430\u0439\u043b\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <strong>Import-Module<\/strong>. \u041f\u0440\u0438\u043c\u0435\u0440 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0447\u0435\u0440\u0435\u0437 \u0438\u043c\u043f\u043e\u0440\u0442 \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <a href=\"https:\/\/kali.tools\/?p=5380\" rel=\"noopener noreferrer\" target=\"_blank\">Invoke-TheHash<\/a>:\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\nImport-Module .\\Invoke-SMBEnum.ps1\r\nInvoke-SMBEnum -Target 192.168.0.53 -Username HackWare-mial\\\u0410\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440 -Hash 5187b179ba87f3ad85fea3ed718e961f -verbose<\/pre>\n<h2 style=\"text-align: justify;\">\n\t\u041a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0440\u0430\u0432\u043a\u0443 \u043f\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c \u0432 PowerShell<br \/>\n<\/h2>\n<p style=\"text-align: justify;\">\n\t\u0415\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0440\u0430\u0432\u043a\u0443 \u043f\u043e \u043e\u043f\u0446\u0438\u044f\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0438\u043b\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0432 PowerShell, \u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 <strong>Get-Help<\/strong>, \u043f\u043e\u0441\u043b\u0435 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0443\u043a\u0430\u0436\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0440\u0430\u0432\u043a\u0443:\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\nGet-Help \u041a\u041e\u041c\u0410\u041d\u0414\u0410<\/pre>\n<p style=\"text-align: justify;\">\n\t\u0414\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u043f\u0440\u0430\u0432\u043a\u0438 \u043f\u043e <strong>Set-Location<\/strong>:\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\nGet-Help Set-Location<\/pre>\n<p style=\"text-align: justify;\">\n\t\u0414\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u043f\u0440\u0430\u0432\u043a\u0438 \u043f\u043e <strong>Invoke-SMBEnum<\/strong> (\u043f\u043e\u0441\u043b\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430):\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\nGet-Help Invoke-SMBEnum<\/pre>\n<h2 style=\"text-align: justify;\">\n\t\u041a\u0430\u043a \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c PowerShell \u0434\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438<br \/>\n<\/h2>\n<p style=\"text-align: justify;\">\n\t\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438 \u0432 Windows 10 \u043f\u0440\u0435\u0434\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430 \u0432\u0435\u0440\u0441\u0438\u044f PowerShell 5, \u043d\u043e \u0432 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0435\u0439 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f PowerShell 7. \u0427\u0442\u043e\u0431\u044b \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c\u0441\u044f \u0434\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0441\u0442\u0430\u0442\u044c\u044e &laquo;<a href=\"https:\/\/zawindows.ru\/%d0%ba%d0%b0%d0%ba-%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%b8%d1%82%d1%8c-powershell-7-%d0%b2-windows-10\/\" rel=\"noopener noreferrer\" target=\"_blank\">\u041a\u0430\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c PowerShell 7 \u0432 Windows 10<\/a>&raquo;. \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e PowerShell 7 \u043d\u0435 \u0437\u0430\u043c\u0435\u043d\u0438\u0442 PowerShell 5. \u0422\u043e \u0435\u0441\u0442\u044c \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0431\u0443\u0434\u0443\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u043e\u0431\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 PowerShell.\n<\/p>\n<h2 style=\"text-align: justify;\">\n\t\u0410\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 PowerShell \u0434\u043b\u044f Linux<br \/>\n<\/h2>\n<p style=\"text-align: justify;\">\n\t\u042f \u0441\u0430\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0447\u0438\u043d\u0430\u044e \u0437\u043d\u0430\u043a\u043e\u043c\u0441\u0442\u0432\u043e \u0441 PowerShell, \u043d\u043e \u0445\u043e\u0447\u0443 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0435\u0448\u0438\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 PowerShell \u0432 Linux \u043d\u0435 \u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043e\u043d \u0432\u044b\u0434\u0430\u0432\u0430\u043b \u043e\u0448\u0438\u0431\u043a\u0443.\n<\/p>\n<p style=\"text-align: justify;\">\n\t\u0412 <a href=\"https:\/\/kali.tools\/?p=5380\" rel=\"noopener noreferrer\" target=\"_blank\">Invoke-TheHash<\/a> \u0435\u0441\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044f <strong>Invoke-SMBEnum<\/strong>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u0433\u0440\u0443\u043f\u043f, \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u0441\u0435\u0441\u0441\u0438\u0439 \u0438 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u043d\u044b\u0445 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432. \u0412 Windows \u044d\u0442\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u043d\u043e. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0451 \u0432 Linux.\n<\/p>\n<p style=\"text-align: justify;\">\n\t\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u044e \u043a\u043e\u043d\u0441\u043e\u043b\u044c PowerShell:\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\npwsh<\/pre>\n<p style=\"text-align: justify;\">\n\t\u041f\u0435\u0440\u0435\u0445\u043e\u0436\u0443 \u0432 \u043f\u0430\u043f\u043a\u0443 \u0441 \u0443\u0436\u0435 \u0441\u043a\u0430\u0447\u0435\u043d\u043d\u044b\u043c\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u043c\u0438:\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\ncd .\/bin\/Invoke-TheHash\/<\/pre>\n<p style=\"text-align: justify;\">\n\t\u0418\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u044e \u0444\u0430\u0439\u043b \u0441 \u043d\u0443\u0436\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439:\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\nImport-Module .\\Invoke-SMBEnum.ps1<\/pre>\n<p style=\"text-align: justify;\">\n\t\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u044e:\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\nInvoke-SMBEnum -Target 192.168.0.53 -Action All -Username HackWare-mial\\\u0410\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440 -Hash 5187b179ba87f3ad85fea3ed718e961f -verbose<\/pre>\n<p style=\"text-align: justify;\">\n\t<a href=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/powershell-error.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"alignnone size-full wp-image-11235\" height=\"460\" src=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/powershell-error.png\" width=\"1373\" srcset=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/powershell-error.png 1373w, https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/powershell-error-300x101.png 300w, https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/powershell-error-768x257.png 768w\" sizes=\"(max-width: 1373px) 100vw, 1373px\" \/><\/a>\n<\/p>\n<p style=\"text-align: justify;\">\n\t\u0418 \u043f\u043e\u043b\u0443\u0447\u0430\u044e \u043e\u0448\u0438\u0431\u043a\u0443 &laquo;<strong>Cannot find path &#39;computername&#39; because it does not exist.<\/strong>&raquo;, \u043e\u043d\u0430 \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0439\u0442\u0438 \u043f\u0443\u0442\u044c <strong>computername<\/strong> (\u0438\u043c\u044f \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430), \u0442.&nbsp;\u043a. \u043f\u0443\u0442\u044c \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442. \u041e\u0448\u0438\u0431\u043a\u0430 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435:\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\n$auth_hostname = (Get-ChildItem -path env:computername).Value<\/pre>\n<p style=\"text-align: justify;\">\n\t\u0415\u0441\u043b\u0438 \u043f\u043e\u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c&nbsp;\u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0438\u0437 \u044d\u0442\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438:\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\nGet-ChildItem -path env:computername<\/pre>\n<p style=\"text-align: justify;\">\n\t\u0442\u043e \u043e\u043d\u0430 \u0432\u044b\u0437\u043e\u0432\u0435\u0442 \u044d\u0442\u0443 \u0436\u0435 \u0441\u0430\u043c\u0443\u044e \u043e\u0448\u0438\u0431\u043a\u0443:\n<\/p>\n<pre class=\"brush:plain;\" style=\"text-align: justify;\">\r\nGet-ChildItem: Cannot find path &#39;computername&#39; because it does not exist.<\/pre>\n<p style=\"text-align: justify;\">\n\t\u041c\u043e\u0436\u043d\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c (\u043b\u0443\u0447\u0448\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 \u0441\u043f\u0440\u0430\u0432\u043a\u0435, \u043d\u043e \u043c\u043d\u0435 \u043b\u0435\u043d\u044c \u0442\u0443\u0434\u0430 \u043b\u0435\u0437\u0442\u044c), \u0447\u0442\u043e <strong>env<\/strong> \u0438\u043c\u0435\u0435\u0442 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0435 \u043a \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f, \u0430 <strong>computername<\/strong> &mdash; \u044d\u0442\u043e \u0438\u043c\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 (\u043a\u0430\u043a \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0438\u0437 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f) \u0438\u043c\u044f \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430. \u0421\u0443\u0434\u044f \u043f\u043e \u0432\u0441\u0435\u043c\u0443, \u0432 Linux \u044d\u0442\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442.\n<\/p>\n<p style=\"text-align: justify;\">\n\t\u0421\u0430\u043c\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 &mdash; \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u044d\u0442\u043e \u0438\u043c\u044f \u0432\u0440\u0443\u0447\u043d\u0443\u044e. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e \u0444\u0430\u0439\u043b <strong>Invoke-SMBEnum.ps1<\/strong> \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u043c \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u043e\u043c, \u043d\u0430\u0445\u043e\u0436\u0443 \u0442\u0430\u043c \u0441\u0442\u0440\u043e\u043a\u0443\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\n$auth_hostname = (Get-ChildItem -path env:computername).Value<\/pre>\n<p style=\"text-align: justify;\">\n\t\u0418 \u043c\u0435\u043d\u044f\u044e \u0435\u0451 \u043d\u0430 \u0442\u0430\u043a\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443:\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\n$auth_hostname = &#39;hackware-mial&#39;<\/pre>\n<p style=\"text-align: justify;\">\n\t\u0422\u043e \u0435\u0441\u0442\u044c \u044f \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043b \u0438\u043c\u044f \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430 \u0432\u043c\u0435\u0441\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0435\u0433\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0438.\n<\/p>\n<p style=\"text-align: justify;\">\n\t\u0412\u0430\u0436\u043d\u043e \u043f\u043e\u043c\u043d\u0438\u0442\u044c, \u0447\u0442\u043e \u043f\u043e\u0441\u043b\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0435 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f \u0438\u0437\u043c\u0435\u043d\u0438\u043b, \u0430 \u0438\u0437 \u043f\u0430\u043c\u044f\u0442\u0438. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0447\u0442\u043e\u0431\u044b PowerShell \u0443\u0432\u0438\u0434\u0435\u043b \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d\u043d\u044b\u0435 \u0432 \u0444\u0430\u0439\u043b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f, \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043d\u043e\u0432\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0438\u043c\u043f\u043e\u0440\u0442 \u0444\u0430\u0439\u043b\u0430 &mdash; \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0437\u0430\u043a\u0440\u044b\u0442\u044c (<strong>CTRL+d<\/strong>) \u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0437\u0430\u043d\u043e\u0432\u043e PowerShell:\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\npwsh<\/pre>\n<p style=\"text-align: justify;\">\n\t\u0418\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u0444\u0430\u0439\u043b:\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\ncd .\/bin\/Invoke-TheHash\/\r\nImport-Module .\\Invoke-SMBEnum.ps1<\/pre>\n<p style=\"text-align: justify;\">\n\t\u0418 \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0432\u043d\u043e\u0432\u044c \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443:\n<\/p>\n<pre class=\"brush:bash;\" style=\"text-align: justify;\">\r\nInvoke-SMBEnum -Target 192.168.0.53 -Action All -Username HackWare-mial\\\u0410\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440 -Hash 5187b179ba87f3ad85fea3ed718e961f -verbose<\/pre>\n<p style=\"text-align: justify;\">\n\t<a href=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/Invoke-SMBEnum.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"alignnone size-full wp-image-11234\" height=\"440\" src=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/Invoke-SMBEnum.png\" width=\"1365\" srcset=\"https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/Invoke-SMBEnum.png 1365w, https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/Invoke-SMBEnum-300x97.png 300w, https:\/\/hackware.ru\/wp-content\/uploads\/2020\/01\/Invoke-SMBEnum-768x248.png 768w\" sizes=\"(max-width: 1365px) 100vw, 1365px\" \/><\/a>\n<\/p>\n<p style=\"text-align: justify;\">\n\t\u0412 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0430.\n<\/p>\n<p style=\"text-align: justify;\">\n\t\u041c\u043e\u0440\u0430\u043b\u044c:\n<\/p>\n<ul>\n<li style=\"text-align: justify;\">\n\t\t\u043f\u043e\u0441\u043b\u0435 \u0432\u043d\u0435\u0441\u0435\u043d\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u0444\u0430\u0439\u043b \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043d\u043e\u0432\u043e \u0435\u0433\u043e \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c (\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0434\u0430\u0436\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0439\u0442\u0438 \u0432 PowerShell)\n\t<\/li>\n<li style=\"text-align: justify;\">\n\t\t\u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u0437\u0430\u043f\u0443\u0441\u043a\u043e\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 PowerShell \u0432 Linux \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0440\u0435\u0448\u0438\u0442\u044c \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e\n\t<\/li>\n<\/ul>\n<h2 style=\"text-align: justify;\">\n\t\u0417\u0430\u0434\u0430\u0442\u044c \u0432\u043e\u043f\u0440\u043e\u0441 \u043f\u043e PowerShell<br \/>\n<\/h2>\n<p style=\"text-align: justify;\">\n\t\u041d\u0430 \u044d\u0442\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u044f&nbsp;\u043f\u043b\u0430\u043d\u0438\u0440\u0443\u044e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043e\u0442\u0432\u0435\u0442\u044b \u043d\u0430 \u0447\u0430\u0441\u0442\u043e \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u044e\u0449\u0438\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0447\u0430\u0441\u0442\u044b\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0443 \u043d\u043e\u0432\u0438\u0447\u043a\u043e\u0432 \u0441 PowerShell, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0441\u043b\u0438 \u0432\u0430\u043c \u0447\u0442\u043e-\u0442\u043e \u0435\u0449\u0451 \u043d\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0442\u043e \u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0439\u0442\u0435 \u0437\u0434\u0435\u0441\u044c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445.\n<\/p>\n<p style=\"text-align: justify;\">\n\t<strong><span style=\"background-color:#FFFF00;\">\u0421\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0442\u0430\u043a\u0436\u0435: <a href=\"https:\/\/pwsh.ru\/%d0%bd%d0%b0%d1%87%d0%b0%d0%bb%d0%be-%d1%80%d0%b0%d0%b1%d0%be%d1%82%d1%8b-%d1%81-powershell-%d0%b2-linux-%d1%80%d1%83%d0%ba%d0%be%d0%b2%d0%be%d0%b4%d1%81%d1%82%d0%b2%d0%be-%d0%b4%d0%bb%d1%8f-%d0%bd\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u041e\u0441\u043d\u043e\u0432\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0441 PowerShell \u0432 Linux [\u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u0434\u043b\u044f \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445]<\/a><\/span><\/strong><\/p>\n\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>PowerShell &mdash; \u044d\u0442\u043e&nbsp;\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430, \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445. PowerShell \u044d\u0442\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0447\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432\u044b\u0439 \u044f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, PowerShell \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u043c \u0438 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u043c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043e\u043c. \u0412 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u041f\u041e (\u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f) \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u0439 (\u043a\u043e\u043c\u0430\u043d\u0434\u043b\u0435\u0442\u043e\u0432) PowerShell \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c.<a href=\"https:\/\/hackware.ru\/?p=11232\" class=\"read-more\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":11234,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,238],"tags":[259,58,519,3,31,518,7,245],"class_list":["post-11232","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-2","category-238","tag-arch-linux","tag-blackarch","tag-cmd","tag-kali-linux","tag-linux","tag-powershell","tag-windows","tag---windows"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/hackware.ru\/index.php?rest_route=\/wp\/v2\/posts\/11232"}],"collection":[{"href":"https:\/\/hackware.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hackware.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hackware.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hackware.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11232"}],"version-history":[{"count":10,"href":"https:\/\/hackware.ru\/index.php?rest_route=\/wp\/v2\/posts\/11232\/revisions"}],"predecessor-version":[{"id":15637,"href":"https:\/\/hackware.ru\/index.php?rest_route=\/wp\/v2\/posts\/11232\/revisions\/15637"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hackware.ru\/index.php?rest_route=\/wp\/v2\/media\/11234"}],"wp:attachment":[{"href":"https:\/\/hackware.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hackware.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11232"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hackware.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}