[advanced search]
Results from the most recent live auction are here.
21 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Programming > CODE
User Name
Password

Old 08-10-2003, 10:51 AM   · #1
Mp)Tarh
....what?
 
Mp)Tarh's Avatar
 
Location: Ontario, Canada
Trader Rating: (0)
Join Date: Aug 2003
Posts: 101
NP$: 171.00 (Donate)
Mp)Tarh is an unknown quantity at this point
Sensitive Information from the User in ASP!

Ever wanted the User's IP, or other things you shouldn't be looking at?

You've come to the right place!

ASP can find all kinds of secret information from the User, you just need to look at the HTTP headers!

You can insert the following information into any ASP variable:

User's Browser Information:
Request.ServerVariables("http_user_agent")

User's IP:
Request.ServerVariables("remote_addr")

DNS lookup of User's IP:
Request.ServerVariables("remote_host")

Method used to call the page:
Request.ServerVariables("request_method")

The server's Domain Name:
Request.ServerVariables("server_name")

The Server's Port:
Request.ServerVariables("server.port")

The Server's Softwar:
Request.ServerVariables("server_software")

Lots of information you can sneak away from them, huh

I attached an ASP File that has code to print out these items, remember that it must be tested online or on a Personal Web Server, you can't just open in Internet Explorer - That just doesn't work

Happy Programming!


Please register or log-in into NamePros to hide ads
__________________
Yeah... I knew that. What?
Mp)Tarh is offline   Reply With Quote
Old 04-18-2004, 01:05 PM   · #2
Phoenix
NP Maniac™
 
Phoenix's Avatar
 
Name: Tom
Location: East Midlands, UK
Trader Rating: (37)
Join Date: Apr 2004
Posts: 734
NP$: 14.75 (Donate)
Phoenix is a name known to allPhoenix is a name known to allPhoenix is a name known to allPhoenix is a name known to allPhoenix is a name known to allPhoenix is a name known to all
Or (just for reference) you can do it in PHP, for an example see this script (made by us): Download!
__________________
47ideas.com - my freelancing portfolio.

PHP/MySQL Development offered: PM me for a quote.
Icecast.net - POPULAR OPEN SOURCE SOFTWARE - CHEAP BIN
Phoenix is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


Site Sponsors
Proof is in the Parking http://www.mobisitetrader.com/ Exdon
Advertise your business at NamePros
All times are GMT -7. The time now is 11:36 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0