Stealth Submit Using AJAX
Have you ever started filling a web form and halfway into it decide against submitting because suddenly you no longer trust the website enough? You closed the browser window and that was the end of story, right? Wrong! The website might still have your information. You think it’s impossible? This article will show you how it can be done. I call the technique Stealth Submit.
Unless you have been living under a rock there is no way that you wouldn’t have heard about AJAX. Stealth Submit uses AJAX to save the values entered on the web form to a database.
To implement Stealth Submit the following example uses two files:
majax.aspx: This file implements the web form. It consists of plain HTML and Javascript (and hence the AJAX functions).
majaxSaveToDB.aspx: This file is the server side script which implements the database operations. Values to be saved are passed as a part of the query string. After saving the values to a database the status is posted back.
Click here to view a complete working example.
To view the complete implementation, do a “view source” for the above page in your browser.
Stealth Submit can be used for constructive purposes like implementing auto save for your web applications. Some of the Web 2.0 applications already take advantage of this technique. At the same time, in wrong hands it can be used to capture information without the user’s knowledge. I hope the technique described here finds good use in our future applications.
Note: The intent of this article is to educate the readers as to how AJAX could be used to capture information without their knowledge or consent by malicious websites. It is advised that no information should be entered on a web form that you do not completely trust.
Liked this article? Please digg | reddit. Thank you!
Unless you have been living under a rock there is no way that you wouldn’t have heard about AJAX. Stealth Submit uses AJAX to save the values entered on the web form to a database.
To implement Stealth Submit the following example uses two files:
majax.aspx: This file implements the web form. It consists of plain HTML and Javascript (and hence the AJAX functions).
majaxSaveToDB.aspx: This file is the server side script which implements the database operations. Values to be saved are passed as a part of the query string. After saving the values to a database the status is posted back.
Click here to view a complete working example.
To view the complete implementation, do a “view source” for the above page in your browser.
Stealth Submit can be used for constructive purposes like implementing auto save for your web applications. Some of the Web 2.0 applications already take advantage of this technique. At the same time, in wrong hands it can be used to capture information without the user’s knowledge. I hope the technique described here finds good use in our future applications.
Note: The intent of this article is to educate the readers as to how AJAX could be used to capture information without their knowledge or consent by malicious websites. It is advised that no information should be entered on a web form that you do not completely trust.
Liked this article? Please digg | reddit. Thank you!


