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:firstname.lastname@example.org/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
If you find the content of this pastie suspicious or inappropriate, highlight the relevant piece of text and press Shift + E or click here to notify us.
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.
Thank you very much for your report. We will process it as soon as possible!