Sha256: dffa5d99818d536b3500cb91080fa2d690ced972cac73c69c07eb7825aae4c31

Contents?: true

Size: 1.08 KB

Versions: 596

Compression:

Stored size: 1.08 KB

Contents

#!/bin/bash --login
source /etc/profile.d/globals.sh

os=$(uname -s)

case $os in
  'Darwin')
    sudo port -N install gnupg2
    ;;
  'Linux')
    $screen_cmd "${apt} install -y gnupg2 ${assess_update_errors}"
    grok_error
    ;;
  *)
    echo "${os} not currently supported."
    exit 1
esac

#curl -sSL https://rvm.io/mpapis.asc | sudo gpg2 --no-tty --import -
key1='409B6B1796C275462A1703113804BB82D39DC0E3'
key2='7D2BAF1CF37B13E2069D6956105BD0E739499BDB'

# sudo /bin/bash --login -c "gpg2 --keyserver hkp://pool.sks-keyservers.net --recv-keys ${key1} ${key2}"
sudo /bin/bash --login -c 'curl -sSL https://rvm.io/mpapis.asc | sudo gpg2 --import -'
sudo /bin/bash --login -c 'curl -sSL https://rvm.io/pkuczynski.asc | sudo gpg2 --import -'
sudo /bin/bash --login -c "echo -e \"trust\n5\ny\n\" | gpg2 --no-tty --command-fd 0 --edit-key ${key1}"
sudo /bin/bash --login -c "echo -e \"trust\n5\ny\n\" | gpg2 --no-tty --command-fd 0 --edit-key ${key2}"

# Multi-user install required due to the need to run MSFRPCD as root w/in metasploit gemset
curl -sSL https://get.rvm.io | sudo bash -s stable
rvm reload

Version data entries

596 entries across 596 versions & 1 rubygems

Version Path
pwn-0.5.235 packer/provisioners/rvm.sh
pwn-0.5.234 packer/provisioners/rvm.sh
pwn-0.5.233 packer/provisioners/rvm.sh
pwn-0.5.232 packer/provisioners/rvm.sh
pwn-0.5.231 packer/provisioners/rvm.sh
pwn-0.5.230 packer/provisioners/rvm.sh
pwn-0.5.229 packer/provisioners/rvm.sh
pwn-0.5.228 packer/provisioners/rvm.sh
pwn-0.5.227 packer/provisioners/rvm.sh
pwn-0.5.226 packer/provisioners/rvm.sh
pwn-0.5.225 packer/provisioners/rvm.sh
pwn-0.5.224 packer/provisioners/rvm.sh
pwn-0.5.223 packer/provisioners/rvm.sh
pwn-0.5.222 packer/provisioners/rvm.sh
pwn-0.5.221 packer/provisioners/rvm.sh
pwn-0.5.220 packer/provisioners/rvm.sh
pwn-0.5.219 packer/provisioners/rvm.sh
pwn-0.5.217 packer/provisioners/rvm.sh
pwn-0.5.216 packer/provisioners/rvm.sh
pwn-0.5.215 packer/provisioners/rvm.sh