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 :

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..

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

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.
-
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  


Thursday, 26-Nov 02:29:05 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [105] New AT&T Ad Campaign Hits Back At Verizon
· [101] Time Warner Cable Fires Broadside At Broadcasters
· [95] Apple Joins AT&T Verizon Snark Fest
· [85] New Bill Takes Aim At Higher Verizon ETFs
· [63] TiVo Sees Record Customer Losses
· [48] In-Flight Internet Headed For Bumpy Landing?
· [34] Senators Want ACTA Made Public
· [30] Earthlink Suffers From Major E-mail Outage
· [30] AT&T Offers New Prepaid Wireless plans
· [30] Despite Billions In USF Fees, U.S. Libraries Lack Bandwidth
Most people now reading
· I'll Just Unplug That... [No, I Will Not Fix Your #@$!! Computer]
· Whats the big deal about being "Old School"....? [World of Warcraft]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· Windows 7 boot manager editing questions [Microsoft Help]
· ToC 4th boss - Preliminary Strategy for Twin Valkyr [World of Warcraft]
· [How to] Install Asterisk on an Asus WL-520GU router [VOIP Tech Chat]
· [DVR] DCX3400 - 30 Second Skip Forward [Comcast Cable TV]
· Connecting to Google Voice Via SIP [VOIP Tech Chat]
· Newegg Black Friday Sale started [Users Find Hot Deals]
· IPComms Free DIDs now with sip registration maybe?? [VOIP Tech Chat]