File tree Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env ruby
2
2
# -*- coding: binary -*-
3
3
#
4
- # This user interface provides users with a command console interface to the
5
- # framework.
6
- #
4
+ # Starts the HTTP DB Service interface
7
5
8
- #
9
- # Standard Library
10
- #
11
-
12
- # msfbase = __FILE__
13
- # while File.symlink?(msfbase)
14
- # msfbase = File.expand_path(File.readlink(msfbase), File.dirname(msfbase))
15
- # end
16
- #
17
- # $:.unshift(File.expand_path(File.join(File.dirname(msfbase), 'lib')))
18
- # require 'msfenv'
19
6
20
7
require 'pathname'
21
-
22
- #
23
- # Project
24
- #
25
-
26
- # @see https://github.com/rails/rails/blob/v3.2.17/railties/lib/rails/generators/rails/app/templates/script/rails#L3-L5
27
8
require Pathname . new ( __FILE__ ) . realpath . expand_path . parent . join ( 'config' , 'boot' )
28
9
require 'msf/core/db_manager/http/http_db_manager_service'
29
10
HttpDBManagerService . new ( ) . start ( :Port => '8080' , :Host => '0.0.0.0' )
You can’t perform that action at this time.
0 commit comments