43 users online (1 members and 42 guests)  


  Results 1 to 5 of 5

Related

  1. read file    Forum: CGI Perl Forum
    Replies: 0
  2. go to read a text file evry 2 minutes    Forum: CGI Perl Forum
    Replies: 6
  3. read and edit a file    Forum: CGI Perl Forum
    Replies: 0
  4. Code for a file download    Forum: HTML Forum
    Replies: 8
  5. make a file download    Forum: HTML Forum
    Replies: 3
  1. #1
    Mr. Blue's Avatar
    Evil twin of Dave

    Status
    Offline
    Join Date
    Jul 2001
    Location
    MA, USA
    Posts
    148

    Any way to download a .cgi file and read the contents?

    I was looking at this page today and it's running a .cgi script and I want to open up that file is there anyway I can download it and open it somehow? Thx.

    -Dave

  2. #2
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel
    not if the site has a clue about security. It can be very dangerous leaving your scripts open.

    Dave

  3. #3
    Mr. Blue's Avatar
    Evil twin of Dave

    Status
    Offline
    Join Date
    Jul 2001
    Location
    MA, USA
    Posts
    148
    Hmmm yeah that's what I thought, but thx anyways.

  4. #4
    pehden's Avatar
    New User

    Status
    Offline
    Join Date
    Sep 2007
    Posts
    2

    Re: Any way to download a .cgi file and read the contents?

    I got the same question but, would a download manager be able to get it
    and also how can I make my site not allow the directory to bee view but the others to be?

  5. #5
    xmassey's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Apr 2007
    Posts
    100

    Re: Any way to download a .cgi file and read the contents?

    pehden,
    Possibly use .htaccess to secure your directory.
    And no you cannot download a cgi file, so long as its permissions are correct (i.e. 711 or 755)



Tags for this Thread