1 Star 0 Fork 0

ThinkingT/metasploit-framework

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
msfconsole 796 Bytes
一键复制 编辑 原始数据 按行查看 历史
adfoster-r7 提交于 2023-10-13 01:23 . Add support for ruby 3.3.0-preview2
#!/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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ThinkingT/metasploit-framework.git
[email protected]:ThinkingT/metasploit-framework.git
ThinkingT
metasploit-framework
metasploit-framework
master

搜索帮助