Re: [PHP] Need some help in "exec"-attack

2003-01-13 Thread Alex Ciurea
, 2003 3:27 PM Subject: Re: [PHP] Need some help in "exec"-attack > On Monday 13 January 2003 21:13, Alex Ciurea wrote: > > Hi, > > > > I think I've solved the problem > > > > group owner of the dest_dir must be apache !!! > > NB if mysql is

Re: [PHP] Need some help in "exec"-attack

2003-01-13 Thread Jason Wong
On Monday 13 January 2003 21:13, Alex Ciurea wrote: > Hi, > > I think I've solved the problem > > group owner of the dest_dir must be apache !!! NB if mysql is running whilst you're copying the files then you could end up with incorrect backups. -- Jason Wong -> Gremlins Associates -> www.greml

Re: [PHP] Need some help in "exec"-attack

2003-01-13 Thread Alex Ciurea
ty reasons. - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 13, 2003 3:08 PM Subject: Re: [PHP] Need some help in "exec"-attack > On Monday 13 January 2003 19:53, Alex Ciurea wrote: > > Hi all, >

Re: [PHP] Need some help in "exec"-attack

2003-01-13 Thread Alex Ciurea
Hi, I think I've solved the problem group owner of the dest_dir must be apache !!! - Original Message - From: "Alex Ciurea" <[EMAIL PROTECTED]> To: "php mailing" <[EMAIL PROTECTED]> Sent: Monday, January 13, 2003 1:53 PM Subject: [PHP] Need

Re: [PHP] Need some help in "exec"-attack

2003-01-13 Thread Jason Wong
On Monday 13 January 2003 19:53, Alex Ciurea wrote: > Hi all, > > this is my situation: > I want to execute some comands using 'shell_exec': > > $command=shell_exec("ls -la /usr/dest_dir;cp -R /usr/source_dir/1.php > /usr/dest_dir;cd /usr/dest_dir;ls -la"); > echo "$command"; > > Actually, these co

[PHP] Need some help in "exec"-attack

2003-01-13 Thread Alex Ciurea
Hi all, this is my situation: I want to execute some comands using 'shell_exec': $command=shell_exec("ls -la /usr/dest_dir;cp -R /usr/source_dir/1.php /usr/dest_dir;cd /usr/dest_dir;ls -la"); echo "$command"; Actually, these commands: 1)ls -la /usr/dest_dir 2)cp -R /usr/source_di