ghosts
ghosts copied to clipboard
Problem with unencoded URLs
Using yoyo's wonky URL, I get the following output and execution doesn't complete.
Steve at 0xf
$ ./ghosts -i https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext
[1] 12294
Steve at 0xf
$ --------------------------------------------------------------------------------
Base hosts file summary:
--------------------------------------------------------------------------------
Location: https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts
Domains: 3,280
Bytes: 89 kB
--------------------------------------------------------------------------------
Truncating the URL works just fine:
Steve at 0xf
$ ./ghosts -i https://pgl.yoyo.org/adservers/serverlist.php
--------------------------------------------------------------------------------
Base hosts file summary:
--------------------------------------------------------------------------------
Location: https://pgl.yoyo.org/adservers/serverlist.php
Domains: 3,280
Bytes: 89 kB
--------------------------------------------------------------------------------