!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/jiff_delivery/node_modules/webpack-rtl-plugin/node_modules/rtlcss/test/   drwxrwxrwx
Free 13.09 GB of 57.97 GB (22.59%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     cli.js (1.23 KB)      -rwxrwxrwx
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* global process */
/* global describe */
/* global it */
var assert = require('assert')
var spawn = require('child_process').spawn
var fs = require('fs')

function run_cmd (cmd, args, done) {
  var child = spawn(cmd, args)
  var resp = ''
  var err = ''
  child.stderr.on('data', function (error) { err += error })
  child.stdout.on('data', function (buffer) { resp += buffer.toString() })
  child.stdout.on('end', function () { done(err, resp) })
}

var configPath = './test/css/config.json'
var inputPath = './test/css/input.css'
var expectedPath = './test/css/input.expected.css'
var outputPath = './test/css/input.rtl.css'

describe('# CLI', function () {
  it('Should succeed', function (done) {
    run_cmd('node', ['./bin/rtlcss.js', inputPath, '--config', configPath, '--silent', ''], function (err, resp) {
      if (err) throw new Error(err)
      fs.readFile(expectedPath, 'utf-8', function (err, expected) {
        if (err) throw new Error(err)
        fs.readFile(outputPath, 'utf-8', function (err, output) {
          if (err) throw new Error(err)
          assert.equal(expected, output)
          fs.unlink(outputPath, function () {
            done()
          })
        })
      })
    })
  })
})

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

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