PDA

Click to See Complete Forum and Search --> : How to get ASP page / not result


Jhd.Honza
Dec 12th, 2000, 02:09 PM
How can I obtain the source code of ASP file from the server, if it is returning binary files (pictures)?

glitch13
Dec 12th, 2000, 04:09 PM
you can't thru http. you can thru ftp by downloading the asp file.

when ever you hit the webserver's asp page, it runs the code and only gives you the output. its like this for security reasons people can't look at raw code and figure out backdoors and such.

Jhd.Honza
Dec 12th, 2000, 04:55 PM
FTP returns "connect: 10061"
HTTP (GET) returns server internal error (procedure expected parameters) - the script runs on the server side, so I have no chance to get the source code by this way.
(and HTTP OPTIONS returns "forbidden")

In fact, I only need the filename of database where the ASP page connect to.

glitch13
Dec 12th, 2000, 05:08 PM
I dont know what that FTP error is, so i cant help you there.

if its the database DSN name you need, you could email the sysadmin or webmaster and ask him. unless of course your not supposed to have this information (ie, your not supposed to be fiddling with the site's internals), then i doubt he would give it to you.

monte96
Dec 13th, 2000, 08:54 AM
Is this ASP server your server (or one your having hosted?) or are you looking to see how someone did something?

Serge
Dec 13th, 2000, 10:26 AM
I think that's the case. He wants to get the code of the ASP page. Even if you use FTP, the administrator has to share that folder (creating virtual directory in the ftproot folder) where the asp files are, so I don't think that's going to be the case. The whole idea behind the ASP technology is so people cannot get the secured information like database user and password, including the code.

Jhd.Honza
Dec 13th, 2000, 03:29 PM
The server isn't my server, and the page is returning a city map. I don't need to get the whole image of city - I can download it sequentially through this ASP. But in the ASP shoud be a link to the database of street...map position. The position is in standardized format and you can read it - it isn't secure information, is it?

monte96
Dec 15th, 2000, 09:15 AM
ASP and IIS are designed to prevent what you are trying to do.

Jhd.Honza
Dec 15th, 2000, 01:21 PM
:(

What is IIS?

Serge
Dec 15th, 2000, 07:08 PM
Internet Information Server - it's a product by Microsoft.

pactalon
Dec 16th, 2000, 09:01 PM
Extending Serge's response, IIS is Microsoft's Web server product. It's the type of software that makes Web pages appear on the Internet, as well as countless other things. Read more about it on Microsoft's Web site at

http://www.microsoft.com/iis/

If you have any more questions, e-mail me at adam@cmptr.com.