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

相关推荐
谷歌开发者2 小时前
Web 开发指向标 | Chrome 开发者工具学习资源 (一)
前端·chrome·学习
本郡主是喵3 小时前
用 TypeScript 进行 Truffle 测试
学习·区块链
武文斌775 小时前
复习总结最终版:单片机
linux·单片机·嵌入式硬件·学习
sealaugh326 小时前
AI(学习笔记第十二课) 使用langsmith的agents
人工智能·笔记·学习
QZ_orz_freedom6 小时前
学习笔记--事务管理
笔记·学习
im_AMBER7 小时前
Web 开发 30
前端·笔记·后端·学习·web
试试勇气7 小时前
Linux学习笔记(八)--环境变量与进程地址空间
linux·笔记·学习
蒙奇D索大7 小时前
【数据结构】考研数据结构核心考点:平衡二叉树(AVL树)详解——平衡因子与4大旋转操作入门指南
数据结构·笔记·学习·考研·改行学it
andwhataboutit?8 小时前
Docker Compose学习
学习·docker·容器
im_AMBER9 小时前
数据结构 04 栈和队列
数据结构·笔记·学习