Explorar el Código

Do not reveal input length

Jordi Boggiano hace 13 años
padre
commit
35cca1ed7f
Se han modificado 1 ficheros con 1 adiciones y 5 borrados
  1. 1 5
      src/Composer/IO/ConsoleIO.php

+ 1 - 5
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;
         }