diff --git a/.gitignore b/.gitignore index 31d1a359f..d9aaa4f3a 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,5 @@ modules/**/Gemfile.lock modules/generators/network/pcap/files/packet.pcap lib/resources/images/scenario Gemfile.lock +.vagrant +rgloader \ No newline at end of file diff --git a/modules/vulnerabilities/unix/webapp/commando/manifests/install.pp b/modules/vulnerabilities/unix/webapp/commando/manifests/install.pp index 02b2da883..bb6c57011 100644 --- a/modules/vulnerabilities/unix/webapp/commando/manifests/install.pp +++ b/modules/vulnerabilities/unix/webapp/commando/manifests/install.pp @@ -108,6 +108,12 @@ class commando::install { content => template('commando/profile.php.erb') } + # update profile page + file{ "$docroot/update_profile.php": + ensure => file, + content => template('commando/update_profile.php.erb') + } + # connection file file{ "$docroot/connect.php": ensure => file, diff --git a/modules/vulnerabilities/unix/webapp/commando/templates/profile.php.erb b/modules/vulnerabilities/unix/webapp/commando/templates/profile.php.erb index 7b5523c2c..5eed94275 100644 --- a/modules/vulnerabilities/unix/webapp/commando/templates/profile.php.erb +++ b/modules/vulnerabilities/unix/webapp/commando/templates/profile.php.erb @@ -63,14 +63,18 @@ if(!isset($_SESSION['username'])){ if ($user == $admin_uname) { ?>