Sha256: 7b0895e24cfa6d224ea5850a1bf35fa1848c5bf191794a372dee4b1a6d6e1f2a

Contents?: true

Size: 384 Bytes

Versions: 813

Compression:

Stored size: 384 Bytes

Contents

#!/bin/bash --login
if [[ $pwn_provider != 'aws' ]]; then
  sudo passwd --expire admin
fi

sudo userdel -r pwnadmin

# Regenerate SSH Keys
# RSA
yes y | sudo ssh-keygen -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa -b 8192
# DSA
yes y | sudo ssh-keygen -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa -b 1024
# ECDSA
yes y | sudo ssh-keygen -f /etc/ssh/ssh_host_ecdsa_key -N '' -t ecdsa -b 521

Version data entries

813 entries across 813 versions & 1 rubygems

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