[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e9d9d4020712051154w5961f441g5c6cf50f74ebbc2b@mail.gmail.com>
Date: Wed, 5 Dec 2007 13:54:54 -0600
From: reepex <reepex@...il.com>
To: "Radu State" <State@...ia.fr>, full-disclosure@...ts.grok.org.uk
Subject: Re: Nokia N95 cellphone remote DoS using the SIP
Stack
On Dec 5, 2007 11:05 AM, Radu State <State@...ia.fr> wrote:
> # Humberto J. Abdelnur (Ph.D Student) #
>
> # Radu State (Ph.D) #
>
> # Olivier Festor (Ph.D) #
>
lol......
"wow" is all i can say to this..
let me enlighten you on the basics of Perl
> $text = '';
>
http://perldoc.perl.org/functions/my.html
if you understood perl you would see that this line shows your complete
lack of ability as $text could be declared as its used in the loop
to demonstrate such amazing techniques such as declaring variables properly
i will demonstrate this code
die ($!) unless open my $file,'<',"/etc/passwd";
my @b = <$file>;
while(my $a = shift @b){
print $a;
}
notice the "my $a" ... please take a few minutes to reflect on this code as
your fragile phd minds can only handle so much but soon it will come to you
> while (not $text =~ /^SIP\/2.0 100(.\r\n)*/ ){
>
from perlretut ( http://perldoc.perl.org/perlretut.html )
"The sense of the match can be reversed by using !~ operator:
print <http://perldoc.perl.org/functions/print.html> "It doesn't
match\n" if "Hello World" !~ /World/;"
Understanding that you do not know how to code i will make it easier for
you:
"while ($text !~ /^SIP\/2.0 100(.\r\n)*/ ){"
Content of type "text/html" skipped
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
Powered by blists - more mailing lists