PDA

View Full Version : Need help getting source code for mysql.


ilyacella621
05-12-2007, 08:22 PM
Hey i have a problem im trying to get the source code of a page that is hiddned this is how it works.
page 1= you type in your pass and user ect..
page2= this is the page i need the source code of what it does is, it will flash very fast then redirect to page 3
page3= i can get the source code from this page fine but i dont need it.

so would there be anyway of somehow catching the sourcode from the middle page that is hidden?

Ezekiel
05-12-2007, 08:48 PM
Disable javascript. This might prevent the page from redirecting, thus making the browser hang at the desired page.


Disable meta redirects in your browser. The site may be using meta tags to redirect the pages, although it's unlikely and they could still do it via headers.


Get the Live HTTP Headers extension for Firefox, capture the consecutive requests, select the one for the page you want and copy its HTML code to your computer.


Run a packet sniffer; do as above.


Use telnet/netcat/whatever to make the requests yourself and pipe the source into a file.


Wget the page.


You mentioned MySQL, but just in case you didn't know, server-side scripts (such as those containing SQL queries) are executed by the server and are securely hidden to the user. All you get in your browser is HTML code (or an equivalent) that displays information and allows you to interact with the page and the server. The sensitive work is done on the server, such as connecting to databases.

ilyacella621
05-12-2007, 08:49 PM
thanks mike greatly appreciated i wish we haad more people like you =]