On Fri, Jun 25, 2010 at 5:55 AM, Ashish SHUKLA <wahjava...@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Sagar Belure writes:
>> Hi list,
>
>> Is anyone know if its possible to use NULL character with wget?
>
> Yes you can use NULL character anywhere, but how're you planning on using NULL
> character with wget[1] ?
>
> 1. As part of URL - you can URL encode the NULL character as '%00'.
>
> 2. As part of body - you can pass '\0' over stdin.
>
> 3. As command-line argument -- chances are that /proc/$(pidof wget)/cmdline
>   already has some NULL characters.

Well, thanks for your reply.
Thought, it's not working the way I wanted.
After sniffing the network with wireshark, what I could see it in hex
values *25 30 30* for '%00'.

Seems(to me), while trying to download something with wget, it
converts the URL in browser-like format. If so, in that case, it may
not be possible to include a NULL character with wget.

-- 
Thanks,
Sagar Belure

_______________________________________________
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to