Ticket #240 (closed defect: fixed)

Opened 6 months ago

Last modified 4 months ago

irb hoses tab completion when Wirble is used

Reported by: egypt Owned by: hdm
Priority: minor Milestone:
Component: framework3 Version:
Keywords: tabcompletion, tab, irb Cc:

Description

msf auxiliary(browser_autopwn) > show <tab><tab>
show actions    show all        show encoders   show exploits   show options    show plugins    
show advanced   show auxiliary  show evasion    show nops       show payloads   show targets    
msf auxiliary(browser_autopwn) > irb
[*] Starting IRB shell...

>> exit
msf auxiliary(browser_autopwn) > show <tab><tab>
Display all 367 possibilities? (y or n)n
msf auxiliary(browser_autopwn) > show o<tab><tab>
object_id                   option_values_dispatch      option_values_payloads      option_values_targets       
open                        option_values_encoders      option_values_target_addrs  or                          
option_values_actions       option_values_nops          option_values_target_ports  
msf auxiliary(browser_autopwn) > 

This may be because of my ~/.irbrc which follows:

# load libraries
require 'rubygems'
require 'wirble'

# start wirble (with color)
Wirble.init
Wirble.colorize

Change History

Changed 6 months ago by egypt

  • summary changed from irb hoses tab completion to irb hoses tab completion when Wirble is used

Changed 4 months ago by hdm

This has nothing to do with Wirble and everything to do with IRB. IRB replaces the tab completion handler, which is global for the process using readline. We need to restore this after the irb command completes.

Changed 4 months ago by hdm

  • status changed from new to closed
  • resolution set to fixed

(In [5653]) Fixes #240. Resets tab completion after irb

Note: See TracTickets for help on using tickets.