https://rvm.io/
https://rvm.io/rvm/security
https://www.runoob.com/ruby/ruby-installation-unix.html
https://cloud.tencent.com/developer/article/1409323

CentOS 6.5下安装BeEF   https://blog.csdn.net/scnu_jiechao/article/details/50687353


安装GPG密钥:
gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB

 安装RVM:

 yum -y update nss

curl -sSL https://get.rvm.io | bash -s stable

无法在服务器使用curl命令访问https域名,原因是nss版本有点旧了,yum -y update nss更新一下

用rvm安装ruby: 

rvm install ruby

 安装bundler

下载beef.git

[root@localhost ~]# mv beef /opt/
[root@localhost ~]# cd /opt/beef/
Required ruby-2.5.3 is not installed.
To install do: 'rvm install "ruby-2.5.3"'

安装指定版本的ruby

rvm install "ruby-2.5.3"

安装完beef后退出beef目录重新切换到beef目录

$ bundle

出现上面内容,就再次执行bundle:

./install

##################

bundle

yum -y install epel-release

yum -y install nodejs

vim config.yaml

修改用户名密码

./beef

##############################

安装Python3.6.6

yum -y install gcc zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel
wget https://www.python.org/ftp/python/3.6.6/Python-3.6.6.tgz

tar -zxf Python-3.6.6.tgz

cd Python-3.6.6

./configure --prefix=/usr/local/python3.6.6

make && make install

ln -s /usr/local/python3.6.6/bin/python3 /usr/bin/python3

python3 -V

配置pip

cp /usr/bin/python3.6.6/bin/pip3 /usr/bin/

cp /usr/bin/python3.6.6/bin/pip3.6 /usr/bin/

#############################

安装mitmproxy

wget https://github.com/mitmproxy/mitmproxy/archive/v4.0.4.zip

unzip mitmproxy-4.0.4.zip

cd mitmproxy-4.0.4

./dev.sh

cd ./venv/bin

可以看到mitmdump命令,以及activate

. venv/bin/activate可以进入虚拟运行环境,输入deactivate可以出去虚拟环境

./mitmdump –version可以查看版本

下载证书

./mitmproxy --listen-host ip -p 端口

手机配置好代理

在浏览器访问mitm.it

点击对应的平台

#########################################

kali上的版本

uname -a 内核版本信息

lsb_release -a  发行版本信息。

 mitmproxy的版本

																

最新文章

  1. Android 手机卫士--md5加密过程
  2. Android开源框架:Universal-Image-Loader解析(二)MemoryCache
  3. .NET Expression Tree
  4. fzu月赛 2203 单纵大法好 二分
  5. ros-Qt代码环境的搭建
  6. using 语句中使用的类型必须可隐式转换为“System.IDisposable”
  7. HttpServlet请求重定向
  8. Using GUID to generate the unique file name in C#
  9. Android修改XML文件
  10. winform正在使用dsoframer迅速"Unable to display the inactive document.Click here to reacitive the document."
  11. .net实现依赖注入
  12. Python编程工具IDLE快捷键
  13. centos 修改/etc/fstab后无法启动
  14. TCP分组交换详解
  15. 洛谷P4704 太极剑(乱搞)
  16. Skip the Class
  17. VirtualBox中slitaz系统不能联网
  18. three.map.control
  19. An ''all'' model group must appear in a particle with...问题解决记录
  20. flask获取传入参数的两种方式

热门文章

  1. NO3:步履蹒跚-完成第一章节学习
  2. LuoguP4383 [八省联考2018]林克卡特树lct
  3. bzoj 1113 海报pla
  4. Django 发布
  5. POJ1456:Supermarket
  6. understanding of Pipe line & Timing Logic
  7. 谁是Docker的开发者
  8. rsyn文件传输
  9. IoC概述
  10. p3201&bzoj1483 梦幻布丁