{"id":4109,"date":"2024-08-19T21:49:48","date_gmt":"2024-08-19T19:49:48","guid":{"rendered":"https:\/\/andreas-klingler.de\/infosec\/?p=4109"},"modified":"2024-09-03T14:18:33","modified_gmt":"2024-09-03T12:18:33","slug":"basic-windows-commands","status":"publish","type":"post","link":"https:\/\/infosec.andreas-klingler.de\/?p=4109","title":{"rendered":"Windows fundamentals"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Named pipes<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A named pipe is a method for remote or local <span class=\"caps\">IPC<\/span> Inter-process communication.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Basic commands<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Where is a program?<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">where ssh<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Restart the sys\u00adtem&nbsp;now:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">shutdown \/r \/t 0<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Set file sys\u00adtem attrib\u00adut\u00ades (which are shown with the <code>dir<\/code> command):<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">attrib +r file.exe<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Set file sys\u00adtem per\u00admis\u00adsions (which are shown with the <code>icacls<\/code> command):<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">icacls \"Service.dll\" \/grant 'Everyone:(R)'<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Named pipes A named pipe is a method for remote or local <span class=\"caps\">IPC<\/span> Inter-process com\u00admu\u00adni\u00adca\u00adtion. Basic com\u00admands Where is a pro\u00adgram? where ssh Restart the sys\u00adtem&nbsp;now: shut\u00addown \/r \/t 0 Set file sys\u00adtem attrib\u00adut\u00ades (which are shown with the dir com\u00admand): attrib +r file.exe Set file sys\u00adtem per\u00admis\u00adsions (which are shown with the ica\u00adcls command):&nbsp;[\u2026]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"wp_typography_post_enhancements_disabled":false,"footnotes":""},"categories":[468],"tags":[24],"class_list":["post-4109","post","type-post","status-publish","format-standard","hentry","category-general","tag-windows"],"_links":{"self":[{"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=\/wp\/v2\/posts\/4109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4109"}],"version-history":[{"count":6,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=\/wp\/v2\/posts\/4109\/revisions"}],"predecessor-version":[{"id":4224,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=\/wp\/v2\/posts\/4109\/revisions\/4224"}],"wp:attachment":[{"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}