diff --git a/lib/ronin/exploits/cli/commands/run.rb b/lib/ronin/exploits/cli/commands/run.rb index bac9c2d7..510c9589 100644 --- a/lib/ronin/exploits/cli/commands/run.rb +++ b/lib/ronin/exploits/cli/commands/run.rb @@ -283,15 +283,15 @@ def run(name=nil) run_test else run_exploit - end - if options[:irb] - start_shell - else - post_exploitation - end + if options[:irb] + start_shell + else + post_exploitation + end - perform_cleanup + perform_cleanup + end end #