13 Comments:
Hi,
This is Kedar from ISU and a pal of Punit Vora And I was wonderin if you could hand me the code for the MAJAX for a project in my class
i am just curios how it works.
I could use it for AutoSave in my project.
Thanx
By
Kd, at 3:31 AM
Thats a tad sneaky! Imagine if for example you apply for a credit card or insurance online, you get halfway through the application and drop out. If an unscruplulous company was using this technique then they could potentially use this information to spam you:
"It looks like you tried to apply for xxxxxx, but dropped out. Perhaps this product better suits your needs... to continue your application click here".
Some would see it as helpful, others an invasion of privacy. Thankfully many countries have Data Protection legislation which should prevent the big players from doing this.
I do however see some possibly nice applications of this kind of thing...
By
Chris, at 1:01 PM
Whoa! Next thing you know, web developers will have access to your IP and your cookies!
By
Anonymous, at 5:18 PM
Chris: Companies do that anyway.
To make the Internet safe: turn off JavaScript
By
Anonymous, at 10:22 PM
Or someone could just hit tab then alt-tab or "maybe" someone could write a js to do this automatically to fill up the whole DB space or launch a DOS attack on a website? rather unsecure and unnecessary if you ask me.
By
Burag, at 11:06 PM
Anonymous: I would disagree. Reputable companies try not to do this all the time!
By
Chris, at 5:36 PM
I agree with Chris. No reputable company would use such a technique (the Sony rootkit incident comes to mind).
And tuning off javascript is not a very fesible option. None of the latest web applications would for you if you tried it.
By
Rian, at 5:54 PM
good one man..
By
Victim Of Desire, at 9:29 AM
There are other ways, without using AJAX, to achieve this. IFrame, loading an image, etc. comes to mind.
By
Anonymous, at 6:49 PM
This has always happend and is never very transparent for the user and it depends on how much you trust the provider (either software or online provider). In word documents and traditional desktop applications, there is moreinformation than meets your eye, you type in word (even though you erase it still) all the undo information is still in the final word document.
This can be used to find information (most frequently used is)
Several resumes showed that someone else prepared the resume other than the applicant. A similar issue was seen with corporate press releases.
More information here....
Trace Reveals Document Security Issues
By
Dev, at 4:04 PM
So, what's the ultimate solution ?
By
MyTech, at 1:51 AM
^^Thanks!!
徵徵徵婚前徵信徵婚姻感情徵大陸抓姦徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵外遇抓姦法律諮詢家暴徵婚前徵信尋人感情挽回大陸抓姦離婚徵徵工商徵信徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵婚前徵信外遇抓姦感情挽回尋人大陸抓姦離婚家暴徵徵工商徵信法律諮詢徵徵徵跟蹤徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵工商徵信徵徵婚前徵信感情挽回外遇抓姦法律諮詢家暴尋人大陸抓姦離婚徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵大陸抓姦徵外遇徵徵徵尋人徵徵家暴徵徵徵徵徵徵徵徵徵工商徵信法律諮詢家暴感情挽回大陸抓姦外遇婚前徵信離婚徵徵尋人徵徵徵徵徵徵徵徵徵徵徵徵工商徵信徵徵徵徵徵徵外遇抓姦法律諮詢家暴婚前徵信大陸抓姦尋人感情挽回徵徵徵徵徵徵徵徵徵徵外遇抓姦婚前徵信感情挽回尋人大陸抓姦工商徵信法律諮詢離婚家暴徵徵徵徵徵徵徵徵徵徵徵徵徵徵工商徵信外遇抓姦法律諮詢家暴婚前徵信尋人感情挽回大陸抓姦離婚徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵婚前徵信工商徵信外遇抓姦尋人離婚家暴大陸抓姦感情挽回法律諮詢徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵離婚感情挽回婚前徵信外遇抓姦家暴尋人徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵工商徵信外遇抓姦法律諮詢家暴婚前徵信尋人感情挽回">徵大陸抓姦離婚徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵婚前徵信工商徵信外遇抓姦尋人離婚家暴大陸抓姦感情挽回法律諮詢徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵徵
By
Anonymous, at 2:43 AM
花蓮,旅遊租車,花蓮旅遊,花蓮租車,花東旅遊,花蓮租車,花蓮租車,花蓮旅遊,租車,花蓮旅行社,花蓮旅遊景點,花蓮旅遊行程,花蓮旅遊地圖,花蓮一日遊,花蓮租車,花蓮租車旅遊網,花蓮租車,花蓮租車,花蓮租車,花東旅遊景點,租車,花蓮旅遊,花東旅遊行程,花東旅遊地圖,花蓮租車公司,花蓮租車,花蓮旅遊租車,花蓮租車,花蓮旅遊,花蓮賞鯨,花蓮旅遊,花蓮旅遊,租車,花蓮租車,花蓮租車 ,花蓮 租車,花蓮,花蓮旅遊網,花蓮租車網,花蓮,租車,花東 旅遊,花蓮 租車,花蓮,旅遊,租車公司,花蓮,花蓮旅遊,花東旅遊,花蓮地圖,包車,花蓮,旅遊租車,花蓮 租車,租車,花蓮租車資訊網,花蓮旅遊,租車,花東,花東地圖,租車公司,租車網,花蓮租車旅遊,租車,花蓮,賞鯨,花蓮旅遊租車,花東旅遊,租車網,花蓮海洋公園,租車 ,花蓮 租車,花蓮,花蓮旅遊,花蓮租車公司,租車花蓮旅遊,花蓮租車,花蓮租車公司,花蓮一日遊,花蓮包車,花蓮租車網,花蓮旅遊,花蓮租車,花蓮旅行社,花東旅遊,花蓮包車,租車,花蓮旅遊,花蓮租車,花蓮一日遊,租車服務,花蓮租車公司,花蓮包車,花蓮旅遊,花蓮租車,花蓮租車公司,花蓮一日遊,花蓮包車,花蓮租車網,花蓮旅遊,花蓮租車,花蓮旅遊,花蓮租車,花蓮租車公司,花蓮一日遊,花蓮租車,租車網,花蓮租車公司,花蓮旅遊,花蓮旅遊,花蓮租車,花蓮租車公司,花蓮租車公司,花蓮一日遊,租車,租車服務,花蓮旅遊,花蓮租車,花蓮租車公司,花蓮一日遊,花蓮旅遊,花蓮賞鯨,花蓮旅遊,花蓮租車,花蓮租車公司,花蓮一日遊,花蓮包車,花蓮租車網,花蓮旅遊,花蓮租車,花蓮租車公司,花蓮一日遊,租車花蓮,花蓮租車,花蓮旅遊,花蓮租車,花蓮租車公司,花蓮一日遊,租車花蓮,花蓮租車,花蓮旅遊,花蓮租車,花蓮租車公司,花蓮一日遊,花蓮包車,花蓮,花蓮旅遊,花蓮租車,花蓮租車公司,花蓮一日遊,花蓮包車,花蓮租車,花蓮旅遊,花蓮租車,花蓮租車公司,花蓮一日遊,花蓮包車,花蓮租車,花蓮旅遊,花蓮租車,花蓮租車公司,花蓮一日遊,花蓮包車,花蓮租車網,租車公司,花蓮租車,花蓮租車公司,花蓮一日遊,花蓮旅遊,花蓮旅遊租車,花蓮租車網,花蓮租車,花蓮一日遊,租車花蓮,花蓮租車,花蓮旅遊租車,花蓮租車,花蓮租車旅遊,花蓮租車,花蓮旅遊,花蓮旅遊,花蓮包車,花蓮溯溪,花蓮泛舟,花蓮溯溪,花蓮旅遊,花蓮旅遊,花蓮租車,租車公司,花蓮旅遊租車,花蓮租車,租車,花蓮旅遊,花蓮租車,花東旅遊,花蓮賞鯨,花蓮旅遊,花蓮泛舟,花蓮賞鯨,花蓮溯溪,花蓮泛舟,花蓮泛舟,花蓮溯溪,花蓮旅遊,花蓮旅遊,花蓮租車,花東旅遊,花蓮,花東,花蓮旅遊,花東旅遊,花蓮租車,花蓮,花東,花蓮旅遊,花蓮租車,花東旅遊,花蓮旅遊,花蓮租車,租車,花蓮旅遊,花蓮租車,花蓮旅遊租車,花蓮旅遊,花蓮租車,花蓮,花東旅遊萬事通,花蓮旅遊,租車,花蓮旅遊,花蓮租車,花蓮旅遊,花蓮租車,花蓮租車,花蓮租車,花蓮旅遊,花蓮租車,花蓮旅遊,花蓮租車,花蓮旅遊,花蓮租車,花蓮旅遊,花蓮租車,花蓮租車,花蓮包車,花蓮旅遊,花蓮租車,花蓮太魯閣,花蓮包車,花東旅遊,花蓮旅遊行程,花蓮旅遊,花蓮 租車,花蓮租車,花蓮租車旅遊,花蓮旅遊租車,租車,花蓮旅遊推薦,花蓮旅遊包車,花蓮租車,花蓮,花蓮租車,花蓮地圖,花蓮旅遊,花蓮旅遊資訊網,花蓮旅遊景點,賞鯨,花蓮旅遊行程,花蓮旅遊,花蓮旅遊租車,花東旅遊景點,花東旅遊行程,花蓮旅遊,花蓮租車,租車,花東旅遊,花蓮旅遊,花蓮租車,花蓮,旅遊達人,旅遊達人blog,花蓮租車旅遊資訊網,花蓮,租車,花蓮,花東旅遊,地圖,租車,賞鯨泛舟溯溪,租車,[ 芝麻店家 ] 花蓮租車旅遊資訊網,花蓮租車-花蓮旅遊租車資訊網 ,旅遊網,旅遊景點,花蓮行程,花蓮,花東,旅遊租車,旅遊,花蓮,租車,花東旅遊,花蓮租車旅遊,行易旅遊民宿資訊網,花蓮,旅遊,花蓮,一日遊,花蓮好玩的地方,花蓮,,一日遊,花東,租車,旅遊,花蓮旅遊,花東旅遊,花蓮租車,花蓮租車,花蓮旅遊-花東旅遊萬事通,花蓮民宿,花蓮民宿,花蓮民宿,花蓮民宿
By
租車公司, at 11:58 AM
Post a Comment
Links to this post:
Create a Link
<< Home