Nmap Development mailing list archives

Re: [NSE] new scripts and libraries: svn


From: David Fifield <david () bamsoftware com>
Date: Thu, 19 Aug 2010 09:59:49 -0600

On Thu, Aug 19, 2010 at 07:17:10AM +0200, Patrik Karlsson wrote:

On 19 aug 2010, at 00.07, David Fifield wrote:

On Wed, Aug 18, 2010 at 10:51:33PM +0200, Patrik Karlsson wrote:
Thanks for the thorough test, I should have done a better initial test, sorry for that.
Btw, is there a way to discover the repositories a specific service has by using the svn command?
If not, we could write a brute script for that to I guess.

Do you mean

$ svn help ls
list (ls): List directory entries in the repository.
usage: list [TARGET[@REV]...]

 List each TARGET file and the contents of each TARGET directory as
 they exist in the repository.  If TARGET is a working copy path, the
 corresponding repository URL will be used. If specified, REV determines
 in which revision the target is first looked up.


When I do:
svn ls svn://1.2.3.4/

I get:
svn: No repository found in 'svn://1.2.3.4'

I need to add /svnrepos at the end:
svn ls svn://1.2.3.4/svnrepos/

It worked for me. Maybe it's because I started svnserve with the --root
option pointing directly to a repository. But you're right, it appears
that it doesn't always work.

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: