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.4.348 vagrant/provisioners/post_install.sh
pwn-0.4.347 vagrant/provisioners/post_install.sh
pwn-0.4.346 vagrant/provisioners/post_install.sh
pwn-0.4.344 vagrant/provisioners/post_install.sh
pwn-0.4.343 vagrant/provisioners/post_install.sh
pwn-0.4.342 vagrant/provisioners/post_install.sh
pwn-0.4.341 vagrant/provisioners/post_install.sh
pwn-0.4.340 vagrant/provisioners/post_install.sh
pwn-0.4.339 vagrant/provisioners/post_install.sh
pwn-0.4.338 vagrant/provisioners/post_install.sh
pwn-0.4.336 vagrant/provisioners/post_install.sh
pwn-0.4.333 vagrant/provisioners/post_install.sh