Full Disclosure mailing list archives
Re: Gaim festival plugin exploit
From: merlyn () stonehenge com (Randal L. Schwartz)
Date: 15 Oct 2003 12:17:44 -0700
"error" == error <error () lostinthenoise net> writes:
error> Perhaps someone should ask:
error> "(Is s/[^\w]//g really that hard to do?!)"
Or if a shell was even needed at all to pump the data.
error> So a fixed version would look like this:
error> AIM::register("Festival TTS", "0.0.1", "goodbye", "");
error> AIM::print("Perl Says", "Loaded Festival TTS");
error> AIM::command("idle", "60000") if ($pro ne "Offline");
error> AIM::add_event_handler("event_im_recv", "synthesize");
error> sub goodbye {
error> AIM::print("Module Unloaded", "Unloaded Festival TTS");
error> }
error> sub synthesize {
error> my $string = $_[0];
error> $string =~ s/\<.*?\>//g;
error> $string =~ s/\".*\"//;
error> $string =~ s/[^\w]//g;
error> system("echo \"$string\" | /usr/bin/festival --tts");
No, change this to
open FEST, "|/usr/bin/festival -tts";
print FEST $string;
close FEST;
error> }
No shell needed. No worries, mate.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn () stonehenge com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html
Current thread:
- Gaim festival plugin exploit error (Oct 15)
- Re: Gaim festival plugin exploit Randal L. Schwartz (Oct 15)
- Re: Gaim festival plugin exploit Jérôme Augé (Oct 16)
- Re: Gaim festival plugin exploit HCTITS Security Division (Oct 17)
- Re: Re: Gaim festival plugin exploit Randal L. Schwartz (Oct 17)
- Re: Re: Gaim festival plugin exploit Valdis . Kletnieks (Oct 18)
- Re: Re: Gaim festival plugin exploit Randal L. Schwartz (Oct 17)
- Re: Gaim festival plugin exploit HCTITS Security Division (Oct 17)
- Re: Re: Gaim festival plugin exploit Cael Abal (Oct 17)
- Re: [Cert-lists] Re: Re: Gaim festival plugin exploit Georg Moritz (Oct 20)
- Re: Gaim festival plugin exploit Randal L. Schwartz (Oct 20)
- Re: Re: Gaim festival plugin exploit Brian Hatch (Oct 23)
- Re: Re: Gaim festival plugin exploit Randal L. Schwartz (Oct 23)
- Re: Re: Gaim festival plugin exploit Cael Abal (Oct 17)
