curl_setopt$curl, CURLOPT_HTTPPROXYTUNNEL, true; curl_setopt$curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP; curl_setopt$curl, CURLOPT_PROXY, $config['proxy'];... curl_setopt$curl, CURLOPT_PR
Trang 13 Code Free SMS Hot nhất hiện nay
Các code này dựa trên site trung gian, do bác hacobi leech nhé, edit 1 tí cho hợp với site diễn đàn ta
Code 1: Dựa trên paygate sms4vn
Trang 2$config['useragent'] = 'Mozilla/5.0 (iPhone,U; CPU iPhone OS 2_2_1 like Mac OS X; en-
us) AppleWebKit/525.18.1 (KHTML, like Gecko) version/3.1.1 Mobile/5H11 Safari/525.20'; /// Iphone 2.21
Trang 3curl_setopt($curl, CURLOPT_HTTPPROXYTUNNEL, true);
curl_setopt($curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
curl_setopt($curl, CURLOPT_PROXY, $config['proxy']);
Trang 4curl_setopt($curl, CURLOPT_PROXYPORT, $config['proxy_port']);
}
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl,CURLOPT_CONNECTTIMEOUT,20);
curl_setopt($curl, CURLOPT_USERAGENT, $config['useragent']);
curl_setopt($curl, CURLOPT_REFERER, "http://sms4vn.net/");
if($var) {
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, $var);
Trang 6?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Gửi tin nhắn SMS miễn phí Free DakLak</title>
<meta name="keywords" content="Tin nhắn, miễn phí, Free SMS, DakLak, VBBForum" />
<meta name="description" content="Gửi tin nhắn SMS miễn phí Free tại DakLak.Org" />
Trang 8<b>Send free sms worldwide</b><br />
Note: Not work with <strong>Vietnamese content</strong><br /><br />
Trang 9if(inStr($result,'Tin nhắn đã được gửi')) echo 'Message has been sent <a href="javascript: window.history.back();">Send another</a><br />';
else{ echo 'Error, SMS not sent <a href="javascript: window.history.back();">Try again!</a><br />';}
}
else{
$randomn = mt_rand();
print('<form action="'.$config['file'].'" method="post" name="hacobi1102">');
print('Number <input type="text" size="25" maxlength="25" name="to" value=
print('Code Verify <input type="text" size="10" maxlength="10" name="verify
" value="'.$randomn.'" readonly="readonly" /> <b>'.$randomn.'</b><br />');
print('<input name="submit" value="submit" type="submit" />');
Trang 12curl_setopt($curl, CURLOPT_HTTPPROXYTUNNEL, true);
curl_setopt($curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
Trang 13curl_setopt($curl, CURLOPT_PROXY, $config['proxy']);
curl_setopt($curl, CURLOPT_PROXYPORT, $config['proxy_port']);
}
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl,CURLOPT_CONNECTTIMEOUT,20);
curl_setopt($curl, CURLOPT_USERAGENT, $config['useragent']);
curl_setopt($curl, CURLOPT_REFERER, "http://sms4vn.net/");
if($var) {
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, $var);
Trang 15########### MAIN CODE ################################
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Gửi tin nhắn SMS miễn phí Free DakLak</title>
<meta name="keywords" content="Tin nhắn, miễn phí, Free SMS, DakLak, VBBForum" />
<meta name="description" content="Gửi tin nhắn SMS miễn phí Free tại DakLak.Org" />
Trang 17<div id="Content">
<b>Send free sms worldwide</b><br />
Note: Not work with <strong>Vietnamese content</strong><br /><br />
Trang 18$var = "txtPhone={$_POST[to]}&submit=SMS%20now&txtInfo={$_POST[mess]}%20-%20{$quangcao}";
print('<form action="'.$config['file'].'" method="post" name="hacobi1102">');
print('Number <input type="text" size="25" maxlength="25" name="to" value=
Trang 19print('Code Verify <input type="text" size="10" maxlength="10" name="verify
" value="'.$randomn.'" readonly="readonly" /> <b>'.$randomn.'</b><br />');
print('<input name="submit" value="submit" type="submit" />');
Trang 21$curl = curl_init();
if (isset($config['proxy'])) {
curl_setopt($curl, CURLOPT_HTTPPROXYTUNNEL, true);
curl_setopt($curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
curl_setopt($curl, CURLOPT_PROXY, $config['proxy']);
curl_setopt($curl, CURLOPT_PROXYPORT, $config['proxy_port']);
}
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl,CURLOPT_CONNECTTIMEOUT,20);
curl_setopt($curl, CURLOPT_USERAGENT, $config['useragent']);
curl_setopt($curl, CURLOPT_REFERER, "http://dfreesms.com/");
if($var) {
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, $var);
}
Trang 23for($i=0;$i<count($as);$i++) if(strpos(($s),strtoupper($as[$i]))!==false) retur
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Gửi tin nhắn SMS miễn phí Free DakLak</title>
<meta name="keywords" content="Tin nhắn, miễn phí, Free SMS, DakLak, VBBForum" />
<meta name="description" content="Gửi tin nhắn SMS miễn phí Free tại DakLak.Org" />
Trang 24
<script type="text/javascript" src="status-hacobi.js"></script>
Trang 25<b>Send free sms worldwide - http://daklak.org</b><br />
Note: Not work with <strong>Vietnamese content</strong><br /><br />
<?
if($_POST['submit']){
$url = 'http://dfreesms.com/in.php';
$var = "&f_code=&f_phone=%2B{$_POST[to]}&btnG=Send%20Free%20SMS!&f_msg={$_POST[mess]}%20-%20http://daklak.org%20-%20";
$result = curl($url,$var);
if(inStr($result,'SMS Sent Successfully')) echo 'Message has been sent <a href=
"javascript: window.history.back();">Send another</a><br />';
Trang 26else{ echo 'Error, SMS not sent <a href="javascript: window.history.back();">Try again!</a><br />';}
}else{
print('<form action="'.$config['file'].'" method="post" name="hacobi1102">');
print('Number <input type="text" size="25" maxlength="25" name="to" value=
Trang 27</body></html>
Hướng dẫn: Copy và lưu thành file sms.php rồi úp lên host nhé Host phải hỗ trợ
curl