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