Popular Vulnerable Code

Australia

Don’t worry about the world coming to an end today. It is already tomorrow in Australia.
-Charles M Schulz

<?php $display = $_REQUEST['display'];$type = isset($_REQUEST['type']) ? $_REQUEST['type'] : 'tool';$action = isset($_REQUEST['action']) ? $_REQUEST['action'] : ''; ?></div><div><?php switch($action) {case 'showlog':?><h2><?php echo sprintf(_('%s - last 2000 lines'),$amp_conf['ASTLOGDIR']."/full") ?></h2><a href="config.php?<?php echo "display=$display&type=$type&action=showlog"?>"><?php echo _("Redisplay Asterisk Full debug log (last 2000 lines)") ?></a><br><hr><br><?phpecho system ('tail --line=2000 '.$amp_conf['ASTLOGDIR'].'/full | sed -e "s/$/<br>/"');break; default:echo "<h2>"._("Asterisk Log Files")."</h2>";?><a href="config.php?<?php echo "display=$display&type=$type&action=showlog"?>"><?php echo _("Display Asterisk Full debug log (last 2000 lines)") ?></a><br><br><br><br><br><br><br><br><br><br><br><br><br><?phpbreak;}?></div>
If you enjoyed this post,make sure you subscribe to my RSS feed!

1 comment to Australia

Leave a Reply

  

  

  

You can use these HTML tags

<a href=""title=""><abbr title=""><acronym title=""><b><blockquote cite=""><cite><code><del datetime=""><em><i><q cite=""><strike><strong><pre lang=""line=""escaped=""highlight="">