Commit Graph

3586 Commits

Author SHA1 Message Date
Shelby Pace dbace01015 modified regex lines 2018-09-07 11:13:09 -05:00
Shelby Pace 18ffd36409 storing config file, changed regex 2018-09-07 08:13:10 -05:00
Shelby Pace 6c3b1081ea added function to grab and store user and passwd 2018-09-06 12:03:00 -05:00
pwnforfun e1ec0ec899 hash_dump now working properly up to Mac OS X High Sierra (10.13.6 included) 2018-09-06 12:00:36 +02:00
Tim W b7da75d860 fix #10576, fix session upgrade HANDLE_TIMEOUT 2018-09-04 16:46:33 +08:00
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
7echSec 0aac9a4881 unmarshal 2018-08-30 20:49:09 +05:30
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
AlbertoCoding bb24c3114a Minor code style fixes made 2018-08-15 04:49:17 +02:00
AlbertoCoding e43798b148 minor fix 2018-08-14 19:21:43 +02:00
AlbertoCoding 75ef8e8097 enum_commands.rb module added 2018-08-14 18:31:16 +02:00
AlbertoCoding 259b92a64b iptables_removal.rb module added 2018-08-14 18:24:15 +02:00
Kevin Gonzalvo 41dd8a62cb rename class name
rename for snake case
2018-08-10 17:27:19 +02:00
Kevin Gonzalvo bb208118c3 Ruby decrypt
The decryption of the key in the msf has been added
2018-08-10 16:25:33 +02:00
Kevin Gonzalvo 0e8180f263 delete space
delete bad spaces
2018-08-06 19:01:32 +02:00
Kevin Gonzalvo 5e7a77dea8 add new functiom
added checking directory of VNC
2018-08-06 18:45:24 +02:00
Kevin Gonzalvo d6a60bd10e remove dependencies
removed not necessary dependencies
2018-08-06 17:20:25 +02:00
Kevin Gonzalvo e194922855 Add vnc password osx
This module show Apple VNC Password from Mac OS X High Sierra.
2018-08-06 17:11:42 +02: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
AlbertoCoding 93413481e8 IPTABLES rules removal module added 2018-07-12 14:16:22 +02:00
AlbertoCoding 60becc272a Native DNS Spoofing module added 2018-07-12 14:06:41 +02:00
AlbertoCoding 5b60a91b66 Style and code optimization changes 2018-07-12 13:54:47 +02:00
AlbertoCoding 5b36515947 Merge remote-tracking branch 'origin/master' into vpef 2018-07-12 13:23:44 +02: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