1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Is There A Way To Download .PHP Files From A Live Website?

Discussion in 'BlackHat Lounge' started by gimme4free, Oct 29, 2008.

  1. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,884
    Likes Received:
    1,932
    I am trying to download a .php file from a website because I want the script that he is using and I can't find it anywhere else.

    Is there any software / tools / methods to download an actual PHP file?

    Also need a similar method for ASP files, any ideas?
     
  2. MoneyMafia

    MoneyMafia Regular Member

    Joined:
    Dec 2, 2007
    Messages:
    290
    Likes Received:
    310
    Plain and simple: NO Cant be done
     
  3. Doug The Ripper

    Doug The Ripper Newbie

    Joined:
    Aug 20, 2007
    Messages:
    13
    Likes Received:
    12
    Impossible, if someone did figure it out though... they'd be dead before they even started. :D
     
  4. BlackMelvyn

    BlackMelvyn Regular Member

    Joined:
    Jul 8, 2008
    Messages:
    202
    Likes Received:
    272
    Home Page:
    only way is to access their ftp ;)
    tough !
     
  5. Jagged55

    Jagged55 Power Member

    Joined:
    Mar 27, 2008
    Messages:
    747
    Likes Received:
    325
    Occupation:
    Internet Marketing
    Location:
    Canada
    As mentioned, it is impossible unless you have the FTP login. One thing that might help (although it is kinda like playing the lottery), is to look for backups of the file... zip rar bak bk etc. It is a bit of a pain but sometimes you do get lucky. ;)
     
  6. Patrat

    Patrat Junior Member

    Joined:
    Sep 20, 2008
    Messages:
    173
    Likes Received:
    549
    Occupation:
    Entrepreneur, Blogger & Internet Marketer
    Location:
    England, UK
    Hire a BlackHat Pogrammer/Hacker fellow! Haha!

    What is the website? If you post it here, members of this forum maybe able to help you and point you in the direction of the actual script or simular products etc.

    If we know what you want we can help.
     
  7. silver

    silver Jr. VIP Jr. VIP

    Joined:
    Sep 16, 2008
    Messages:
    158
    Likes Received:
    103
    Occupation:
    Software Engineer & Entrepreneur
    No way, something like this could cause a disorder to the WWW ^^
    But, you can hire a PHP coder to make a very similar clone of a website for you, with the same looks, same functions, etc.
     
  8. BozoClown

    BozoClown Junior Member

    Joined:
    Jan 4, 2009
    Messages:
    150
    Likes Received:
    106
    You would have to take advantage of a security hole in php or the web server for that matter.

    Any chances that such a hole can be found by searching the internet is pretty slim, as it would be a major security issue which would have be patched in hours as soon as it is found.

    Otherwise, you would have to pray that the script is running on a mis-configured webserver, which probably isn't the case if the you are admiring the scripts functionality.

    Summary, you are out of luck. You may have to look into hiring a coder to clone the functionality.
     
    • Thanks Thanks x 1
  9. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,884
    Likes Received:
    1,932
    Thanks a lot for the help guys, will start trying to make my own :D
     
  10. snowwhite

    snowwhite Power Member

    Joined:
    Feb 12, 2008
    Messages:
    730
    Likes Received:
    1,415
    Occupation:
    Psychiatrist
    Location:
    Las Islas Filipinas
    you can do this by sql injection
    if not, a hacking solution would be the r57shell
     
    • Thanks Thanks x 1
  11. jammie

    jammie Jr. VIP Jr. VIP Premium Member

    Joined:
    Feb 24, 2008
    Messages:
    773
    Likes Received:
    453
    PHP by its nature is compiled by the time your browser recieves it. Thus the server only sends the generated HTML & no php. Unless you have access to the server so you can see what compiling it does, you cannot have access to it.

    Imagine all the usernames and passwords stored in config files for databases which would be hacked if it was possible.

    agreed you can use SQL injection to make it dump its data, but with alot of PHP having auto escape for quotes, this gets quite hard. Especially when everything is bounded so over/underflows aren't very common.

    Look for a server XSS exploit so you can download the file without compiling it. Hard to do, but possible if you know what server they are running etc.
     
  12. aftershock2020

    aftershock2020 Senior Member

    Joined:
    Oct 19, 2007
    Messages:
    981
    Likes Received:
    477
    I agree that it can't be done and don't think this will work but, you can try screen-scraper. There is a free trial on their website. They CLAIM to allow for .php scraping but I haven't seen it happen yet - not once...

    That's why php is so secure and people use it. It is not impossible but REALLY hard to access.
     
  13. The Scarlet Pimp

    The Scarlet Pimp Jr. VIP Jr. VIP Premium Member

    Joined:
    Apr 2, 2008
    Messages:
    788
    Likes Received:
    3,129
    Occupation:
    Chair moistener.
    Location:
    Cyberspace
    is there any advantage
    in php over perl?

    many commands seem the
    same between the two.
     
  14. Patrat

    Patrat Junior Member

    Joined:
    Sep 20, 2008
    Messages:
    173
    Likes Received:
    549
    Occupation:
    Entrepreneur, Blogger & Internet Marketer
    Location:
    England, UK
    As aftershock stated:

    HTML:
    http://www.screen-scraper.com/
    They have a free trial, but its very basic and does not do much. The enterprise edition would be great if anyone has access to it.
     
  15. antx16

    antx16 Power Member

    Joined:
    Nov 25, 2007
    Messages:
    672
    Likes Received:
    1,536
    if you check their website all the versions enterprise , professional etc are free and useable for 30 days
     
    • Thanks Thanks x 1
  16. aftershock2020

    aftershock2020 Senior Member

    Joined:
    Oct 19, 2007
    Messages:
    981
    Likes Received:
    477
    Since php is based from perl, there isn't much difference. I've found them to be the same in levels of security. As for function, there are some distinct differences as one is more for software ( perl ) and the other more for server/web interactive script creation ( php ).
     
  17. aftershock2020

    aftershock2020 Senior Member

    Joined:
    Oct 19, 2007
    Messages:
    981
    Likes Received:
    477
    Yeah, they have 30 day trials of all of their services. However, it looks a little crude.
     
  18. Thimster

    Thimster Newbie

    Joined:
    Feb 7, 2015
    Messages:
    0
    Likes Received:
    0
    There is a way,
    if you have the root of the .php file ill post it here

    came on it by exident
     
  19. lashpashchat

    lashpashchat Newbie

    Joined:
    Mar 2, 2015
    Messages:
    1
    Likes Received:
    0
    Hello can any one help me?
    i want a chat room script and want to upload it on my own server and make it as i want.
    i download many type of scripts but there are all have registers users and also many other problems and also many scripts or files don't have any admin option.

    in 1st chat room is the entrance area of a user and the 2nd pic is mentioned that the chat room area where chatters are chatting
    with nick 'Away' in 2nd pic is admin and also this chat room has Private chatting option its really simple and cut.
    also in 2nd pic in typing place chat room has color and fonts option. can any one help me please?
    chat1.png chat2.png
     
  20. nglbh

    nglbh Registered Member

    Joined:
    Jan 4, 2011
    Messages:
    91
    Likes Received:
    181
    They are using a chat widget from 99chats.com
    Check it out and see if you can find one that full fill your needs