{"id":1008,"date":"2019-09-04T13:49:17","date_gmt":"2019-09-04T22:49:17","guid":{"rendered":"\/blog\/?p=1008"},"modified":"2023-09-21T09:26:49","modified_gmt":"2023-09-21T00:26:49","slug":"appdefender-agent-fatal-%eb%a1%9c%ea%b7%b8-%ec%88%98%ec%a0%95","status":"publish","type":"post","link":"https:\/\/hasu0707.duckdns.org\/blog\/?p=1008","title":{"rendered":"[AppDefender] Agent FATAL \ub85c\uadf8 \uc218\uc815"},"content":{"rendered":"\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">#!\/bin\/bash\n##############################################################################\n#\n# \uc774 \ud328\uce58\ub294 Application Defender 19.2.0\uc758 rtal(RunTime Application Logging)\n# \ub8f0\uc774 docker \uc774\ubbf8\uc9c0\uc5d0\uc11c \ub204\ub77d\ub418\uc5b4 \uc788\ub294 \ubc84\uadf8\ub97c \ud328\uce58\ud55c\ub2e4.\n#\n# \ud328\uce58\ub97c \uc9c4\ud589\ud55c \ud6c4\uc5d0\ub294 \ubc18\ub4dc\uc2dc Agent\ub97c \uc7ac \uc124\uce58\ud574\uc57c \ud55c\ub2e4.\n#\n##############################################################################\n\nSECURITY_CONTENT=SecurityContent2018.4.1.1.zip\nCURRENT_DIR=$(pwd)\nUNZIP_CMD=$(which unzip)\nif [ -z ${UNZIP_CMD} ]\nthen\n  exit 1\nfi\n\nDOCKER_CMD=$(which docker)\nif [ -z ${DOCKER_CMD} ]\nthen\n  exit 2\nfi\n\nmkdir ${CURRENT_DIR}\/tmp_securitycontent\n${UNZIP_CMD} ${SECURITY_CONTENT} -d ${CURRENT_DIR}\/tmp_securitycontent\n\n${DOCKER_CMD} exec -it appdefender_ui_customer_1 \/bin\/ls -l \/usr\/local\/tomcat\/initialConfig\n${DOCKER_CMD} cp ${CURRENT_DIR}\/tmp_securitycontent\/rules\/rtal_information_dotnet.rpr  appdefender_ui_customer_1:\/usr\/local\/tomcat\/initialConfig\/\n${DOCKER_CMD} cp ${CURRENT_DIR}\/tmp_securitycontent\/rules\/rtal_information_java.rpr    appdefender_ui_customer_1:\/usr\/local\/tomcat\/initialConfig\/\n${DOCKER_CMD} cp ${CURRENT_DIR}\/tmp_securitycontent\/rules\/rtal_logging_dotnet.rpr      appdefender_ui_customer_1:\/usr\/local\/tomcat\/initialConfig\/\n${DOCKER_CMD} cp ${CURRENT_DIR}\/tmp_securitycontent\/rules\/rtal_logging_java.rpr        appdefender_ui_customer_1:\/usr\/local\/tomcat\/initialConfig\/\n${DOCKER_CMD} exec -it appdefender_ui_customer_1 \/bin\/chown -R root:staff \/usr\/local\/tomcat\/initialConfig\n${DOCKER_CMD} exec -it appdefender_ui_customer_1 \/bin\/ls -l \/usr\/local\/tomcat\/initialConfig\n\nrm -rf ${CURRENT_DIR}\/tmp_securitycontent<\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[66],"tags":[],"class_list":["post-1008","post","type-post","status-publish","format-standard","hentry","category-computing_fortify"],"_links":{"self":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1008","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1008"}],"version-history":[{"count":0,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1008\/revisions"}],"wp:attachment":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1008"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1008"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}