# 3 :3690 subversion

```
http://10.10.10.203:3690/
( success ( 2 2 ( ) ( edit-pipeline svndiff1 accepts-svndiff2 absent-entries commit-revprops depth log-revprops atomic-revprops partial-replay inherited-props ephemeral-txnprops file-revs-reverse list ) ) ) 

# svn is a type of version control; used to maintain current and historical version of projects.

# Banner Grabbing 
$ nc -vn 10.10.10.203 3690
(UNKNOWN) [10.10.10.203] 3690 (svn) open
( success ( 2 2 ( ) ( edit-pipeline svndiff1 accepts-svndiff2 absent-entries commit-revprops depth log-revprops atomic-revprops partial-replay inherited-props ephemeral-txnprops file-revs-reverse list ) ) )

# list projects
$ svn ls svn://10.10.10.203
dimension.worker.htb/
moved.txt

# show commit history
$ svn log svn://10.10.10.203
------------------------------------------------------------------------
r5 | nathen | 2020-06-20 06:52:00 -0700 (Sat, 20 Jun 2020) | 1 line

Added note that repo has been migrated
------------------------------------------------------------------------
r4 | nathen | 2020-06-20 06:50:20 -0700 (Sat, 20 Jun 2020) | 1 line

Moving this repo to our new devops server which will handle the deployment for us
------------------------------------------------------------------------
r3 | nathen | 2020-06-20 06:46:19 -0700 (Sat, 20 Jun 2020) | 1 line
-
------------------------------------------------------------------------
r2 | nathen | 2020-06-20 06:45:16 -0700 (Sat, 20 Jun 2020) | 1 line

Added deployment script
------------------------------------------------------------------------
r1 | nathen | 2020-06-20 06:43:43 -0700 (Sat, 20 Jun 2020) | 1 line

First version
------------------------------------------------------------------------

# download / checkout repo
$ svn checkout svn://10.10.10.203 | svn co svn://10.10.10.203
# if want to checkout a different revision (revision 2?)
svn up -r 2
svn diff -c <commit#>

$ cat moved.txt
This repository has been migrated and will no longer be maintaned here.
You can find the latest version at: http://devops.worker.htb
// The Worker team :)

# there is another folder dimension.worker.htb
# adding to /etc/hosts
10.10.10.203 worker.htb dimension.worker.htb

# can extract web resources / creds etc using svn-extractor
https://github.com/anantshri/svn-extractor
didn't work
```
