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/50687353html
安装GPG密钥:
gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
安装RVM:git
yum -y update nssshell
curl -sSL https://get.rvm.io | bash -s stable
没法在服务器使用curl命令访问https域名,缘由是nss版本有点旧了,yum -y update nss更新一下ruby
用rvm安装ruby: bash
rvm install ruby服务器
安装bundlercurl
下载beef.gitui
[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"'url
安装指定版本的rubyspa
rvm install "ruby-2.5.3"
安装完beef后退出beef目录从新切换到beef目录
$ bundle
出现上面内容,就再次执行bundle:
./install
kali上的版本
uname -a 内核版本信息
lsb_release -a 发行版本信息。