<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule">

<channel>
<title>Re: Executing a (DOS) command from webpage. in Webmasters and Developers</title>
<link>http://www.dslreports.com/forum/r20859690</link>
<description></description>
<language>en</language>
<pubDate>Tue, 01 Dec 2009 12:56:03 EDT</pubDate>
<lastBuildDate>Tue, 01 Dec 2009 12:56:03 EDT</lastBuildDate>

<item>
<title>Re: Executing a (DOS) command from webpage.</title>
<link>http://www.dslreports.com/forum/remark,20866409</link>
<description><![CDATA[<A HREF="/useremail/u/1228025"><b>Press2Esc</b></A> : <div class="bquote"><small>said by  cowboyro <A HREF="/useremail/u/217865"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</small><br><br>No properly configured webhost will allow you to run system scripts. Now if you run your own webserver and properly configure your security it's a different story. I do it on my Apache/PHP/Win2003 but it's only for few predefined commands and the system requires authentication in the first place :)<br> </div>Equally good to know.  Once again, I am trying to get educated on the requirements.  thx]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20866409</guid>
<pubDate>Tue, 29 Jul 2008 13:36:03 EDT</pubDate>
</item>

<item>
<title>Re: Executing a (DOS) command from webpage.</title>
<link>http://www.dslreports.com/forum/remark,20866387</link>
<description><![CDATA[<A HREF="/useremail/u/1228025"><b>Press2Esc</b></A> : <div class="bquote"><small>said by  Gwellin <A HREF="/useremail/u/1016514"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</small><br><br>In a PHP file (on the server) you would use the following line of code:<br><textarea name="code" class="text" cols=50 rows=10>&lt;?php&#012;  echo $_SERVER&#91;'REMOTE_ADDR'&#93;;&#012;?&gt;&#012;</textarea><!--end code block--><br> </div>thanks GWellin, this is helpful.<br>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20866387</guid>
<pubDate>Tue, 29 Jul 2008 13:32:42 EDT</pubDate>
</item>

<item>
<title>Re: Executing a (DOS) command from webpage.</title>
<link>http://www.dslreports.com/forum/remark,20866349</link>
<description><![CDATA[<A HREF="/useremail/u/386501"><b>JAAulde</b></A> : <div class="bquote"><small>said by  tekmunki <A HREF="/useremail/u/532180"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</small><br><br>Javascript would be a little more secure than executing arbitrary code.<br><br>Here's an example:<br>&raquo;<A HREF="http://forums.sun.com/thread.jspa?threadID=627091&messageID=3587440" >forums.sun.com/thread.jspa?threa&middot;&middot;&middot;=3587440</A><br> </div>Java]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20866349</guid>
<pubDate>Tue, 29 Jul 2008 13:23:53 EDT</pubDate>
</item>

<item>
<title>Re: Executing a (DOS) command from webpage.</title>
<link>http://www.dslreports.com/forum/remark,20866314</link>
<description><![CDATA[<A HREF="/useremail/u/532180"><b>tekmunki</b></A> : Java* would be a little more secure than executing arbitrary code.<br><br>Here's an example:<br>&raquo;<A HREF="http://forums.sun.com/thread.jspa?threadID=627091&messageID=3587440" >forums.sun.com/thread.jspa?threa&middot;&middot;&middot;=3587440</A>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20866314</guid>
<pubDate>Tue, 29 Jul 2008 13:18:55 EDT</pubDate>
</item>

<item>
<title>Re: Executing a (DOS) command from webpage.</title>
<link>http://www.dslreports.com/forum/remark,20865414</link>
<description><![CDATA[<A HREF="/useremail/u/217865"><b>cowboyro</b></A> : No properly configured webhost will allow you to run system scripts. Now if you run your own webserver and properly configure your security it's a different story. I do it on my Apache/PHP/Win2003 but it's only for few predefined commands and the system requires authentication in the first place :)]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20865414</guid>
<pubDate>Tue, 29 Jul 2008 10:20:11 EDT</pubDate>
</item>

<item>
<title>Re: Executing a (DOS) command from webpage.</title>
<link>http://www.dslreports.com/forum/remark,20864214</link>
<description><![CDATA[<A HREF="/useremail/u/1016514"><b>Gwellin</b></A> : There is nothing the system has to do beyond what it normally does to request the webpage. In other words, by contacting the server it learns the requesting computers public IP address, you simply need to output it. In a PHP file (on the server) you would use the following line of code:<br><textarea name="code" class="text" cols=50 rows=10>&lt;?php&#012;  echo $_SERVER&#91;'REMOTE_ADDR'&#93;;&#012;?&gt;&#012;</textarea><!--end code block--><br><small>--<br>Here to help all those in need, whenever I can.</small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20864214</guid>
<pubDate>Tue, 29 Jul 2008 00:52:47 EDT</pubDate>
</item>

<item>
<title>Re: Executing a (DOS) command from webpage.</title>
<link>http://www.dslreports.com/forum/remark,20863820</link>
<description><![CDATA[<A HREF="/useremail/u/1228025"><b>Press2Esc</b></A> : <div class="bquote"><small>said by  Gwellin <A HREF="/useremail/u/1016514"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</small><br><br>Ya, running a local script from a browser is not going to happen, but sending them to a simple webpage can just as easily give them their IP address to copy and paste.  Just look here: &raquo;<A HREF="/whois">/whois</A><br> </div>This is a reasonable example of what I was originally asking about...  In this case, a person would simply click on a link and, after they are redirected to a different url, the results of a system inquiry is displayed showing the PCs public IP addr. ]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20863820</guid>
<pubDate>Mon, 28 Jul 2008 23:14:21 EDT</pubDate>
</item>

<item>
<title>Re: Executing a (DOS) command from webpage.</title>
<link>http://www.dslreports.com/forum/remark,20863462</link>
<description><![CDATA[<A HREF="/useremail/u/0"><b>anon</b></A> : echo]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20863462</guid>
<pubDate>Mon, 28 Jul 2008 22:02:35 EDT</pubDate>
</item>

<item>
<title>Re: Executing a (DOS) command from webpage.</title>
<link>http://www.dslreports.com/forum/remark,20861979</link>
<description><![CDATA[<A HREF="/useremail/u/1228025"><b>Press2Esc</b></A> : (duplicate post)]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20861979</guid>
<pubDate>Mon, 28 Jul 2008 16:54:16 EDT</pubDate>
</item>

<item>
<title>Re: Executing a (DOS) command from webpage.</title>
<link>http://www.dslreports.com/forum/remark,20861113</link>
<description><![CDATA[<A HREF="/useremail/u/1016514"><b>Gwellin</b></A> : <div class="bquote"><small>said by  JAAulde <A HREF="/useremail/u/386501"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</small><br><br><div class="bquote"><small>said by  Gwellin <A HREF="/useremail/u/1016514"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A>    :</small><br><br>...but sending them to a simple webpage can just as easily give them their IP address to copy and paste.  Just look here: &raquo;<A HREF="/whois">/whois</A><br> </div>Remembering that this gives the publicly addressable IP of the device which requested the page and that it may not be the same as the actual IP address of the computer the user is using.  (NAT/NAPT/etc setups, some proxies, etc will cause this to vary)<br> </div>True, I was wondering if that's what he might actually want.  If that's the case then that would not work.<br><br>However, if the web page is being hosted on the same network he might get a better result, assuming the network isn't too complicated.<br><small>--<br>Here to help all those in need, whenever I can.</small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20861113</guid>
<pubDate>Mon, 28 Jul 2008 13:50:14 EDT</pubDate>
</item>

<item>
<title>Re: Executing a (DOS) command from webpage.</title>
<link>http://www.dslreports.com/forum/remark,20861060</link>
<description><![CDATA[<A HREF="/useremail/u/386501"><b>JAAulde</b></A> : <div class="bquote"><small>said by  Gwellin <A HREF="/useremail/u/1016514"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A>   :</small><br><br>...but sending them to a simple webpage can just as easily give them their IP address to copy and paste.  Just look here: &raquo;<A HREF="/whois">/whois</A><br> </div>Remembering that this gives the publicly addressable IP of the device which requested the page and that it may not be the same as the actual IP address of the computer the user is using.  (NAT/NAPT/etc setups, some proxies, etc will cause this to vary)]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20861060</guid>
<pubDate>Mon, 28 Jul 2008 13:38:44 EDT</pubDate>
</item>

<item>
<title>Re: Executing a (DOS) command from webpage.</title>
<link>http://www.dslreports.com/forum/remark,20861040</link>
<description><![CDATA[<A HREF="/useremail/u/1016514"><b>Gwellin</b></A> : Ya, running a local script from a browser is not going to happen, but sending them to a simple webpage can just as easily give them their IP address to copy and paste.  Just look here: &raquo;<A HREF="/whois">/whois</A><br><small>--<br>Here to help all those in need, whenever I can.</small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20861040</guid>
<pubDate>Mon, 28 Jul 2008 13:33:57 EDT</pubDate>
</item>

<item>
<title>Re: Executing a (DOS) command from webpage.</title>
<link>http://www.dslreports.com/forum/remark,20860330</link>
<description><![CDATA[<A HREF="/useremail/u/386501"><b>JAAulde</b></A> : Yeah, executing local scripts just isn't going to happen.  I suppose it is possible to write a small app that you could convince the individual to download and run which would produce output that they could supply back to you.  But that isn't much better than your current situation.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20860330</guid>
<pubDate>Mon, 28 Jul 2008 11:06:37 EDT</pubDate>
</item>

<item>
<title>Re: Executing a (DOS) command from webpage.</title>
<link>http://www.dslreports.com/forum/remark,20860302</link>
<description><![CDATA[<A HREF="/useremail/u/1228025"><b>Press2Esc</b></A> : WOW, what a quick response from the group - thx. <br><br>Basically, as you guys per empathize, I also provide tech support at BBR and various online forums for people struggling with broadband and SMB networks.  Soooo, per my example, if I was able to reference an online html "webpage" or send someone an html-based email asking the recipient for their ip address, I would not need to (1) understand the person level of comprehension and (2) provide them with wordy "do-this, then do-this and if this, do-this" instructions..<br><br>If the person needing assistance were able to click on an email or webpage link that LOCALLY executes the ipconfig command, it would sure make life ez. This is especially true for the end-users who have a lifetime subscription to the "... for dummies" books..<br><br>In a past life, as a former programmer, allows me to understand coding, but certainly less is best. <br><br>Thanks again, for your great and timely responses!!<br><br>P2E]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20860302</guid>
<pubDate>Mon, 28 Jul 2008 11:01:49 EDT</pubDate>
</item>

<item>
<title>Re: Executing a (DOS) command from webpage.</title>
<link>http://www.dslreports.com/forum/remark,20859714</link>
<description><![CDATA[<A HREF="/useremail/u/386501"><b>JAAulde</b></A> : <div class="bquote"><small>said by  johnnyboyct <A HREF="/useremail/u/825167"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</small><br><br>In php you can do exec &raquo;<A HREF="http://us.php.net/function.exec" >us.php.net/function.exec</A><br> </div>Among other ways.  But DO NOT EVER DO THIS without excellent understanding of programming and exploits.  And NEVER (an exaggeration, but listen to it for now) NEVER use input from the user in what you pass to exec or the other methods of accomplishing this.<br><small>--<br>No eat apple, eat cookie. Apple spoil dinner.<br><br><A HREF="http://www.jaaulde.com">My Development Sandbox</a> | <A HREF="http://www.auldridges.com">Blessed Beyond Reason</a> | <A HREF="http://www.linkedin.com/in/JimAuldridge">LinkedIn Profile</a></small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20859714</guid>
<pubDate>Mon, 28 Jul 2008 08:27:34 EDT</pubDate>
</item>

<item>
<title>Re: Executing a (DOS) command from webpage.</title>
<link>http://www.dslreports.com/forum/remark,20859690</link>
<description><![CDATA[<A HREF="/useremail/u/825167"><b>johnnyboyct</b></A> : In php you can do exec &raquo;<A HREF="http://us.php.net/function.exec" >us.php.net/function.exec</A>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20859690</guid>
<pubDate>Mon, 28 Jul 2008 08:15:10 EDT</pubDate>
</item>

<item>
<title>Re: Executing a (DOS) command from webpage.</title>
<link>http://www.dslreports.com/forum/remark,20859688</link>
<description><![CDATA[<A HREF="/useremail/u/875579"><b>Vchat20</b></A> : If it's the latter and you want to execute these commands on the web server then yes, it is possible. But you would need to learn a little bit of php or perl for starters. Both have existing functions to execute a command line application locally.<br><br>Keep in mind though that the user the web server is running under needs permissions to execute the application you are calling.<br><small>--<br><i>I swear, some people should have pace-makers installed to free up the resources. Breathing and heart beat taxes their whole system, all of their brain cells wasted on life support.-two bit brains, and the second bit is wasted on parity!</i> ~head_spaz</small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20859688</guid>
<pubDate>Mon, 28 Jul 2008 08:13:44 EDT</pubDate>
</item>

<item>
<title>Re: Executing a (DOS) command from webpage.</title>
<link>http://www.dslreports.com/forum/remark,20859614</link>
<description><![CDATA[<A HREF="/useremail/u/386501"><b>JAAulde</b></A> : Do you mean you want to execute commands on the computer on which the browser is running?  Or do you mean you want to execute commands on the server via a web interface?]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20859614</guid>
<pubDate>Mon, 28 Jul 2008 07:29:23 EDT</pubDate>
</item>

<item>
<title>Re: Executing a (DOS) command from webpage.</title>
<link>http://www.dslreports.com/forum/remark,20858957</link>
<description><![CDATA[<A HREF="/useremail/u/0"><b>anon</b></A> : No, that would be a major security hole.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20858957</guid>
<pubDate>Mon, 28 Jul 2008 00:08:18 EDT</pubDate>
</item>

<item>
<title>Executing a (DOS) command from webpage.</title>
<link>http://www.dslreports.com/forum/remark,20858785</link>
<description><![CDATA[<A HREF="/useremail/u/1228025"><b>Press2Esc</b></A> : Is there an "easy" method to execute command line command (or batch file) & display (push) the command results window in an HTML file.  <br><br>For example, if I wanted to demo and display the "ipconfig" command via HTML.<br><br>I am not a programmer, so be gentle...  ]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20858785</guid>
<pubDate>Sun, 27 Jul 2008 23:21:48 EDT</pubDate>
</item>

</channel>
</rss>
