Ver código fonte

Do not reveal input length

Jordi Boggiano 13 anos atrás
pai
commit
35cca1ed7f
1 arquivos alterados com 1 adições e 5 exclusões
  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;
         }