Vulnerability Development mailing list archives

Re: execution inside of Perl reg ex?


From: Robert van der Meulen <rvdm () CISTRON NL>
Date: Sat, 30 Dec 2000 05:14:55 +0100

Quoting Cypher (cypher () EXECPC COM):
My question is, does anyone know of any other ways to execute code in a
reg ex?  Or, and this is an even longer shot, is there anyway of fooling

(?{print "hello";})
Have you tried 'finishing' the regex, inserting some commands, and ending
the regex ?
.*/;system("/bin/id");/
I don't _know_ if this will work, and i admit i didn't do any research on it
as it's 5:00 in the morning and i want to get some sleep now ;)

Greets,
        Robert

--
                              Linux Generation
                   "God is big, so don't fuck with him."


Current thread: