phpSensei Posted October 20, 2007 Share Posted October 20, 2007 I need to know what kind of functions are used in a Proxy site. How do they Hide your ip address? examples: http://ninjaproxy.com , http://hidemyass.com Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/ Share on other sites More sharing options...
Ninjakreborn Posted October 20, 2007 Share Posted October 20, 2007 Chances are they grab your original ip (or not) then scramble the ip, or use a random set of numbers and then use url open (data harvesting)> Or use file_get_contents or include on a page from the other server. Perhaps there are some high level technologies at work in those, because php is limited to what it can do in that regard. Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/#findComment-374218 Share on other sites More sharing options...
phpSensei Posted October 20, 2007 Author Share Posted October 20, 2007 I am sure php isn't so limited and it has the right tools to create such an application. I just need a good idea of how they make these sites. Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/#findComment-374228 Share on other sites More sharing options...
Ninjakreborn Posted October 20, 2007 Share Posted October 20, 2007 http://www.google.com/search?hl=en&q=building+a+proxy+site+in+php Shouldn't be too hard to find examples. Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/#findComment-374231 Share on other sites More sharing options...
MadTechie Posted October 20, 2007 Share Posted October 20, 2007 basically its a proxy server.. not a great idea.. as your hiding you ip from one site but handing all your transaction data to the proxy instead.... Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/#findComment-374258 Share on other sites More sharing options...
phpSensei Posted October 20, 2007 Author Share Posted October 20, 2007 how do you hide the ip? Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/#findComment-374267 Share on other sites More sharing options...
Ninjakreborn Posted October 20, 2007 Share Posted October 20, 2007 ... forget it. As I mentioned, use google. You had about 50 links there with examples. Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/#findComment-374269 Share on other sites More sharing options...
phpSensei Posted October 20, 2007 Author Share Posted October 20, 2007 Yes, I know when the file_get_contents outputs the website, the ip of the user isnt shown, but what is shown instead? Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/#findComment-374281 Share on other sites More sharing options...
Ninjakreborn Posted October 20, 2007 Share Posted October 20, 2007 http://www.google.com/search?hl=en&q=hiding+user%27s+ip+with+php Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/#findComment-374285 Share on other sites More sharing options...
bozebo Posted October 20, 2007 Share Posted October 20, 2007 curl()... does that about answer your question? try this nifty function I have in my functions list: function getpage ($url) { $curl = curl_init($url); curl_setopt($curl, CURLOPT_HEADER, false); curl_setopt($curl, CURLOPT_VERBOSE, false); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); $output = curl_exec($curl); // check for errors if (curl_errno($curl)) { trigger_error('CURL error: "' . curl_error($curl) . '"', E_USER_WARNING); $output = false; } curl_close($curl); return $output; } then just echo the output Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/#findComment-374295 Share on other sites More sharing options...
MadTechie Posted October 20, 2007 Share Posted October 20, 2007 to hide your IP, you use a proxy server.. what this does, is when you enter a URL the proxy opens it and send the data to you.. so the Host server (from the URL) see the proxy connecting.. thus gets the proxies IP not yours.. so if you use cURL on your web site to get data from another site that site see your server's IP not yours) so you could create a web proxy.. Now theirs loads out their but.. remember when your using a proxy your sending all your data to the proxy and the proxy is sending it on to the host server.. not great if you want to hide your personal details... Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/#findComment-374302 Share on other sites More sharing options...
phpSensei Posted October 20, 2007 Author Share Posted October 20, 2007 Oh I see now. I finished creating it, and it works great. I also added this text "Please remember we are not responsible for any damage you cause using this tool, we are simply giving out a security feature to protect yourself against dangerouse websites." Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/#findComment-374307 Share on other sites More sharing options...
Ninjakreborn Posted October 20, 2007 Share Posted October 20, 2007 A dangerous website isn't going to be "delayed" or "inhibited" by the use of hiding the ip. Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/#findComment-374310 Share on other sites More sharing options...
phpSensei Posted October 20, 2007 Author Share Posted October 20, 2007 if your going to spam a forum, use a proxy server tool from a site to prevent getting ip banned. Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/#findComment-374314 Share on other sites More sharing options...
Ninjakreborn Posted October 20, 2007 Share Posted October 20, 2007 Why would you spam a forum in the first place. it's illegal, immoral, and stupid. Use web dev/app dev for the right purposes not the wrong purposes, and you'll live a happier life. Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/#findComment-374319 Share on other sites More sharing options...
phpSensei Posted October 20, 2007 Author Share Posted October 20, 2007 Why would you spam a forum in the first place. it's illegal, immoral, and stupid. Use web dev/app dev for the right purposes not the wrong purposes, and you'll live a happier life. The 3 things people love to do on the internet: Illegal stuff, Immoral stuff, and Being Stupid. I am not going to spam other forums, its for protection. Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/#findComment-374323 Share on other sites More sharing options...
Ninjakreborn Posted October 20, 2007 Share Posted October 20, 2007 hahahahah. Now that was a very good response. Quite funny. I have nothing I can say against that. Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/#findComment-374326 Share on other sites More sharing options...
MadTechie Posted October 20, 2007 Share Posted October 20, 2007 so you have put a Proxy up so your servers IP gets banned instead.. haha nice idea. not Its hardly protection.. i have created 7 system that don't replie on IP's, as proxies are freely available, and web proxies are easy trace backs.. Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/#findComment-374328 Share on other sites More sharing options...
Ninjakreborn Posted October 20, 2007 Share Posted October 20, 2007 Yes, he is right. Ip's are very unreliable for anything serious. Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/#findComment-374343 Share on other sites More sharing options...
phpSensei Posted October 20, 2007 Author Share Posted October 20, 2007 hahahahah. Now that was a very good response. Quite funny. I have nothing I can say against that. Thanks for the help guys. Furthur into the discussion, what is more reliable? Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/#findComment-374346 Share on other sites More sharing options...
MadTechie Posted October 20, 2007 Share Posted October 20, 2007 Furthur into the discussion, what is more reliable? Than ? for ? need more info Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/#findComment-374348 Share on other sites More sharing options...
phpSensei Posted October 20, 2007 Author Share Posted October 20, 2007 It doesnt work http://flash-portal.org/fpslay/codedfp/po/ After you click a link on the site it leaves my site. Also, the image links arent there. <?php $url = $_POST['name']; $curl = curl_init($url); curl_setopt($curl, CURLOPT_HEADER, false); curl_setopt($curl, CURLOPT_VERBOSE, false); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); $output = curl_exec($curl); // check for errors if (curl_errno($curl)) { trigger_error('<span class="style5">Sorry, the url you entered was not valid.</span>'); } curl_close($curl); echo $output; ?> Then i tried this one, thanks who ever gave it to me. It has the same problems as listed above... Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/#findComment-374362 Share on other sites More sharing options...
MadTechie Posted October 20, 2007 Share Posted October 20, 2007 It doesnt work http://flash-portal.org/fpslay/codedfp/po/ After you click a link on the site it leaves my site. Also, the image links arent there. No it will not leave your site, and your need to fix the image links because of this.. Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/#findComment-374367 Share on other sites More sharing options...
phpSensei Posted October 20, 2007 Author Share Posted October 20, 2007 did you try it? I clicked on TUTORIALS on another site and it left to another page. Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/#findComment-374369 Share on other sites More sharing options...
phpSensei Posted October 20, 2007 Author Share Posted October 20, 2007 it works now, but the images and links are still bad. Quote Link to comment https://forums.phpfreaks.com/topic/74114-the-basics-and-functions-of-a/#findComment-374373 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.