Oopbaonguyen / SupperVN

Hacking for termux
2 stars 0 forks source link

Spam sms #1

Open Oopbaonguyen opened 1 year ago

Oopbaonguyen commented 1 year ago

<?php $data = array( 'id_server' => 'ID_SERVER', 'phone' => 'PHONE_NUMBER' );

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$response = curl_exec($ch);

$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); if ($httpCode != 200) { echo 'Lỗi: ' . $httpCode; } else { $result = json_decode($response, true); if ($result['status'] == 1) { echo 'Thành công: ' . $result['msg']; } else { echo 'Lỗi: ' . $result['msg']; } }

curl_close($ch); ?>

Oopbaonguyen commented 1 year ago

23/5/2023