php script to search/scan all folders & files with chmod 777

Discussion in 'PHP' started by basketmen, Oct 25, 2013.

  1. #1
    Hi guys, i know ssh command to search/scan all folders & files with chmod 777

    search folder & file
    search folder only
    search file only
    but my shared host not allowing ssh, is there php script to do this? that i can upload & open the file in browser address bar
     
    basketmen, Oct 25, 2013 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #2
    no, but we can write one for u for a small fee, please send me PM if you like this! :)
     
    EricBruggema, Oct 25, 2013 IP
  3. basketmen

    basketmen Well-Known Member

    Messages:
    837
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    130
    #3
    if its not possible or too hard, i have another question :
    if using ssh, how to search only inside /home/username/public_html/domain.com , so no search into the root, only inside a folder & the subfolder?

    i tried this, but this is not working :
    find /home/username/public_html/domain.com -perm 0777
     
    basketmen, Oct 26, 2013 IP
  4. jscg

    jscg Well-Known Member

    Messages:
    161
    Likes Received:
    5
    Best Answers:
    3
    Trophy Points:
    108
    Digital Goods:
    2
    #4
    Maybe you should try like this:

    find /home/username/public_html/domain.com/* -perm 0777
     
    jscg, Oct 26, 2013 IP
    basketmen likes this.
  5. monkeye

    monkeye Active Member

    Messages:
    307
    Likes Received:
    20
    Best Answers:
    1
    Trophy Points:
    68
    #5
    You don't really need the *
     
    monkeye, Oct 29, 2013 IP