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

相关推荐
一楼的猫3 分钟前
AI写作检测机制技术深度解析:200+维度检测、叙事指纹与网文AI辅助怎么过审
人工智能·学习·安全·chatgpt·ai写作
报错小能手1 小时前
OpenTenBase学习——分布式数据库 / 集群主流架构分类
学习
灵性(๑>ڡ<)☆2 小时前
Java学习笔记 --面向对象进阶
java·笔记·学习
β添砖java3 小时前
Ollama工具学习
学习
小巧的砖头3 小时前
使用SVN+CruiseControl+ANT实现持续集成之一
学习·算法
俭朴的奇异果4 小时前
MongoDB实战开发 【零基础学习,附完整Asp.net示例】
学习·mongodb·asp.net
承渊政道4 小时前
【Python学习】(了解Python背景知识、搭建 Python 环境以及安装PyCharm)
python·学习·pycharm·搭建python环境
东京老树根4 小时前
SAP学习笔记 - MM模块06 - 库存物料,消耗物料,物料类型NLAG,如何确定会计科目,无物料信息记录(通过物料组),排序字符串,消耗物料的收货
学习
茯苓gao17 小时前
嵌入式开发笔记:CANopen相关移位运算与通信协议术语详解
网络·嵌入式硬件·学习·信息与通信
HERR_QQ20 小时前
强化学习的数学原理 学习笔记
人工智能·笔记·学习·自动驾驶