Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » Webmasters and Developers » Executing a (DOS) command from webpage.
Search Topic:
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
Do you think .me domain will get big like .com / .net ? »
« [EMAIL] Securing EXIM and Spam Issue  
AuthorAll Replies
-


Press2Esc

join:2005-07-03
SC
·AT&T Southeast

reply to Gwellin
Re: Executing a (DOS) command from webpage.

said by Gwellin See Profile :

In a PHP file (on the server) you would use the following line of code:

thanks GWellin, this is helpful.


Gwellin
Premium
join:2004-05-31
Regina, SK
·Access Communicati..

reply to Press2Esc
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:

--
Here to help all those in need, whenever I can.


Press2Esc

join:2005-07-03
SC
·AT&T Southeast

reply to Gwellin
said by Gwellin See Profile :

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: »/whois
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.


Gwellin
Premium
join:2004-05-31
Regina, SK
·Access Communicati..

reply to JAAulde
said by JAAulde See Profile :

said by Gwellin See Profile :

...but sending them to a simple webpage can just as easily give them their IP address to copy and paste. Just look here: »/whois
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)
True, I was wondering if that's what he might actually want. If that's the case then that would not work.

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.
--
Here to help all those in need, whenever I can.


JAAulde
yum yum yum yum yum
Premium,MVM
join:2001-05-09
Hagerstown, MD


2 edits
reply to Gwellin
said by Gwellin See Profile :

...but sending them to a simple webpage can just as easily give them their IP address to copy and paste. Just look here: »/whois
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)


Gwellin
Premium
join:2004-05-31
Regina, SK
·Access Communicati..

reply to Press2Esc
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: »/whois
--
Here to help all those in need, whenever I can.
Forums » Tech and Talk » OS and Software » Webmasters and DevelopersDo you think .me domain will get big like .com / .net ? »
« [EMAIL] Securing EXIM and Spam Issue  


Wednesday, 09-Dec 11:49:18 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [197] Sprint Sued For Distracted Driving Death
· [81] 3G Network Test Says AT&T Is Tops
· [72] Mediacom Unveils 105 Mbps Pricing
· [65] Sprint Poised For A Turnaround?
· [57] WPA Cracker: Test WPA-PSK Networks In 20 Minutes
· [51] AT&T Launching New 24 Mbps U-Verse Tier
· [50] The Future Of Wi-Fi Is Bright
· [47] Site Leaks Yahoo, Verizon Fed Data Share Pricing
· [44] Microwaving Your Innards Is Not 'Extreme'
· [39] Verizon LTE: 5-12 Mbps Downstream
Most people now reading
· Comcast refused to install 400' feet. [Comcast HSI]
· Cross Server Dungeon Experience [World of Warcraft]
· IMG 1.7 (IMG Updates and Discussion) [Verizon FIOS TV]
· [How to] Install Asterisk on an Asus WL-520GU router [VOIP Tech Chat]
· HOA Headaches [General Questions]
· Windows 7 boot manager editing questions [Microsoft Help]
· Adobe Flash Player version 10.0.42.34 [Security]
· persistent connection to qw-in-f113.1e100.net on boot [Security]
· The aftermath [World of Warcraft]
· Is sleeping similar to being dead? [General Questions]