Re: How does the PHP Ghost one-liner work?
| From: | Patrick Schaaf | Date: | Fri, 30 Jan 2015 19:05:26 +0000 |
| Subject: | Re: How does the PHP Ghost one-liner work? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-81445@lists.php.net to get a copy of this message | ||
Am 30.01.2015 19:43 schrieb "Robert Williams" <rewilliams@thesba.com>:
>
> % php -r '$e="0";for($i=0;$i<2500;$i++){$e="0$e";}
> gethostbyname($e);’
What a funny way to say gethostbyname(str_repeat("0", 2501));
> does this indicate any problems with PHP?
No.
best regards
Patrick