![]() |
|
Rewrite formdata or change inlinecode - Printable Version +- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums) +-- Forum: Proxomitron Filters (/forumdisplay.php?fid=38) +--- Forum: Filter Help/Request (/forumdisplay.php?fid=31) +--- Thread: Rewrite formdata or change inlinecode (/showthread.php?tid=1756) |
Rewrite formdata or change inlinecode - acsgc - May. 19, 2011 10:16 AM Hello, 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 Regards Oliver 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) { alert(mld10_NetzwerkWAN); document.forms[0].ZDAT3_mtu.value = ""; document.forms[0].ZDAT3_mtu.focus(); return false; } break; } RE: Rewrite formdata or change inlinecode - JJoe - May. 20, 2011 02:37 AM So your router's configuration page has an address like https://172.16.0.1/ ? 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, http://www.proxomitron.info/45/help/CfgT5.html . DLLs at http://www.proxomitron.info/files/index.html . Code: [Patterns]Have you used the Proxomitron before? Do you need to patch your Proxomitron's exe to allow RWIN greater than 32768? HTH |