{"id":1381,"date":"2020-05-07T08:30:57","date_gmt":"2020-05-07T06:30:57","guid":{"rendered":"https:\/\/andreas-klingler.de\/infosec\/?p=1381"},"modified":"2023-12-20T20:56:20","modified_gmt":"2023-12-20T19:56:20","slug":"bash-exploits","status":"publish","type":"post","link":"https:\/\/infosec.andreas-klingler.de\/?p=1381","title":{"rendered":"Bash exploits"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">Shellshock<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">A func\u00adtion in a envi\u00adron\u00adment vari\u00adable is exe\u00adcut\u00aded in a child process of the bash. When export\u00ading a new func\u00adtion like&nbsp;this<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">export func=\u2019() { echo mist; }; echo&nbsp;aha;\u2019<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">and start\u00ading a new bash ses\u00adsion, \u201caha\u201d is executed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Shell\u00adshock A func\u00adtion in a envi\u00adron\u00adment vari\u00adable is exe\u00adcut\u00aded in a child process of the bash. When export\u00ading a new func\u00adtion like&nbsp;this export func=\u2019() { echo mist; }; echo&nbsp;aha;\u2019 and start\u00ading a new bash ses\u00adsion, \u201caha\u201d is executed.<\/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":[70,262],"class_list":["post-1381","post","type-post","status-publish","format-standard","hentry","category-general","tag-bash","tag-exploits"],"_links":{"self":[{"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=\/wp\/v2\/posts\/1381","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=1381"}],"version-history":[{"count":2,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=\/wp\/v2\/posts\/1381\/revisions"}],"predecessor-version":[{"id":3837,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=\/wp\/v2\/posts\/1381\/revisions\/3837"}],"wp:attachment":[{"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1381"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1381"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}