{"id":2928,"date":"2021-03-14T20:28:39","date_gmt":"2021-03-14T19:28:39","guid":{"rendered":"https:\/\/andreas-klingler.de\/infosec\/?p=2928"},"modified":"2021-03-14T20:28:39","modified_gmt":"2021-03-14T19:28:39","slug":"33060-mysqlx","status":"publish","type":"post","link":"https:\/\/infosec.andreas-klingler.de\/?p=2928","title":{"rendered":"33060 MySQLX"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Enumeration<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Mandatory<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Try to connect:<ol><li>Start the con\u00adsole:<br><code>\/opt\/mysql-shell-8.0.23-linux-glibc2.12-x86-64bit\/bin# .\/mysqlsh<\/code><\/li><li>Try to con\u00adnect with default cre\u00adden\u00adtials or found ones:<br><code>MySQL JS &gt; var test_conn = require('mysqlx');<\/code><br><code>MySQL JS &gt; var session = mysqlx.getSession({host: '192.168.156.58', user: 'root', password: 'root', port: 33060});<\/code><\/li><\/ol><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Enu\u00admer\u00ada\u00adtion Manda\u00adto\u00adry Try to con\u00adnect:&nbsp; Start the con\u00adsole:\/opt\/mysql-shell\u20118.0.23-linux-glibc2.12-x86-64bit\/bin# .\/mysqlsh Try to con\u00adnect with default cre\u00adden\u00adtials or found ones:MySQL <span class=\"caps\">JS<\/span> &gt; var test_conn = require(\u2018mysqlx\u2019);MySQL <span class=\"caps\">JS<\/span> &gt; var ses\u00adsion = mysqlx.getSession({host: \u2018192.168.156.58\u2019, user: \u2018root\u2019, pass\u00adword: \u2018root\u2019, port:&nbsp;33060});<\/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":[36],"tags":[366],"class_list":["post-2928","post","type-post","status-publish","format-standard","hentry","category-port","tag-mysqlx"],"_links":{"self":[{"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=\/wp\/v2\/posts\/2928","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=2928"}],"version-history":[{"count":1,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=\/wp\/v2\/posts\/2928\/revisions"}],"predecessor-version":[{"id":2929,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=\/wp\/v2\/posts\/2928\/revisions\/2929"}],"wp:attachment":[{"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2928"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2928"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2928"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}