/
githubmirror
/
metasploit-framework
Обзор
Документация
Войти
/
githubmirror
/
metasploit-framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
msfconsole
27 строк
796 B
Simon Janusz
Revert "Replace Readline with Reline"
02 окт 2024, 15:15
Не верифицирован
02 окт 2024, 15:15
a31261e
Код
Авторство
О чём код?
#!/usr/bin/env ruby # -*- coding: binary -*- # # This user interface provides users with a command console interface to the # framework. # require 'pathname' begin # Silences warnings as they only serve to confuse end users if defined?(Warning) && Warning.respond_to?(:[]=) Warning[:deprecated] = false unless ENV['CI'] end # @see https://github.com/rails/rails/blob/v3.2.17/railties/lib/rails/generators/rails/app/templates/script/rails#L3-L5 require Pathname.new(__FILE__).realpath.expand_path.parent.join('config', 'boot') require 'metasploit/framework/profiler' Metasploit::Framework::Profiler.start require 'msfenv' require 'metasploit/framework/command/console' Metasploit::Framework::Command::Console.start rescue Interrupt puts "\nAborting..." exit(1) end