Results 1 to 4 of 4

Thread: PHPsuexec

  1. #1

    PHPsuexec

    Hi,
    I am in dire need of some answers.

    I want to add phpsuexec support to help spot out email spammers..Most of the server IP's has already been blacklisted, some clients cannot email hotmail/yahoo/msn..this is totally unacceptable.
    I want to be able to track down email spammers.

    So heres my question:

    -
    If I had to chown -R $user:$user /home/$user/public_html
    rm -f *sess* /tmp
    possibly chmod -R 700 /home/$user/public_html
    -

    Would this fix *most* broke php scripts, allowing them to execute as the owner?

    Thanks!

  2. #2
    Join Date
    Feb 2005
    Location
    I am air u breathe
    Posts
    230
    Hi,

    That should be pretty much near to the completion. Save for the chmod part, that will allow only the root to access the webroot, so you should add the read and execute permissions for the group for the actual exection of the files ( both php and html )

    Hope this helps.

    Al
    It is reliability that counts...

  3. #3
    Join Date
    Mar 2003
    Location
    Sacramento, CA
    Posts
    71
    possibly chmod -R 700 /home/$user/public_html

    will change the files to rwx for the owner of the files. usually this is your user and his/her group. this is exactly the intention of phpsuexec.
    Jacob Squires , CISSP

    · security assesment, network analysis ·

  4. #4
    Join Date
    Aug 2002
    Location
    here
    Posts
    1,566
    lol guys
    IGotBannedTmpNick
    Account Disabled

    Registered: May 2005
    Posts: 1
    Status: Offline
    No need to help anymore
    Dave

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •