root 11 years ago
commit 866f5328a9
  1. 1
      build-vm/boot.sh
  2. BIN
      image/bobross.jpg
  3. 2
      image/index.php

@ -5,6 +5,7 @@ echo
cd /home/security/workshop cd /home/security/workshop
# Update repository # Update repository
git clean -f
git pull origin master git pull origin master
# Update Apache configuration # Update Apache configuration

Binary file not shown.

After

Width:  |  Height:  |  Size: 429 KiB

@ -25,7 +25,7 @@ if($_FILES) {
<div class="header">The <em>meest recente</em> plaatjes van vandaag:</div> <div class="header">The <em>meest recente</em> plaatjes van vandaag:</div>
<?php <?php
foreach ( glob('uploads/*') as $image ) { foreach ( glob('uploads/*') as $image ) {
echo '<a href="image.php?file='.$image.'"><img src="'.$image.'"></a>'; echo '<a href="'.$image.'"><img src="'.$image.'"></a>';
} }
?> ?>
</div> </div>

Loading…
Cancel
Save