WebApp Sec mailing list archives

Re: XSS help


From: Blake Schneider <blake.schneider () gmail com>
Date: Fri, 13 Aug 2004 02:16:20 -0600

On Tue, 10 Aug 2004 03:11:34 +1000, Serg B. <serg () dodo com au> wrote:
Thanx All,

Onother, possibly silly question but i dont know the answer...
Is there a way to view source code (of php script) somehow through
envoking JS. I mean I know one is server other is client side but still
rather interested if thats possible.

   Serg

No.  By the time the JS is invoked, the PHP script has already been
parsed and executed by the web server.  All the JS has access to is
the PHP script results (i.e. the HTML).

Later,

Blake


Current thread: