r4240 employ OB trick to hide contents
authorDenis Ovsienko <infrastation@yandex.ru>
Sat, 19 Feb 2011 12:08:04 +0000 (12:08 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Sat, 19 Feb 2011 12:08:04 +0000 (12:08 +0000)
wwwroot/gateways/switchvlans/cisco.secrets.php-sample

index dfa18cd2b450935cbf1ab47b8251511f11e37f6a..e716f54feb68dc04907c3239c523e26a1e992e09 100644 (file)
@@ -1,7 +1,4 @@
-<?php
-echo "Unauthorized access attempt has been logged. Cheers.";
-exit();
-/*
+<?php ob_start(); ?>
 
 # Syntax:
 # <endpoint|*> <telnet> <hostname|-> <port|-> <username|-> <line password> <enable password>
@@ -13,5 +10,4 @@ switch2 telnet - - - password enablepassword
 switch3 telnet - - username3 password3 enablepassword3
 # S-T-O-P
 
-*/
-?>
+<?php ob_end_clean(); ?>