{"id":9064,"date":"2024-01-13T23:09:46","date_gmt":"2024-01-13T23:09:46","guid":{"rendered":"https:\/\/www.hexacorn.com\/blog\/?p=9064"},"modified":"2024-12-25T23:18:26","modified_gmt":"2024-12-25T23:18:26","slug":"2-little-secrets-of-scriptrunner-exe","status":"publish","type":"post","link":"https:\/\/www.hexacorn.com\/blog\/2024\/01\/13\/2-little-secrets-of-scriptrunner-exe\/","title":{"rendered":"2 little secrets of ScriptRunner.exe"},"content":{"rendered":"\n<p>ScriptRunner.exe is a known <a href=\"https:\/\/lolbas-project.github.io\/lolbas\/Binaries\/Scriptrunner\/\">lolbin<\/a>, but the Lolbas project doesn&#8217;t cover all of this program&#8217;s features.<\/p>\n\n\n\n<p><strong>Timeout<\/strong><\/p>\n\n\n\n<p>It can execute child processes and kill them after a certain timeout f.ex.:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ScriptRunner.exe -appvscript cmd.exe -appvscriptrunnerparameters -timeout=5<\/pre>\n\n\n\n<p><strong>Multiple invocations<\/strong><\/p>\n\n\n\n<p>It can execute more than one program\/script at once using the <em>-appvscript<\/em> argument repeated a few times f.ex.:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ScriptRunner.exe -appvscript calc -appvscript notepad -appvscript mspaint<\/pre>\n\n\n\n<p>will launch Calculator, Notepad and MSPaint.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ScriptRunner.exe is a known lolbin, but the Lolbas project doesn&#8217;t cover all of this program&#8217;s features. Timeout It can execute child processes and kill them after a certain timeout f.ex.: ScriptRunner.exe -appvscript cmd.exe -appvscriptrunnerparameters -timeout=5 Multiple invocations It can execute &hellip; <a href=\"https:\/\/www.hexacorn.com\/blog\/2024\/01\/13\/2-little-secrets-of-scriptrunner-exe\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[126,56,64],"tags":[],"_links":{"self":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/9064"}],"collection":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/comments?post=9064"}],"version-history":[{"count":1,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/9064\/revisions"}],"predecessor-version":[{"id":9065,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/9064\/revisions\/9065"}],"wp:attachment":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/media?parent=9064"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/categories?post=9064"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/tags?post=9064"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}