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

相关推荐
蓝婷儿23 分钟前
6个月Python学习计划 Day 16 - 面向对象编程(OOP)基础
开发语言·python·学习
叶子20242244 分钟前
学习使用YOLO的predict函数使用
人工智能·学习·yolo
jackson凌1 小时前
【Java学习笔记】SringBuffer类(重点)
java·笔记·学习
黑客老李2 小时前
JavaSec | SpringAOP 链学习分析
java·运维·服务器·开发语言·学习·apache·memcached
海的诗篇_3 小时前
移除元素-JavaScript【算法学习day.04】
javascript·学习·算法
傍晚冰川4 小时前
FreeRTOS任务调度过程vTaskStartScheduler()&任务设计和划分
开发语言·笔记·stm32·单片机·嵌入式硬件·学习
月初,4 小时前
MongoDB学习和应用(高效的非关系型数据库)
学习·mongodb·nosql
casual_clover5 小时前
Android 之 kotlin 语言学习笔记四(Android KTX)
android·学习·kotlin
Love__Tay5 小时前
【学习笔记】Python金融基础
开发语言·笔记·python·学习·金融
我的golang之路果然有问题6 小时前
云服务器部署Gin+gorm 项目 demo
运维·服务器·后端·学习·golang·gin