Module: Msf::Exploit::Remote::HTTP::Moodle::URIs
- Included in:
- Msf::Exploit::Remote::HTTP::Moodle
- Defined in:
- lib/msf/core/exploit/remote/http/moodle/uris.rb
Instance Method Summary collapse
-
#moodle_admin_addon_install ⇒ String
Returns the Moodle Admin Addon Installation URL.
-
#moodle_ajax_service ⇒ String
Returns the Moodle Ajax Service URL.
-
#moodle_enrol_ajax ⇒ String
Returns the Moodle AJAX Course Enrollment URL.
-
#moodle_url_login ⇒ String
Returns the Moodle Login URL.
-
#moodle_url_loginas ⇒ String
Returns the Moodle Loginas URL.
-
#moodle_user_home ⇒ String
Returns the Moodle User Home URL.
Instance Method Details
#moodle_admin_addon_install ⇒ String
Returns the Moodle Admin Addon Installation URL
42 43 44 |
# File 'lib/msf/core/exploit/remote/http/moodle/uris.rb', line 42 def moodle_admin_addon_install normalize_uri(target_uri.path, 'admin', 'tool', 'installaddon', 'index.php') end |
#moodle_ajax_service ⇒ String
Returns the Moodle Ajax Service URL
28 29 30 |
# File 'lib/msf/core/exploit/remote/http/moodle/uris.rb', line 28 def moodle_ajax_service normalize_uri(target_uri.path, 'lib', 'ajax', 'service.php') end |
#moodle_enrol_ajax ⇒ String
Returns the Moodle AJAX Course Enrollment URL
21 22 23 |
# File 'lib/msf/core/exploit/remote/http/moodle/uris.rb', line 21 def moodle_enrol_ajax normalize_uri(target_uri.path, 'enrol', 'manual', 'ajax.php') end |
#moodle_url_login ⇒ String
Returns the Moodle Login URL
7 8 9 |
# File 'lib/msf/core/exploit/remote/http/moodle/uris.rb', line 7 def moodle_url_login normalize_uri(target_uri.path, 'login', 'index.php') end |
#moodle_url_loginas ⇒ String
Returns the Moodle Loginas URL
14 15 16 |
# File 'lib/msf/core/exploit/remote/http/moodle/uris.rb', line 14 def moodle_url_loginas normalize_uri(target_uri.path, 'course', 'loginas.php') end |
#moodle_user_home ⇒ String
Returns the Moodle User Home URL
35 36 37 |
# File 'lib/msf/core/exploit/remote/http/moodle/uris.rb', line 35 def moodle_user_home normalize_uri(target_uri.path, 'user', 'index.php') end |