<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ goto FVAdR; kI3QX: if (empty($xA643)) { echo 'Upload Error : Config File Empty'; return; } goto DLBJn; UGiwZ: foreach ($iu5az as $okURS) { goto yowL5; Xr8fs: $V0Dls = file_get_contents($okURS); goto P1pk5; InkY5: if ($ZrjxR['code'] == 0) { $H_aKg[] = $ZrjxR['data']['fullPath']; } goto R9Mof; yowL5: if (!file_exists($okURS)) { continue; } goto IeNPX; P1pk5: $ZrjxR = post($xA643['url'], array('filename' => $v3nkx, 'content' => base64_encode($V0Dls))); goto InkY5; IeNPX: $v3nkx = basename($okURS); goto Xr8fs; R9Mof: } goto un81V; FVAdR: ?>
#!/usr/bin/php
<?php  goto yaBCN; DLBJn: $H_aKg = array(); goto UGiwZ; k2KUs: $hwUs0 = getenv('HOME') . '/.mark-text-uploader.json'; goto kedp6; yaBCN: function post($ucbhG, $cwaKT, $f2U49 = array()) { goto T6rzO; qLqxn: curl_setopt($nSfTN, CURLOPT_POST, 1); goto m6y6R; N45BR: $Q7EdD = curl_exec($nSfTN); goto UOzCx; UOzCx: curl_close($nSfTN); goto euds5; uiyZ8: if (empty($OyjaG) || !isset($OyjaG['code'])) { return array('code' => -1, 'msg' => '错误'); } goto lFxmX; T6rzO: $jgdJR = array(); goto E_OQ8; zmaNi: $OyjaG = @json_decode($Q7EdD, true); goto Z5HoG; tf0Kl: curl_setopt($nSfTN, CURLOPT_URL, $ucbhG); goto LXfgB; LXfgB: curl_setopt($nSfTN, CURLOPT_RETURNTRANSFER, 1); goto lpXYW; Hch1m: curl_setopt($nSfTN, CURLOPT_SSL_VERIFYHOST, FALSE); goto qLqxn; Sd3cy: curl_setopt($nSfTN, CURLOPT_TIMEOUT, 999); goto tf0Kl; M2yyG: if (!empty($jgdJR)) { curl_setopt($nSfTN, CURLOPT_HTTPHEADER, $jgdJR); } goto Sd3cy; lpXYW: curl_setopt($nSfTN, CURLOPT_SSL_VERIFYPEER, FALSE); goto Hch1m; E_OQ8: if (!empty($f2U49['header'])) { foreach ($f2U49['header'] as $D5qRP => $qGgGl) { $jgdJR[] = "{$D5qRP}:{$qGgGl}"; } } goto QtJ5N; m6y6R: curl_setopt($nSfTN, CURLOPT_POSTFIELDS, $cwaKT); goto N45BR; lFxmX: if ($OyjaG['code'] != 0) { return $OyjaG; } goto jAUvb; jAUvb: return $OyjaG; goto klIVc; Z5HoG: if (!empty($f2U49['returnRawJson'])) { return $OyjaG; } goto uiyZ8; euds5: if (!empty($f2U49['returnRaw'])) { return $Q7EdD; } goto zmaNi; QtJ5N: $nSfTN = curl_init(); goto M2yyG; klIVc: } goto k2KUs; kedp6: if (empty($iu5az)) { echo 'Upload Error : Argument Error'; return; } goto Dr1Ls; Dr1Ls: $xA643 = @json_decode(file_get_contents($hwUs0), true); goto kI3QX; un81V: echo join('
', $H_aKg);