Welcome to WebmasterWorld Guest from 54.160.163.163

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Rewrite ip of an activex object?

is it even possible?

     

kmax

1:13 pm on Sep 10, 2013 (gmt 0)

10+ Year Member



Hello, does anyone know if it is even possible to REWRITE the parameter of an activex object in a web page?

See the ip in this code? I want to proxypass the ip in this object.
I know how to proxypassreverse a directory to an ip like this.

/video 55.55.55.55

But in this onject code if you replace the ip with /video the activex control wont work. It must have an ip in there.

Any idea how i can use mod_rewrite to change the ip in the activex object code?


<object classid="clsid:8D58D690-6B71-4ee8-85AD-006DB0287BF1" id="WebCam" width="320" height="240">
<param name="IpAddress" value="55.55.55.55">
<param name="DisablePWD" value="-1">
<param name="UserName" value="myuser">
<param name="Password" value="mypass">
<param name="CommandPort" value="4550">
<param name="DataPort" value="5550">
<param name="BandWidth" value="LAN">
<param name="FixSize" value="-1">
<param name="FixWidth" value="320">
<param name="FixHeight" value="240">
<param name="AutoLogin" value="0">
<param name="DefaultCam" value="1">
</object>

Kendo

7:27 am on Sep 11, 2013 (gmt 0)

10+ Year Member Top Contributors Of The Month



Why should it be rewritten?

lucy24

8:47 am on Sep 11, 2013 (gmt 0)

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



Guess: To make the real IP invisible to the user, even if they snoop into the raw HTML. But if there's no IP upfront, how will the request know what server to go to?

phranque

3:36 pm on Sep 11, 2013 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



mod_rewrite only applies to HTTP Requests and i'm guessing the embedded object isn't sending an HTTP Request to that IP address.

kmax

10:41 pm on Sep 15, 2013 (gmt 0)

10+ Year Member



Thanks for the replies. I want to make the requests show up at the video server appearing to be from the ip of my web server... so i can allow ONLY that ip in the firewall there. This is to secure the video from the dvr.

Thats right. It is not sending an http request. It is using ports 4550 and 5550

Any way to rewrite non http?

thanks
 

Featured Threads

Hot Threads This Week

Hot Threads This Month