@@ -19,8 +19,8 @@ def initialize
19
19
super (
20
20
'Name' => 'SVN wc.db Scanner' ,
21
21
'Description' => %q{
22
- Scan for servers that allow access to the SVN wc.db file.
23
- Based on the work by Tim Meddin.
22
+ Scan for servers that allow access to the SVN wc.db file.
23
+ Based on the work by Tim Meddin.
24
24
} ,
25
25
'Author' =>
26
26
[
@@ -32,10 +32,10 @@ def initialize
32
32
] ,
33
33
'License' => MSF_LICENSE
34
34
)
35
-
35
+
36
36
register_advanced_options (
37
37
[
38
- OptString . new ( 'BASE_PATH' , [ false , 'Path to the directory with the .svn folder.' , nil ] )
38
+ OptString . new ( 'BASE_PATH' , [ false , 'Path to the directory with the .svn folder.' , nil ] )
39
39
] , self . class )
40
40
end
41
41
@@ -46,7 +46,7 @@ def run_host(ip)
46
46
get_wcdb ( '/.svn/wc.db' )
47
47
end
48
48
end
49
-
49
+
50
50
def get_wcdb ( path )
51
51
proto = ( ssl ? 'https://' : 'http://' )
52
52
vprint_status ( "Trying #{ proto } #{ vhost } :#{ rport } #{ path } " )
@@ -61,7 +61,7 @@ def get_wcdb(path)
61
61
62
62
if res and res . code == 200
63
63
print_good ( "SVN wc.db database found on #{ vhost } :#{ rport } " )
64
-
64
+
65
65
file = store_loot (
66
66
"svn.wcdb.database" ,
67
67
"application/octet-stream" ,
@@ -70,7 +70,7 @@ def get_wcdb(path)
70
70
"wc.db" ,
71
71
"SVN wc.db database"
72
72
)
73
-
73
+
74
74
print_good ( "SVN wc.db database stored in #{ file } " )
75
75
76
76
report_note (
0 commit comments