华为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

相关推荐
YangYang9YangYan2 分钟前
2026大专大数据技术专业学习数据分析的必要性
大数据·学习·数据分析
野犬寒鸦2 分钟前
从零起步学习并发编程 || 第二章:多线程与死锁在项目中的应用示例
java·开发语言·数据库·后端·学习
近津薪荼12 分钟前
递归专题(1)——汉诺塔
c++·学习·算法
AI视觉网奇13 分钟前
static mesh 转skeleton mesh
笔记·学习·ue5
好奇龙猫13 分钟前
【日语学习-日语知识点小记-日本語体系構造-JLPT-N2前期阶段-第一阶段(11):単語文法】
学习
Moonquakes54016 分钟前
嵌入式开发基础学习笔记(pwm spi)
笔记·学习
-To be number.wan16 分钟前
算法学习日记 | 模拟
c++·学习·算法
●VON17 分钟前
React Native for OpenHarmony:解构 TouchableOpacity 的触摸反馈与事件流控制
javascript·学习·react native·react.js·性能优化·openharmony
charlie11451419118 分钟前
malloc 在多线程下为什么慢?——从原理到实测
开发语言·c++·笔记·学习·工程实践
微露清风9 小时前
系统性学习Linux-第二讲-基础开发工具
linux·运维·学习