Post Reply 
Rewrite formdata or change inlinecode
May. 19, 2011, 10:16 AM (This post was last modified: May. 19, 2011 10:21 AM by acsgc.)
Post: #1
Rewrite formdata or change inlinecode

I'm not familiar with scripting at all, so I aprreciate any help I can get.
What I'm trying to do.

I have an router with a webform (https) and I need to fill out on field with data. When I sent the form this field is checking my input via inline code and is not accepting my input. These checks are nonsense and I need to get rid of these check or at least I need to set another value inside an if-Loop, where the script checks my value if it is between to given values. So I need to extend this.
Or alternativly I need to change my send data after the script checked my input and before sending the data to the router.
But how can I do that. Is there anybody who did something already?
Any help is welcome


This is the code of the Config-Webpage where I need to change the highlighted value:

if(document.forms[0].ZDAT3_mtu.value=="" || isNValidInt(document.forms[0].ZDAT3_mtu.value) || document.forms[0].ZDAT3_mtu.value<1440 || document.forms[0].ZDAT3_mtu.value>1492)
document.forms[0].ZDAT3_mtu.value = "";
return false;

Add Thank You Quote this message in a reply
May. 20, 2011, 02:37 AM
Post: #2
RE: Rewrite formdata or change inlinecode
So your router's configuration page has an address like ?
The code from that address contains the value that you want to change?

A Proxomitron filter may modify the value. However, if the code to be modified is encrypted (https), you will need to enable SSL filtering, . DLLs at .

Name = "Sample"
Active = TRUE
URL = ""
Limit = 16
Match = "mtu.value<1440"
Replace = "mtu.value<yournumberhere"

Have you used the Proxomitron before?
Do you need to patch your Proxomitron's exe to allow RWIN greater than 32768?

Add Thank You Quote this message in a reply
Post Reply 

Forum Jump: