Feature #664

The resource command should tab complete filenames

Added by James Lee about 2 years ago. Updated about 1 year ago.

Status:Closed Start date:12/08/2009
Priority:Normal Due date:
Assignee:James Lee % Done:

100%

Category:user interface
Target version:Metasploit 3.6
Resolution: How To Use:
Release Note:

Related issues

related to Metasploit Framework - Bug #1358: the resource command doesn't print any error when the spe... Closed 03/26/2010

Associated revisions

Revision a6d39ca5
Added by James Lee over 1 year ago

add tab completion for filenames. works fine with real readline, only does current directory in rbreadline, see #664

git-svn-id: file:///home/svn/framework3/trunk@9357 4d416f70-5f16-0410-b530-b9f4589650da

History

Updated by James Lee about 2 years ago

  • Category set to user interface

Updated by HD Moore about 2 years ago

This may be a little involved, feel free to push back to 3.4

Updated by James Lee about 2 years ago

  • Target version changed from Metasploit 3.3.3 to 18

What we really need is a generic filename completion helper that any command can use. Pushing this to 3.3.4 for now.

Updated by HD Moore almost 2 years ago

  • Target version changed from 18 to Metasploit 3.4.0

Updated by James Lee over 1 year ago

  • Target version changed from Metasploit 3.4.0 to Metasploit 3.4.1

Updated by James Lee over 1 year ago

  • % Done changed from 0 to 80

Works with real readline, only works with files in the current directory in rbreadline. Requires tweaks to rbreadline's file completion handler to work correctly.

Updated by James Lee over 1 year ago

  • Target version changed from Metasploit 3.4.1 to Metasploit 3.5.0

rbreadline is a pain. =/

Updated by James Lee about 1 year ago

  • Target version changed from Metasploit 3.5.0 to Metasploit 3.6

Updated by James Lee about 1 year ago

  • Status changed from New to Resolved
  • % Done changed from 80 to 100

Finally fixed in r11451

Updated by Jonathan Cran about 1 year ago

  • Status changed from Resolved to Closed

hurray, thanks!

msf exploit(psexec) > resource <tab> <tab>
resource .svn                   resource modules                resource msfopcode              resource scripts
resource HACKING                resource msfcli                 resource msfpayload             resource show_module_path.patch
resource README                 resource msfconsole             resource msfpescan              resource test
resource armitage               resource msfd                   resource msfrpc                 resource test.output
resource data                   resource msfelfscan             resource msfrpcd                resource tools
resource documentation          resource msfencode              resource msfupdate              
resource external               resource msfgui                 resource payload.jar            
resource lib                    resource msfmachscan            resource plugins                

Also available in: Atom PDF