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.214 vagrant/provisioners/post_install.sh
pwn-0.5.213 vagrant/provisioners/post_install.sh
pwn-0.5.212 vagrant/provisioners/post_install.sh
pwn-0.5.211 vagrant/provisioners/post_install.sh
pwn-0.5.210 vagrant/provisioners/post_install.sh
pwn-0.5.209 vagrant/provisioners/post_install.sh
pwn-0.5.207 vagrant/provisioners/post_install.sh
pwn-0.5.206 vagrant/provisioners/post_install.sh
pwn-0.5.205 vagrant/provisioners/post_install.sh
pwn-0.5.204 vagrant/provisioners/post_install.sh
pwn-0.5.203 vagrant/provisioners/post_install.sh
pwn-0.5.202 vagrant/provisioners/post_install.sh
pwn-0.5.201 vagrant/provisioners/post_install.sh
pwn-0.5.200 vagrant/provisioners/post_install.sh
pwn-0.5.199 vagrant/provisioners/post_install.sh
pwn-0.5.198 vagrant/provisioners/post_install.sh
pwn-0.5.197 vagrant/provisioners/post_install.sh
pwn-0.5.196 vagrant/provisioners/post_install.sh
pwn-0.5.195 vagrant/provisioners/post_install.sh
pwn-0.5.194 vagrant/provisioners/post_install.sh