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

10 lines
262 B
Bash
Executable File

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