Potential leak of data: URL with Credentials
Detected 1 occurrence(s) of ‘[ht|f]tp[s]*:\/\/\w+\:.*\@\w*\.\w*’:
load xml file with authentication (and improving security) $xml = simplexml_load_file($xml_query); http://link.to/file.xml http://username:password@link.to/file.xml $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL, $xml_query); curl_setopt($ch, CURLOPT_USERPWD, $username . ':' . $password); $result = curl_exec($ch); curl_close($ch); $xml = simplexml_load_st
Source: http://pastebin.com/raw.php?i=Axdi8z8s
Tags: pastebin.com, URL with Credentials
This entry was posted on Saturday, June 30th, 2012 at 19:22 and is filed under PasteMon. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.
Comments are closed.

