Re: A tool to execute PHP scripts
On 2004-01-07, Pedro Graca <hexkid@hotpop. com> wrote:[color=blue]
> Tim Van Wassenhove wrote:[color=green][color=darkred]
>>> $user_input = 'implode("", file("/etc/passwd"))';[/color][/color]
>[color=green][color=darkred]
>>> and a lot more of evil things :)[/color][/color]
>[color=green]
>> Thats why they invented shadow passwords :P
>> (Assuming your webserver isn't running under uid 0)[/color]
>
> What about
>
> `rm -rf *`
>
> Does the webserver has write-access to the directory the scripts are in?
> Do you have a backup of them?[/color]
I have umask 0700, and only give rights where it is absolutely necessary
;)
Oh yeah, and with duplicity and a little script i wrote, i do have a
nice backup system :)
Having safe_mode enabled has its advantages too ;)
--
On 2004-01-07, Pedro Graca <hexkid@hotpop. com> wrote:[color=blue]
> Tim Van Wassenhove wrote:[color=green][color=darkred]
>>> $user_input = 'implode("", file("/etc/passwd"))';[/color][/color]
>[color=green][color=darkred]
>>> and a lot more of evil things :)[/color][/color]
>[color=green]
>> Thats why they invented shadow passwords :P
>> (Assuming your webserver isn't running under uid 0)[/color]
>
> What about
>
> `rm -rf *`
>
> Does the webserver has write-access to the directory the scripts are in?
> Do you have a backup of them?[/color]
I have umask 0700, and only give rights where it is absolutely necessary
;)
Oh yeah, and with duplicity and a little script i wrote, i do have a
nice backup system :)
Having safe_mode enabled has its advantages too ;)
--
Comment