metasploit-framework/tools/modules/aws-aggregator-userdata.sh

10 lines
262 B
Bash
Raw Normal View History

#!/bin/bash -ex
2017-03-25 05:33:04 +00:00
yum -y install ruby23 git
update-alternatives --set ruby /usr/bin/ruby2.3
2017-03-25 05:33:04 +00:00
git clone https://github.com/rapid7/metasploit-aggregator.git
cd metasploit-aggregator/ruby
gem install bundler
2017-03-25 05:33:04 +00:00
bundle
screen -d -m ruby -Ilib ./bin/metasploit-aggregator