Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
March 29, 2024
Menu
 Home
 Logout
 Discussions
 Forums
 Members List
 IRC chat
 Tools
 Base64 coder
 MD5 hash
 CRC32 checksum
 ROT13 coder
 SHA-1 hash
 URL-decoder
 Sql Char Encoder
 Affiliates
 y3dips ITsec
 Md5 Cracker
 User Manuals
 AlbumNow
 Content
 Content
 Sections
 FAQ
 Top
 Info
 Feedback
 Recommend Us
 Search
 Journal
 Your Account



User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9145

People Online:
Visitors: 774
Members: 0
Total: 774
PacketStorm News
·301 Moved Permanently

read more...
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> General discussion -> How to send modified data to javascript page?
Post new topic  Reply to topic View previous topic :: View next topic 
How to send modified data to javascript page?
PostPosted: Mon Oct 26, 2009 4:55 pm Reply with quote
zerocred
Beginner
Beginner
 
Joined: Oct 08, 2009
Posts: 4




I want to automate interaction with a website that has a javascript UI, data is sent by point and clicking various options that are loaded into a form and then sent by clicking the 'send' button.

What I want to do is automate it by bypassing the point and click code so that I can programatically present my data to it and initiate the 'send' from another (perl) program.

I can see the javascript files (there are quite many) - how do I initiate the send message my own?

Can it be done?
View user's profile Send private message
PostPosted: Wed Oct 28, 2009 2:47 pm Reply with quote
lenny
Valuable expert
Valuable expert
 
Joined: May 15, 2008
Posts: 275




Ok, I suggest you download "tamper data" - A plugin for Firefox. When you submit the page, a request is probably generated (AJAX or otherwise) and submitted to another part of the site (a php script for example).

I suggest you use tamper data to see what data is being sent, and where the data is being sent to (ie, the request target). Once you know this, you should be able to find a perl module or similar to send a similar request that you can modify as you like Smile

Questions? Thoughts?
View user's profile Send private message
PostPosted: Wed Oct 28, 2009 8:08 pm Reply with quote
zerocred
Beginner
Beginner
 
Joined: Oct 08, 2009
Posts: 4




Thanks for the suggestions. Unfortunately the site only works with IE - they spend quite a lot of effort ensuring it is only IE and windows running. I tried UserAgent switching in Firefox but it didn't work.

I was able to use Fiddler to see what is in the messages (they are encrypted normally) but the data is signed so simply tampering with the data doesn't work either.
View user's profile Send private message
How to send modified data to javascript page?
  www.waraxe.us Forum Index -> General discussion
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  




Powered by phpBB © 2001-2008 phpBB Group






Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2020 Janek Vind "waraxe"
Page Generation: 0.135 Seconds