Waraxe IT Security Portal
Login or Register
June 17, 2025
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: 9144

People Online:
Visitors: 49
Members: 0
Total: 49
Full disclosure
SEC Consult SA-20250604-0 :: Local Privilege Escalation and Default Credentials in INDAMED - MEDICAL OFFICE (Medical practice management) Demo version
Full Disclosure: CVE-2025-31200 & CVE-2025-31201 – 0-Click iMessage Chain ? Secure Enclave Key Theft, Wormable RCE, Crypto Theft
Defense in depth -- the Microsoft way (part 89): user grouppolicies don't deserve tamper protection
CVE-2025-45542: Time-Based Blind SQL Injection in CloudClassroom PHP Project v1.0
ERPNext v15.53.1 Stored XSS in bio Field Allows Arbitrary Script Execution in Profile Page
ERPNext v15.53.1 Stored XSS in user_image Field Allows Script Execution via Injected Image Path
Local information disclosure in apport and systemd-coredump
Stored XSS via File Upload - adaptcmsv3.0.3
IDOR "Change Password" Functionality - adaptcmsv3.0.3
Stored XSS "Send Message" Functionality - adaptcmsv3.0.3
Authenticated File Upload to RCE - adaptcmsv3.0.3
Stored XSS in "Description" Functionality - cubecartv6.5.9
Multiple Vulnerabilities in SAP GuiXT Scripting
CVE-2024-47081: Netrc credential leak in PSF requests library
Exploit CVE-2019-9978: Remote Code Execution in Social Warfare WordPress Plugin (<= 3.5.2)
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 topicReply 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 topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



PCWizardHub - Helping you fix, build, and optimize your PC life
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-2024 Janek Vind "waraxe"
Page Generation: 0.024 Seconds