{"id":1964,"date":"2020-12-19T20:14:17","date_gmt":"2020-12-19T19:14:17","guid":{"rendered":"https:\/\/andreas-klingler.de\/infosec\/?p=1964"},"modified":"2021-01-09T15:17:39","modified_gmt":"2021-01-09T14:17:39","slug":"subversion-svn","status":"publish","type":"post","link":"https:\/\/infosec.andreas-klingler.de\/?p=1964","title":{"rendered":"<span class=\"caps\">SVN<\/span> Subversion"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Check\u00adout a&nbsp;repo:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">svn checkout svn:\/\/...<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Show log<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">svn log<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Show infos<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">svn info<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Show all branches<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">svn ls svn:\/\/$victim --verbose<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The first num\u00adber from the pre\u00advi\u00adous com\u00admand shows the revi\u00adsion. To see the con\u00adtent of a repo for anoth\u00ader revi\u00adsion, add the r&nbsp;flag:<\/p>\n\n\n\n<pre id=\"block-48bb40a5-ecd7-415f-a1e1-83d3a4f89ba1\" class=\"wp-block-preformatted\">svn ls svn:\/\/$victim --verbose -r 1\nsvn ls svn:\/\/$victim --verbose -r 2\n...<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Check\u00adout a spe\u00adcif\u00adic ver\u00adsion. Use X as revi\u00adsion num\u00adber. The com\u00admand <code>svn up<\/code> shows the cur\u00adrent revi\u00adsion num\u00adber. <strong>Use this first with \u2011r1<\/strong> (first com\u00admit) and then incre\u00adment the num\u00adbers until the cur\u00adrent commit.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">svn up -rX<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Notes<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Extract\u00ading creds and infos from the .svn direc\u00adto\u00adry: <a href=\"https:\/\/github.com\/anantshri\/svn-extractor\">SVN-Extrac\u00adtor<\/a><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Check\u00adout a&nbsp;repo: svn check\u00adout svn:\/\/\u2026 Show log svn log Show infos svn info Show all branch\u00ades svn ls svn:\/\/$victim \u2013ver\u00adbose The first num\u00adber from the pre\u00advi\u00adous com\u00admand shows the revi\u00adsion. To see the con\u00adtent of a repo for anoth\u00ader revi\u00adsion, add the r&nbsp;flag: svn ls svn:\/\/$victim \u2013ver\u00adbose \u2011r 1 svn ls svn:\/\/$victim \u2013ver\u00adbose \u2011r&nbsp;2&nbsp;[\u2026]<\/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":[323],"tags":[313,312],"class_list":["post-1964","post","type-post","status-publish","format-standard","hentry","category-protocol","tag-subversion","tag-svn"],"_links":{"self":[{"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=\/wp\/v2\/posts\/1964","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=1964"}],"version-history":[{"count":6,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=\/wp\/v2\/posts\/1964\/revisions"}],"predecessor-version":[{"id":2165,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=\/wp\/v2\/posts\/1964\/revisions\/2165"}],"wp:attachment":[{"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1964"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1964"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/infosec.andreas-klingler.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1964"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}