Skip to content

Commit 77e70d8

Browse files
committed
Add 2 more variables for meterpreter irb
1 parent c559483 commit 77e70d8

File tree

1 file changed

+2
-0
lines changed
  • lib/rex/post/meterpreter/ui/console/command_dispatcher

1 file changed

+2
-0
lines changed

lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,8 @@ def cmd_irb(*args)
314314
print_status("Starting IRB shell")
315315
print_status("The 'client' variable holds the meterpreter client\n")
316316

317+
session = client
318+
framework = client.framework
317319
Rex::Ui::Text::IrbShell.new(binding).run
318320
end
319321

0 commit comments

Comments
 (0)