help on running a command via website page!
-
- Posts: 147
- Joined: Tue Jul 03, 2007 2:00 am
help on running a command via website page!
how can i have someone visit a webpage and it automatically runs a command prompt command? i mean activex controls, yes. but idk the code for it. maybe theres a certain command for php?? idk hellllp!
-
- Posts: 67
- Joined: Sat May 05, 2007 6:11 pm
- Location: San Carlos, CA
- Contact:
Re: help on running a command via website page!
To be clear, you shouldn't be able to do this without the browser asking the user. That would be a major security hole. For a fully patched box, an ActiveX control is about the best bet because a clueless user might just allow it. (the "social engineering" approach) Otherwise you need to exploit a bug in the browser, which will only work with an unpatched browser...athlete501 wrote:how can i have someone visit a webpage and it automatically runs a command prompt command? i mean activex controls, yes. but idk the code for it. maybe theres a certain command for php?? idk hellllp!
Also, note that php has no special power here! It just generates HTML (or whatever) that gets sent to the browser. The user does not actually see any php. You could use php to code something up that would dynamically pick the exploit code to display based on the user agent string that the user's browser sends...
-
- Posts: 147
- Joined: Tue Jul 03, 2007 2:00 am
-
- Posts: 67
- Joined: Sat May 05, 2007 6:11 pm
- Location: San Carlos, CA
- Contact: