Quantcast
Channel: pastebin.com – LeakedIn
Viewing all articles
Browse latest Browse all 2834

Potential leak of data: API Key

$
0
0
Detected 1 occurrence(s) of ‘(api|private)[-_]key[ "']*=[ ="']*\w+’: {"status":"OK","minecrafts":[{"id":411,"ip":"2452453","name":"EdenCraft","port":23,"ram":512,"leaf_id":1522,"ftp_password":"1231235312","subscription_end":"2014-02-06T19:56:29.000Z"}]} <?php $url = "http://api.edenservers.fr/minecraft?user_id=id&api_key=key"; $data = file_get_contents($url); // Opening the Query URL $data = json_decode($data, true); // Decoding the obtained JSON data if(count($data) > 0) { foreach($data as $rank => $donnees) { echo "<u>" . $rank ."</u> : ". $rank; echo "< Source: http://pastebin.com/raw.php?i=MTphe6QU

Viewing all articles
Browse latest Browse all 2834

Trending Articles