Results 1 to 13 of 13
  1. #1
    Jim Morrison's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Canterlot, Equestria
    Posts
    12,444
    Reputation
    1090
    Thanks
    3,336

    How To View A Websites Index.php File

    So I find a number of websites which are unsecured, and I was wondering how to view their index.php file; not by adding /index.php at the end, but the coding inside. Help is appreciated and thanks

  2. #2
    Dacreep's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    Inside of my computer O_O
    Posts
    170
    Reputation
    10
    Thanks
    13
    If you use google chrome I believe just type view-source: before the websites name and it will show you
    No longer selling keys.

  3. #3
    Jim Morrison's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Canterlot, Equestria
    Posts
    12,444
    Reputation
    1090
    Thanks
    3,336
    Doesn't seem to work :/

  4. #4
    Sunstreaker's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Location
    DEUTSCHLAND
    Posts
    653
    Reputation
    446
    Thanks
    61
    My Mood
    Psychedelic
    i wish i could hack my school site >: D

  5. #5
    Outlowers's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    54
    Reputation
    10
    Thanks
    2
    Quote Originally Posted by Sunstreaker View Post
    i wish i could hack my school site >: D
    Me 2 , me 2

  6. #6
    nazaryman's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Location
    Anonymous
    Posts
    108
    Reputation
    10
    Thanks
    1,529
    My Mood
    Sad
    Some of html eg : some code required a DB

    You can't see the code !

  7. #7
    UKnowWhatDK's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Location
    BF3 Noshar Canals TDM
    Posts
    37
    Reputation
    10
    Thanks
    115
    My Mood
    Devilish
    Press CTRL + U

  8. #8
    giniyat101's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Not telling.
    Posts
    1,935
    Reputation
    130
    Thanks
    1,380
    My Mood
    Dead
    Quote Originally Posted by NormenJaydenFBI View Post
    So I find a number of websites which are unsecured, and I was wondering how to view their index.php file; not by adding /index.php at the end, but the coding inside. Help is appreciated and thanks
    in google chrome, go to view-source:yoursite/index.php , which will give you source in html ofcourse, not php.


     



    [img]https://i43.photobucke*****m/albums/e367/DeteSting/Steam-update.gif[/img]

  9. #9
    tristaann's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    The PHP source cannot be read client-side.
    PHP is post-processing, it will process the PHP source and output the HTML etc to the client, not the PHP itself.

  10. #10
    I love myself
    나도 너를 사랑해

    Former Staff
    Premium Member
    Jhem's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Location
    167,646,447
    Posts
    5,151
    Reputation
    1220
    Thanks
    7,395
    My Mood
    Stressed
    Quote Originally Posted by UKnowWhatDK View Post
    Press CTRL + U
    very nice thanks!

  11. #11
    tincho892's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Posts
    30
    Reputation
    10
    Thanks
    37
    What kind of information can you find in an index.php?

  12. #12
    xVIRUZx's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    248
    Reputation
    10
    Thanks
    52
    My Mood
    Drunk
    It's impossible to see its source that way, PHP is server-sided, so the server executes the code each time you visit the 'index.php' page. It can contain html code, and you can see it but PHP code is different. My knowledge says that you should deface a website to see all files hosted there and download the php files that you would like to and see its source.
    Last edited by xVIRUZx; 09-02-2013 at 10:42 AM. Reason: nothing really important
    blah blah blah

Similar Threads

  1. [Help] How to View Source Code or Debug the DLL File
    By ervic234 in forum WarRock Hack Source Code
    Replies: 0
    Last Post: 03-27-2012, 09:15 AM
  2. Replies: 30
    Last Post: 08-25-2011, 04:37 PM
  3. How to Improve this website
    By password911 in forum General
    Replies: 7
    Last Post: 11-08-2008, 03:09 PM
  4. How do i put password to rar file?
    By EyalZamir in forum WarRock Korea Hacks
    Replies: 2
    Last Post: 05-28-2007, 07:45 PM
  5. How to hack a website domain?
    By Azrael in forum General Game Hacking
    Replies: 9
    Last Post: 07-21-2006, 12:25 AM