Sha256: 7b0895e24cfa6d224ea5850a1bf35fa1848c5bf191794a372dee4b1a6d6e1f2a

Contents?: true

Size: 384 Bytes

Versions: 792

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

792 entries across 792 versions & 1 rubygems

Version Path
pwn-0.5.89 vagrant/provisioners/post_install.sh
pwn-0.5.88 vagrant/provisioners/post_install.sh
pwn-0.5.87 vagrant/provisioners/post_install.sh
pwn-0.5.86 vagrant/provisioners/post_install.sh
pwn-0.5.85 vagrant/provisioners/post_install.sh
pwn-0.5.84 vagrant/provisioners/post_install.sh
pwn-0.5.83 vagrant/provisioners/post_install.sh
pwn-0.5.81 vagrant/provisioners/post_install.sh
pwn-0.5.80 vagrant/provisioners/post_install.sh
pwn-0.5.79 vagrant/provisioners/post_install.sh
pwn-0.5.78 vagrant/provisioners/post_install.sh
pwn-0.5.77 vagrant/provisioners/post_install.sh
pwn-0.5.76 vagrant/provisioners/post_install.sh
pwn-0.5.75 vagrant/provisioners/post_install.sh
pwn-0.5.74 vagrant/provisioners/post_install.sh
pwn-0.5.73 vagrant/provisioners/post_install.sh
pwn-0.5.72 vagrant/provisioners/post_install.sh
pwn-0.5.71 vagrant/provisioners/post_install.sh
pwn-0.5.70 vagrant/provisioners/post_install.sh
pwn-0.5.69 vagrant/provisioners/post_install.sh