{"id":1489,"date":"2020-05-13T13:40:32","date_gmt":"2020-05-13T11:40:32","guid":{"rendered":"https:\/\/andreas-klingler.de\/infosec\/?p=1489"},"modified":"2023-12-20T20:57:04","modified_gmt":"2023-12-20T19:57:04","slug":"variable-substitution","status":"publish","type":"post","link":"https:\/\/infosec.andreas-klingler.de\/?p=1489","title":{"rendered":"Variable substitution"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This post con\u00adtains a col\u00adlec\u00adtion of vari\u00adable sub\u00adsti\u00adtu\u00adtion commands.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Bash<\/h1>\n\n\n\n<pre class=\"wp-block-preformatted\">$(echo id)<\/pre>\n\n\n\n<h1 class=\"wp-block-heading\">Ruby<\/h1>\n\n\n\n<pre class=\"wp-block-preformatted\">#{}<\/pre>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"caps\">PHP<\/span><\/h1>\n\n\n\n<pre class=\"wp-block-preformatted\">{}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This post con\u00adtains a col\u00adlec\u00adtion of vari\u00adable sub\u00adsti\u00adtu\u00adtion com\u00admands. Bash $(echo id) Ruby #{}&nbsp;<span class=\"caps\">PHP<\/span>&nbsp;{}<\/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":[],"class_list":["post-1489","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=\/wp\/v2\/posts\/1489","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=1489"}],"version-history":[{"count":2,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=\/wp\/v2\/posts\/1489\/revisions"}],"predecessor-version":[{"id":3839,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=\/wp\/v2\/posts\/1489\/revisions\/3839"}],"wp:attachment":[{"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1489"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1489"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}