Sha256: 0b68c9b9c271752c08620c1fb0efadf383e4026f6922fc7fb5f3daa5ad669b34
Contents?: true
Size: 839 Bytes
Versions: 792
Compression:
Stored size: 839 Bytes
Contents
#!/bin/bash --login source /etc/profile.d/globals.sh if [[ $PWN_ROOT == '' ]]; then if [[ ! -d '/pwn' ]]; then pwn_root=$(pwd) else pwn_root='/pwn' fi else pwn_root="${PWN_ROOT}" fi pwn_provider=`echo $PWN_PROVIDER` $screen_cmd "${apt} install -y apache2 ${assess_update_errors}" $screen_cmd "a2enmod proxy ${assess_update_errors}" $screen_cmd "a2enmod proxy_http ${assess_update_errors}" $screen_cmd "a2enmod rewrite ${assess_update_errors}" $screen_cmd "a2enmod ssl ${assess_update_errors}" $screen_cmd "a2enmod headers ${assess_update_errors}" # Disable Version Headers $screen_cmd "echo -e \"ServerSignature Off\nServerTokens Prod\n\" >> /etc/apache2/apache2.conf ${assess_update_errors}" $screen_cmd "cp ${pwn_root}/etc/userland/${pwn_provider}/apache2/*.conf /etc/apache2/sites-available/ ${assess_update_errors}"
Version data entries
792 entries across 792 versions & 1 rubygems