Teya Salat
$w) { $new_w = ($new_side / $h) * $w; $new_h = $new_side; } else { $new_h = ($new_side / $w) * $h; $new_w = $new_side; } $im2 = ImageCreateTrueColor($new_w-20, $new_h); $image = ImageCreateFromstring($im); imagecopyResampled ($im2, $image, -5, 0, 0, 0, $new_w, $new_h, 220, 50); return $im2; } print ""; $server = "Server đang dùng: http://server.mjad.co.cc/"; $currentver="20100430"; $thongbao="\n"; $hvhacker="HvHacker (c)2010\nYM: phductho"; $other=""; // if (($_SERVER["REQUEST_METHOD"] == "GET")){ // Print "HvHacker: Bad Request!"; // exit(); // } $ver = $_REQUEST["ver"]; $oops = "Bạn đang sử dụng phiên bản cũ, hiện đã có phiên bản mới build ".$currentver." tại địa chỉ http://24info.co.cc/m hoặc http://hvu.co.cc/m"; if ( $ver < $currentver ) { if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn($oops)); } else print FixEncoding($oops); print ""; exit(); } function get_url_contents($url){ $crl = curl_init(); $timeout = 5; curl_setopt ($crl, CURLOPT_COOKIESESSION, true); curl_setopt ($crl, CURLOPT_URL,$url); curl_setopt ($crl, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($crl, CURLOPT_CONNECTTIMEOUT, $timeout); curl_setopt($crl, CURLOPT_USERAGENT, "User-Agent:Profile/MIDP-1.0 Configuration/CLDC-1.0"); $ret = curl_exec($crl); curl_close($crl); return $ret; } function sstring($source,$a,$b){ list($junk, $dest) = split($a, $source); list($dest, $junk) = split($b, $dest); return $dest; } function cutstring($source,$a,$b){ $ret = substr($source, $a, $b); $pos1 = stripos($source, $a); $ret = substr($source, 0, $pos1); $pos1 = $pos1 + strlen($a); $s = substr($source, $pos1); $pos2 = stripos($s, $b) + strlen($b); $ret = $ret.substr($s, $pos2); return $ret; } function FixEncoding($x){ if(mb_detect_encoding($x)=='UTF-8'){ return $x; }else{ return utf8_encode($x); } } function CovertVn($str){ $str = preg_replace("/(à|á|ạ|ả|ã|â|ầ|ấ|ậ|ẩ|ẫ|ă|ằ|� �|ặ|ẳ|ẵ|ắ)/", 'a', $str); $str = preg_replace("/(è|é|ẹ|ẻ|ẽ|ê|ề|ế|ệ|ể|ễ)/", 'e', $str); $str = preg_replace("/(ì|í|ị|ỉ|ĩ)/", 'i', $str); $str = preg_replace("/(ò|ó|ọ|ỏ|õ|ô|ồ|ố|ộ|ổ|ỗ|ơ|ờ|� �|ợ|ở|ỡ|ớ)/", 'o', $str); $str = preg_replace("/(ù|ú|ụ|ủ|ũ|ư|ừ|ứ|ự|ử|ữ)/", 'u', $str); $str = preg_replace("/(ỳ|ý|ỵ|ỷ|ỹ)/", 'y', $str); $str = preg_replace("/(đ)/", 'd', $str); $str = preg_replace("/(À|Á|Ạ|Ả|Ã|Â|Ầ|Ấ|Ậ|Ẩ|Ẫ|Ă|Ằ|� �|Ặ|Ẳ|Ẵ|Ắ)/", 'A', $str); $str = preg_replace("/(È|É|Ẹ|Ẻ|Ẽ|Ê|Ề|Ế|Ệ|Ể|Ễ)/", 'E', $str); $str = preg_replace("/(Ì|Í|Ị|Ỉ|Ĩ)/", 'I', $str); $str = preg_replace("/(Ò|Ó|Ọ|Ỏ|Õ|Ô|Ồ|Ố|Ộ|Ổ|Ỗ|Ơ|Ờ|� �|Ợ|Ở|Ỡ|Ớ)/", 'O', $str); $str = preg_replace("/(Ù|Ú|Ụ|Ủ|Ũ|Ư|Ừ|Ứ|Ự|Ử|Ữ)/", 'U', $str); $str = preg_replace("/(Ỳ|Ý|Ỵ|Ỷ|Ỹ)/", 'Y', $str); $str = preg_replace("/(Đ)/", 'D', $str); $str = preg_replace("/( )/", ' ', $str); return $str; } function downcase($str){ $str = preg_replace("/(A)/", 'a', $str); $str = preg_replace("/(B)/", 'b', $str); $str = preg_replace("/(C)/", 'c', $str); $str = preg_replace("/(D)/", 'd', $str); $str = preg_replace("/(E)/", 'e', $str); $str = preg_replace("/(F)/", 'f', $str); $str = preg_replace("/(G)/", 'g', $str); $str = preg_replace("/(H)/", 'h', $str); $str = preg_replace("/(I)/", 'i', $str); $str = preg_replace("/(J)/", 'j', $str); $str = preg_replace("/(K)/", 'k', $str); $str = preg_replace("/(L)/", 'l', $str); $str = preg_replace("/(M)/", 'm', $str); $str = preg_replace("/(N)/", 'n', $str); $str = preg_replace("/(O)/", 'o', $str); $str = preg_replace("/(P)/", 'p', $str); $str = preg_replace("/(Q)/", 'q', $str); $str = preg_replace("/(R)/", 'r', $str); $str = preg_replace("/(S)/", 's', $str); $str = preg_replace("/(T)/", 't', $str); $str = preg_replace("/(U)/", 'u', $str); $str = preg_replace("/(V)/", 'v', $str); $str = preg_replace("/(W)/", 'w', $str); $str = preg_replace("/(X)/", 'x', $str); $str = preg_replace("/(Y)/", 'y', $str); $str = preg_replace("/(Z)/", 'z', $str); return $str; } function google_translate($str,$lang1,$lang2) { $transver="1.0"; $baseurl = "http://ajax.googleapis.com/ajax/services/language/translate"; $str = urlencode($str); $url = "v=".$transver."&q=".$str."&langpair=".$lang1."%7C".$lang2; $url = $baseurl."?".$url; $data =get_url_contents($url); $data = explode("\"},",$data); $data = $data[0]; $data = explode("\"translatedText\":\"",$data); $data = $data[1]; $data = explode("\",\"detectedSourceLanguage\":\"",$data); $translated = $data[0]; if ($data[1] != "") $detectedlang=$data[1]; else $detectedlang= false; global $detectedlang; return $translated; } function fix_phone($to){ $n=strlen(trim($to)); $s=''; for($i=0;$i<=$n;$i++)if($to{$i}>='0' && $to{$i}<='9')$s.=$to{$i}; if(substr($s,0,2)=='00')$s=substr($s,2); if(substr($s,0,3)=='840')$s='0'.substr($s,3); if(substr($s,0,2)=='84')$s='0'.substr($s,2); return $s; } function vlogin($captcha,$cookie,$user,$pass){ $query = "Current_Date=".date('j')."&Current_Month=".date('n')."&Current_Year=".date('y')."&mod=login&username=$user&password=$pass&secureletter=$captcha&button=%C4%90%C4%83ng+nh%E1%BA%ADp"; $ch = curl_init(); curl_setopt($ch,CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1) Gecko/20080404 Firefox/2.0.0.14"); curl_setopt($ch, CURLOPT_HEADER, 1); curl_setopt($ch, CURLINFO_HEADER_OUT, 1); curl_setopt($ch, CURLOPT_COOKIE, "JSESSIONID=".$cookie.";"); curl_setopt($ch, CURLOPT_AUTOREFERER, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_URL, "http://member.vietteltelecom.vn/home/login.jsp?ReturnUrl=/home/send_message.jsp"); curl_setopt($ch, CURLOPT_REFERER, "http://member.vietteltelecom.vn/home/login.jsp?ReturnUrl=/home/send_message.jsp"); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $query); $page = curl_exec($ch); curl_close($ch); // $check = $page; $check = sstring($page,'',''); // $ok = sstring($page,'HTTP/1.1','Date:'); // if (($check == "")&&($ok == "302 Moved Temporarily")){ // $check = "ok"; // } return $check; } function get_new_cookie(){ $ch = curl_init(); curl_setopt($ch,CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14"); curl_setopt($ch, CURLOPT_HEADER, 1); curl_setopt($ch, CURLINFO_HEADER_OUT, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_AUTOREFERER, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $url = 'http://member.vietteltelecom.vn/home/login.jsp?ReturnUrl=/home/send_message.jsp'; curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, 0); $page = curl_exec($ch); curl_close($ch); $JSESSIONID = sstring($page,"JSESSIONID=",";"); return $JSESSIONID; } if ($_REQUEST["com"]=="danhba"){ if ($other!=""){ if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(($other."\n")));} else print FixEncoding(($other."\n")); exit(); } $matinh = $_REQUEST["matinh"]; $somay = $_REQUEST["somay"]; if (($matinh == "") or ($somay == "")) { $good = "matinh=?\nsomay=?";} else { $url = "http://m.xalo.vn/kq.mdbs?q=$matinh$somay&hq=l0"; $response = str_replace('"', "'", get_url_contents($url)); // Xalo $good = sstring($response,"
1","
"); $good = cutstring($good,"",""); if ($good == "") {$good = FixEncoding("Không tìm thấy.\nBạn đã điền đúng thông tin chưa?\nHãy thử VD mã vùng Phú Thọ: 0210 Số máy 820042 hoặc 3820042\nTruy cập http://danhba.vdc.com.vn/ để biết thêm chi tiết");} else{ // $good = str_replace('"', "'", $good); $good = str_replace('', "", $good); $good = str_replace('', "", $good); $good = str_replace('', "", $good); $good = str_replace('', "", $good); $good = str_replace('', "", $good); // $good = str_replace('', "", $good); // $good = str_replace('', "", $good); $good = str_replace('', "", $good); $good = str_replace('', "", $good); $good = str_replace('', "", $good); // $good = str_replace("color='#a0a0a0'>", "", $good); // $good = str_replace('color=red>', "", $good); // $good = str_replace('color=#ff0000>', "", $good); $good = str_replace('', "", $good); // $good = str_replace('', "", $good); // $good = str_replace('
', "", $good); $good = str_replace('
', "\n", $good); // $good = str_replace(' ', "", $good); $good = str_replace("\t", "", $good); // $good = str_replace("\n", "", $good); $good = str_replace("\r", "", $good); $good = str_replace("
", "", $good); $good = str_replace("
", "\n", $good); $good = str_replace('', "", $good); $good = str_replace(" ", " ", $good); $good = str_replace(" ", " ", $good); $good = str_replace(" ", " ", $good); $good = str_replace(" ", " ", $good); $good = trim($good); $good = FixEncoding("Kết quả cho (".$matinh.")".$somay.": \n").$good; } } if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(($good."\n")));} else print FixEncoding(($good."\n")); if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(($thongbao."\n")));} else print FixEncoding(($thongbao."\n")); if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(("\n".$hvhacker."\n")));} else print FixEncoding(("\n".$hvhacker."\n")); } if ($_REQUEST["com"]=="sms"){} if ($_REQUEST["com"]=="thoitiet"){ if ($other!=""){ if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(($other."\n")));} else print FixEncoding(($other."\n")); exit(); } $location = $_REQUEST["location"]; if ($location == ""){ print "location=?";} else{ switch ($location) { case "0": $locationid = "19/76"; $lo = "Việt Trì"; break; case "1": $locationid = "18/78"; $lo = "Sơn La"; break; case "2": $lo = "Hà nội"; $locationid = "19/58"; break; case "3": $locationid = "19/88"; $lo = "Hải Phòng"; break; case "4": $locationid = "21/92"; $lo = "Đà Nẵng"; break; case "5": $locationid = "20/111"; $lo = "Vinh"; break; case "6": $locationid = "21/37"; $lo = "Nha Trang"; break; case "7": $locationid = "22/41"; $lo = "Pleicu"; break; case "8": $locationid = "23/44"; $lo = "Tp Hồ Chí Minh"; break; default: $lo = "Unknow"; break; } $url = "http://www.nchmf.gov.vn/website/vi-VN/62/".$locationid."/map/Default.aspx"; $urltime = "http://www.timeanddate.com/worldclock/fullscreen.html?n=95"; $timezone = get_url_contents($urltime); $time = sstring($timezone,"
","
"); $date = sstring($timezone,"
","
"); if ($date == "") {print FixEncoding(CovertVn("Server đang bận, vui lòng thực hiện lại nha :)")); print ""; exit();} $response = get_url_contents($url); if ($response == "") {print FixEncoding(CovertVn("Server đang bận, vui lòng thực hiện lại nha :)")); print ""; exit();} $response = str_replace("\t", "", $response); $response = str_replace("\n", "", $response); $response = str_replace("\r", "", $response); $capnhat = sstring($response,'_ctl1__ctl2__ctl0_lbl_DuBaoThoiTietCapNhatLuc">',''); $thongtin = sstring($response,'',''); $thoitiet = sstring($thongtin,'',''); $diadiem = sstring($thongtin,' ',''); if ($diadiem == "") {print FixEncoding(CovertVn("Server đang bận, vui lòng thực hiện lại nha :)")); print ""; exit();} $nhietdo = sstring($thongtin,'',''); $doam = sstring($thongtin,'',''); $gio = (sstring($thongtin,'','')); $next24 = sstring($thongtin,''); $next48 = sstring($thongtin,'
','
'); $next72 = sstring($thongtin,'
','
'); $time24 = sstring($thongtin,'
','
',''); $time48 = sstring(sstring($thongtin,'',''),'','', "", $good); $good = str_replace('Listen
', "", $good); $good = str_replace('', "", $good); $good = str_replace('
', "", $good); $good = str_replace('
', "", $good); $good = str_replace('
', "\n", $good); $good = str_replace("", ") ", $good); $good = str_replace('
', "", $good); $good = str_replace('#@', "[", $good); $good = str_replace('@#', "]", $good); $good = str_replace("'>", ")", $good); // $good = str_replace(' ', "", $good); // $good = str_replace(' ', "", $good); $good = "Nghĩa của [".$word."] trong từ điển ".$name.":".$good; } } if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(($good."\n")));} else print FixEncoding(($good."\n")); if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(($thongbao."\n")));} else print FixEncoding(($thongbao."\n")); if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(("\n".$hvhacker."\n")));} else print FixEncoding(("\n".$hvhacker."\n")); } if ($_REQUEST["com"]=="tygia"){ if ($other!=""){ if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(($other."\n")));} else print FixEncoding(($other."\n")); exit(); } $urlvang = "http://vnexpress.net/Service/Gold_Content.js"; $urltygia = "http://vnexpress.net/Service/Forex_Content.js"; $urltime = "http://www.timeanddate.com/worldclock/fullscreen.html?n=95"; $responsevang = get_url_contents($urlvang); if ($responsevang == "") {print FixEncoding(CovertVn("Server đang bận, vui lòng thực hiện lại nha :)")); print ""; exit();} $responsetygia = get_url_contents($urltygia); if ($responsetygia == "") {print FixEncoding(CovertVn("Server đang bận, vui lòng thực hiện lại nha :)")); print ""; exit();} $timezone = get_url_contents($urltime); $time = sstring($timezone,"
","
"); $date = sstring($timezone,"
","
"); if ($date == "") {print FixEncoding(CovertVn("Server đang bận, vui lòng thực hiện lại nha :)")); print ""; exit();} $my_t=getdate(date("U")); $good = FixEncoding(("Bây giờ là $time\n$date")); $SJCBuy = sstring($responsevang,"vGoldSjcBuy = '","';"); $SJCSell = sstring($responsevang,"vGoldSjcSell = '","';"); $USD = sstring(sstring($responsetygia,"USD';",'vForexs'),"= '","';"); $JPY = sstring(sstring($responsetygia,"JPY';",'vForexs'),"= '","';"); $EUR = sstring(sstring($responsetygia,"EUR';",'vForexs'),"= '","';"); $HKD = sstring(sstring($responsetygia,"HKD';",'vForexs'),"= '","';"); $FRF = sstring(sstring($responsetygia,"FRF';",'vForexs'),"= '","';"); $SGD = sstring(sstring($responsetygia,"SGD';",'vForexs'),"= '","';"); $AUD = sstring(sstring($responsetygia,"AUD';",'vForexs'),"= '","';"); $CAD = sstring(sstring($responsetygia,"CAD';",'vForexs'),"= '","';"); $NZD = sstring(sstring($responsetygia,"NZD';",'vForexs'),"= '","';"); $CHF = sstring(sstring($responsetygia,"CHF';",'vForexs'),"= '","';"); $GBP = sstring(sstring($responsetygia,"GBP';",'vForexs'),"= '","';"); $DEM = sstring(sstring($responsetygia,"DEM';",'vForexs'),"= '","';"); $good = $good."\nGiá Vàng (1 lượng):"; $good = $good."\nSJC Mua vào: \n".$SJCBuy.",000 VNĐ"; $good = $good."\nSJC Bán ra: \n".$SJCSell.",000 VNĐ"; $good = $good."\nTỷ giá ngoại tệ:"; if ($USD!="-"){ $good = $good."\n1 USD = ".$USD." VNĐ"; } if ($GBP!="-"){ $good = $good."\n1 GBP = ".$GBP." VNĐ"; } if ($HKD!="-"){ $good = $good."\n1 HKD = ".$HKD." VNĐ"; } if ($FRF!="-"){ $good = $good."\n1 FRF = ".$FRF." VNĐ"; } if ($CHF!="-"){ $good = $good."\n1 CHF = ".$CHF." VNĐ"; } if ($DEM!="-"){ $good = $good."\n1 DEM = ".$DEM." VNĐ"; } if ($JPY!="-"){ $good = $good."\n1 JPY = ".$JPY." VNĐ"; } if ($AUD!="-"){ $good = $good."\n1 AUD = ".$AUD." VNĐ"; } if ($CAD!="-"){ $good = $good."\n1 CAD = ".$CAD." VNĐ"; } if ($SGD!="-"){ $good = $good."\n1 SGD = ".$SGD." VNĐ"; } if ($EUR!="-"){ $good = $good."\n1 EUR = ".$EUR." VNĐ"; } if ($NZD!="-"){ $good = $good."\n1 NZD = ".$NZD." VNĐ"; } $good = $good.FixEncoding("\nNguồn: VnExpress"); if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(($good."\n")));} else print FixEncoding(($good."\n")); if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(($thongbao."\n")));} else print FixEncoding(($thongbao."\n")); if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(("\n".$hvhacker."\n")));} else print FixEncoding(("\n".$hvhacker."\n")); } if ($_REQUEST["com"]=="dich"){ if ($other!=""){ if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(($other."\n")));} else print FixEncoding(($other."\n")); exit(); } $translate_string = $_REQUEST["word"]; $translate_string = str_replace("\\","", $translate_string); $dict = $_REQUEST["dict"]; if ($dict=="0") { $out = "Google Translate \nEnglish -> Vietnamese:\n---------------\n".google_translate($translate_string,"en","vi"); } if ($dict=="1") { $out = "Google Translate \nEnglish -> French:\n---------------\n".google_translate($translate_string,"en","fr"); } if ($dict=="2") { $out = "Google Translate \nEnglish -> Italian:\n---------------\n".google_translate($translate_string,"en","it"); } $out = str_replace('\u0026#39;', "'", $out); $out = str_replace(''', "'", $out); $out = str_replace('\u0026quot;', "'", $out); $out = str_replace('"', '"', $out); if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(($out."\n---------------\n")));} else print FixEncoding(($out."\n---------------\n")); if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(($thongbao."\n")));} else print FixEncoding(($thongbao."\n")); if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(("\n".$hvhacker."\n")));} else print FixEncoding(("\n".$hvhacker."\n")); } if ($_REQUEST["com"]=="xportal"){ // if ($other!=""){ // if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(($other."\n")));} else print FixEncoding(($other."\n")); // exit(); // } // $to=@$_REQUEST['to']; if(get_magic_quotes_gpc()) $to=stripslashes($to); // $mess=@$_REQUEST['mess']; if(get_magic_quotes_gpc()) $mess=stripslashes($mess); // $good=''; // if($to && $mess)$good=send_sms($to,$mess); // $good = $good.FixEncoding("\nGate: SMS Xportal\n"); // if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(($good."\n")));} else print FixEncoding(($good."\n")); // if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(($thongbao."\n")));} else print FixEncoding(($thongbao."\n")); // if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(("\n".$hvhacker."\n")));} else print FixEncoding(("\n".$hvhacker."\n")); } if (($_REQUEST["com"]=="check")|| ($_REQUEST["com"]=="send")){ if ($other!=""){ if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(($other."\n")));} else print FixEncoding(($other."\n")); exit(); } $phone=$_REQUEST["phone"]; $mess = $_REQUEST["content"]; $capt=$_REQUEST["captcha"]; $capt= downcase($capt); $cookie=$_REQUEST["cookies"]; $user = $_REQUEST["username"]; $pass = $_REQUEST["password"]; { if ($capt != "") { $log = vlogin($capt,$cookie,$user,$pass); // print $log; // if ($log !== "ok") { // $info = $log; // } } if ($_REQUEST["com"] == "check"){ $query = "p_ReportType=web&txtCalledNumber=&smsTplId=&chargeFlg=1&mSelect=&pbList=&p_Country=84&message=&remain=10&messages123=1&advFlg=ON&Submit="; } else $query = "p_ReportType=web&txtCalledNumber=$phone&smsTplId=&chargeFlg=1&mSelect=&pbList=&p_Country=84&message=$mess&remain=10&messages123=1&advFlg=ON&Submit=+++++++++++G%E1%BB%ADi+tin+nh%E1%BA%AFn+%3E%3E+++++++++++"; $ch = curl_init(); curl_setopt($ch,CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14"); curl_setopt($ch, CURLOPT_HEADER, 1); curl_setopt($ch, CURLINFO_HEADER_OUT, 1); curl_setopt($ch, CURLOPT_COOKIE, "JSESSIONID=".$cookie.";"); curl_setopt($ch, CURLOPT_AUTOREFERER, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_URL, "http://member.vietteltelecom.vn/home/send_message.jsp"); curl_setopt($ch, CURLOPT_REFERER, "http://member.vietteltelecom.vn/home/send_message.jsp"); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $query); $page = curl_exec($ch); curl_close($ch); $info = sstring($page,'
','
'); $quota = sstring($page,'
','
'); $quota = sstring($quota,':',' '); $quota = str_replace('', "", $quota); if ($log == "") { $cookie = get_new_cookie(); $captcha = "true"; } else {$info = $log;} // else else { // $cookie = get_new_cookie(); // $captcha = ""; // } if ($log == "Ký tự kiểm tra không đúng") { $cookie = get_new_cookie(); $captcha = "true"; } if ($info == "Tin nhắn của bạn đã chuyển thành công đến tổng đài chờ xử lý.") { $captcha = ""; } if ($_REQUEST["com"] == "check"){ if ($captcha !== "true") { if ($quota!=="") {$info="ok";}} } $good = $log.''.$quota.' sms'."\n".''.$cookie.''.'\n'.''.$captcha.''.'\n'.''.$info.''.'\n'; } // ### End Main Routine ### if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(($good."\n")));} else print FixEncoding(($good."\n")); if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(($thongbao."\n")));} else print FixEncoding(($thongbao."\n")); if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(("\n".$hvhacker."\n")));} else print FixEncoding(("\n".$hvhacker."\n")); } if ($_REQUEST["ntv"]=="1"){ print FixEncoding(CovertVn(("\nPhiên bản MagicInfo của bạn: $ver\n$server")));} else print FixEncoding(("\nPhiên bản MagicInfo của bạn: $ver\n$server")); print ""; ?>