-
Send character 39
hey!
i think ive hit a 50ft high electrified razor wire fence here, but it might be possible...
there is a write function... write('bla bla bla').. and i want to send a:
'): <script></script> write('
so that it will stop writin it, and run whatevers in the script part... It is sent using an url, to a cgi function, and when i try sending it, it changes %27 into ' in the source:confused: so it ends up like this:
write('bla bla bla'): <script></script> write('' bla bla
how can i send a ' which will appear in the source??
thanx:)
-
Not that I understand your question, but try escaping whatever character you want to be ignored. The JavaScript escape character is the backslash.
-
lol, i only just noticed! it changed the &#39 into an ' on my question, it should have been...
--------------------------------------------------------------------
there is a write function... write('bla bla bla').. and i want to send a:
'): <script></script> write('
so that it will stop writin it, and run whatevers in the script part... It is sent using an url, to a cgi function, and when i try sending it, it changes %27 into &#39 in the source so it ends up like this:
write('bla bla bla&#39 ): <script></script> write('' bla bla
how can i send a ' which will appear in the source??
--------------------------------------------------------------------
so all i want to do is send a ' character (%27) without it being changed into the &#39 in the script... does that make sense??:confused:
-
No, you still make no sense. Smelt the problem down to its absolute simpliest form. And clearly ask what you want. Your post mentions that you are trying to send a line, but your gross lack of punctuation turns your entire post into a series of non sequiturs.