Commit Graph

3309 Commits (e2428b5c200c45b7e9950934fa7a69c752511dec)

Author SHA1 Message Date
Shelby Pace a9376266bc
Land #10484, Add PhpMyAdmin password extractor 2018-08-30 12:16:17 -05:00
Shelby Pace 924e61c5c1
Added check and removed register_options 2018-08-30 12:13:39 -05:00
Dhiraj Mishra 25145004b2
Removing arch 2018-08-29 22:05:57 +05:30
Dhiraj Mishra c486dab574
Updating
Thank you bcoles :)
2018-08-29 11:45:08 +05:30
bwatters-r7 20daba6e2d
fix line endings 2018-08-28 11:33:17 -05:00
alpiste f1e4079641 move add_thread code to lib/rex/post/meterpreter/extensions/peinjector/peinjector.rb 2018-08-28 09:02:21 -05:00
alpiste 015abca8af MSFTidy module 2018-08-28 09:02:21 -05:00
alpiste bb151bb727 MSFTidy module 2018-08-28 09:02:21 -05:00
alpiste 2251c4a712 Add peinjector post module 2018-08-28 09:02:21 -05:00
Dhiraj Mishra 107baee0a2
Updating store_loot? 2018-08-20 16:57:09 +05:30
Dhiraj Mishra a018d24df4
Fixing some more spaces at EOL 2018-08-20 12:56:59 +05:30
Dhiraj Mishra 71f8a66f8d
Spaces EOL 2018-08-20 12:45:15 +05:30
Dhiraj Mishra 0ae5a16c8e
Adding store_loot 2018-08-20 12:24:31 +05:30
Dhiraj Mishra a926e0f7a6
Root privilege is required 2018-08-20 11:38:02 +05:30
Dhiraj Mishra 6684e5d0eb
PhpMyAdmin creds extractor 2018-08-19 23:40:19 +05:30
Adam Cammack 79736406b2
Land #10394, Cleanup aws_ec2_instance_metadata 2018-08-15 14:51:12 -05:00
reka193 d60aa55e07
Modified regex
Based on the comment: https://github.com/rapid7/metasploit-framework/pull/10394#discussion_r207042496
2018-08-02 15:55:24 +02:00
William Vu ce9f447a29
Land #10384, upload_exec fixes 2018-07-30 13:55:40 -05:00
h00die 7c8190573c remove unused juniper options 2018-07-30 14:20:01 -04:00
reka193 ece9a72d13
Removed tabs 2018-07-30 15:07:55 +02:00
reka193 5962fa752e
Fixes in aws_ec2_instance_metadata
@@ -36,7 +36,7 @@ def initialize(info = {})

    - unless resp =~ /^instance-id.$/m
    + unless resp =~ /^instance-id$/m
The original regex requires one character after 'instance-id' which is not present in the instance.

@@ -50,15 +50,16 @@ def check_curl

    - base_resp.split(/\r\n/).each do |l|
    -    new_uri = base_uri.merge("./#{l}")
    + base_resp.split(/\r?\n/).each do |l|
    +   new_uri = "#{base_uri}#{l}"

    - key_uri = new_uri.merge("./#{key_id}/")
    - key_resp = simple_get(key_uri)
    + new_uri = new_uri.slice(0..(new_uri.index(%r{/public-keys/})+'/public-keys'.length))
    + key_uri = "#{new_uri}#{key_id}/"
    + key_resp = simple_get(key_uri)

1. merge function was causing 'rescue in merge' errors
2. the split function could not succeed, there were no '\r\n' between the lines but '\n' only
3. the special case was not handled correctly 
was trying to curl http://169.254.169.254/latest/meta-data/public-keys/0=Key0/ instead of http://169.254.169.254/latest/meta-data/public-keys/0/

@@ -94,6 +95,6 @@ def setup

    - cmd_exec("curl #{url}")
    + cmd_exec("curl -s #{url}")
Curl was causing issues when not in silent mode.
2018-07-30 14:02:15 +02:00
reka193 6790ac1998
Reset to original 2018-07-30 10:48:32 +02:00
William Vu 0433cb92ba Fix upload_exec for absolute paths
Also prefer chmod 700 over 755, since it's our file.
2018-07-26 19:48:12 -05:00
Brent Cook 32d6344e6b
Land #9964, android post module to extract subscriber info 2018-07-26 16:58:27 -05:00
Brent Cook 71646da97f fix error handling 2018-07-26 16:48:34 -05:00
reka193 408dc7793f
Update aws_ec2_instance_metadata.rb 2018-07-23 10:00:12 +02:00
reka193 4c4f0c1d3e
Update
Fixes for Kali linux 4.14 with ruby 2.3.
2018-07-18 10:42:51 +00:00
Brendan Coles a020d48caf Move module documentation to documentation directory 2018-07-13 04:46:25 +00:00
Brent Cook b4b7bf03da
Land #10171, Implement desktop shell and screensaver post modules 2018-07-05 17:33:06 -05:00
thesubtlety 970c164e06 fix undefined method capitalize error for array 2018-07-05 14:33:51 -07:00
William Vu dbb0748c1c
Land #9998, customizable golden ticket duration 2018-06-27 15:51:56 -05:00
William Vu d7770a98b2 s/Seperated/Separated/ 2018-06-27 15:36:41 -05:00
Jacob Robles c4bf12cbe0
ntds_grabber msftidy fixes 2018-06-26 08:22:11 -05:00
Eliott Teissonniere c4632f44aa Fix windows 2018-06-21 16:46:15 +00:00
Eliott Teissonniere 2008de4080 Support Windows screensaver and locking 2018-06-21 16:46:00 +00:00
Eliott Teissonniere a8e9c20d6c Make open works on windows 2018-06-20 09:23:57 +00:00
Eliott Teissonniere 4c0ac00f38 Make screensaver works on OSX 2018-06-20 09:13:51 +00:00
Eliott Teissonniere 351a0bd37f Cleanup command execution code 2018-06-18 07:24:54 +00:00
Eliott Teissonniere a750aedb6b Move xdg_screensaver to multi module 2018-06-18 07:19:52 +00:00
Eliott Teissonniere 1f6b9a51ea Remove useless import 2018-06-18 06:56:39 +00:00
Eliott Teissonniere 8342751b05 Move xdg_open to multi module 2018-06-18 06:54:13 +00:00
Wei Chen ec88683ad2
Land #10165, Fix missing RequestError in a few post modules 2018-06-15 15:38:49 -05:00
William Vu b733b79533
Land #10021, post/multi/recon/sudo_commands module 2018-06-14 16:33:50 -05:00
Eliott Teissonniere c4af2aca53 Check command availability 2018-06-14 10:00:26 +00:00
Eliott Teissonniere e523d5a114
Fix tabbed indents 2018-06-14 11:35:03 +02:00
Eliott Teissonniere b9d59315a8
Fix English in XDG screensaver 2018-06-14 11:30:04 +02:00
Eliott Teissonniere c5c0dffa3a
Fix English for XDG open 2018-06-14 11:28:30 +02:00
Eliott Teissonniere ee81ed6f7e Add XDG screensaver 2018-06-14 08:58:24 +00:00
Eliott Teissonniere 3c4bcf9258 Make XDG open module 2018-06-14 08:33:51 +00:00
William Vu 14da99bb3d Fix missing RequestError in a few post modules
Should be Rex::Post::Meterpreter::RequestError.
2018-06-12 17:11:29 -05:00