From 35cca1ed7f7fbef5f9da0f9f75068c9d6cbe8174 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 17 Feb 2012 12:18:48 +0100 Subject: [PATCH] Do not reveal input length --- src/Composer/IO/ConsoleIO.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Composer/IO/ConsoleIO.php b/src/Composer/IO/ConsoleIO.php index 0169d2908..e1d33b5d2 100644 --- a/src/Composer/IO/ConsoleIO.php +++ b/src/Composer/IO/ConsoleIO.php @@ -129,11 +129,7 @@ class ConsoleIO implements IOInterface $value = rtrim(shell_exec($command)); unlink($vbscript); - for ($i = 0; $i < strlen($value); ++$i) { - $this->write('*', false); - } - - $this->write(''); + $this->write('***'); return $value; }