华为nova2下无需root安装Metasploit

华为nova2下安装google play store失败 从http://www.apkmirror.com/中下载termux 通过数据线传到手机上并安装

进入termux后执行如下指令: pkg install curl curl -OL https://raw.githubusercontent.com/Hax4us/Metasploit_termux/master/metasploit.sh chmod +x metasploit.sh ls -alh ./metasploit.sh After few minutes it will ask "Do you want to continue? [y/n] → Press y

但是执行完报错如下: [*] Metasploit requires the Bundler gem to be installed $ gem install bundler

解决方式是执行如下指令: gem install bundler bundle install

还是报错如下: 缺少Gemfile.local(好像是,记不清了)

解决方式是执行如下指令: apt update apt -y upgrade apt -y install git ruby ruby-dev make clang autoconf curl wget ncurses-utils libsqlite-dev postgresql postgresql-dev libpcap-dev libffi-dev libxslt-dev pkg-config git clone -b termux https://github.com/timwr/metasploit-framework.git cd metasploit-framework gem install bundler gem install nokogiri -- --using-system-libraries bundle install --gemfile Gemfile.local ./msfconsole

还是报错如下: can't find gem bundler ( >= 0.a) with executable bundle

解决方式是执行如下指令: gem install bundler -v 1.15.1

参考链接: How to Fix Metasploit error - requires the bundler gem to be installed? [Solved] - Techglimpse https://lucideustech.blogspot.com/2018/02/attacking-windows-platform-with.html?m=1 https://github.com/rapid7/metasploit-framework/issues/8765 ruby - find_spec_for_exe': can't find gem bundler (>= 0.a) (Gem::GemNotFoundException) - Stack Overflow

相关推荐
lilihuigz1 天前
Tutor LMS 4.0 Beta版全新上线:以学习者为中心的移动优先学习体验
学习·在线教育·lms
kuinnebula1 天前
RTSP学习
学习
北顾笙9801 天前
LLM学习-day04
学习
lzj_pxxw1 天前
W25Q64存储芯片 软件设计刚需常识
stm32·单片机·嵌入式硬件·mcu·学习
Slow菜鸟1 天前
AI学习篇(四) | AI设计类Skills推荐清单(2026年)
人工智能·学习
念恒123061 天前
Python(列表进阶)
python·学习
QYQ_11271 天前
嵌入式学习——杂项设备、Platform总线和设备树源文件
学习
wuxinyan1231 天前
大模型学习之路03:提示工程从入门到精通(第三篇)
人工智能·python·学习
十安_数学好题速析1 天前
【多选】曲线方程:四步避坑判断曲线类型
笔记·学习·高考
千寻girling1 天前
五一劳动节快乐 [特殊字符][特殊字符][特殊字符]
java·c++·git·python·学习·github·php