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

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/rentals.picotech.app/public_html/node_modules/generate-function/   drwxr-xr-x
Free 28.53 GB of 117.98 GB (24.18%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     test.js (1.15 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
var tape = require('tape')
var genfun = require('./')

tape('generate add function', function(t) {
  var fn = genfun()
    ('function add(n) {')
      ('return n + %d', 42)
    ('}')

  t.same(fn.toString(), 'function add(n) {\n  return n + 42\n}', 'code is indented')
  t.same(fn.toFunction()(10), 52, 'function works')
  t.end()
})

tape('generate function + closed variables', function(t) {
  var fn = genfun()
    ('function add(n) {')
      ('return n + %d + number', 42)
    ('}')

  var notGood = fn.toFunction()
  var good = fn.toFunction({number:10})

  try {
    notGood(10)
    t.ok(false, 'function should not work')
  } catch (err) {
    t.same(err.message, 'number is not defined', 'throws reference error')
  }

  t.same(good(11), 63, 'function with closed var works')
  t.end()
})

tape('generate property', function(t) {
  var gen = genfun()

  t.same(gen.property('a'), 'a')
  t.same(gen.property('42'), '"42"')
  t.same(gen.property('b', 'a'), 'b.a')
  t.same(gen.property('b', '42'), 'b["42"]')
  t.same(gen.sym(42), 'tmp')
  t.same(gen.sym('a'), 'a')
  t.same(gen.sym('a'), 'a1')
  t.same(gen.sym(42), 'tmp1')
  t.same(gen.sym('const'), 'tmp2')

  t.end()
})

:: 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.0074 ]--