Re: shell variable security
- From: "Jacques B." <jjrboucher@xxxxxxxxx>
- Date: Wed, 3 Oct 2007 12:46:28 -0400
I guess this is easier than using a temp variable (I know, I'm using a
condition - but I had missed that part of your question on my first
posting).
if [ "$name" !> "${name%%+(;|:)*}"
then
echo "Invalid character!"
fi
In the meantime I echo Jonathan's question. I also tested this and
was unable to make the exploit work. It simply echoed what I typed,
semi-colon and all.
Jacques b.
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- Follow-Ups:
- Re: shell variable security
- From: Jacques B.
- Re: shell variable security
- References:
- shell variable security
- From: tony . chamberlain
- Re: shell variable security
- From: Jacques B.
- Re: shell variable security
- From: Jacques B.
- shell variable security
- Prev by Date: RE: shell variable security
- Next by Date: Re: shell variable security
- Previous by thread: Re: shell variable security
- Next by thread: Re: shell variable security
- Index(es):
Relevant Pages
|