!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)

/usr/share/nodejs/tap/lib/   drwxr-xr-x
Free 29.28 GB of 117.98 GB (24.81%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     clean-yaml-object.js (2.05 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
'use strict'
const cleanYamlObject = require('clean-yaml-object')
const path = require('path')
const Module = require('module')
const fs = require('fs')
const binpath = path.resolve(__dirname, '../bin')
const stack = require('./stack.js')
const Domain = require('domain').Domain

const hasOwn = (obj, key) =>
  Object.prototype.hasOwnProperty.call(obj, key)

const cleanTapYamlObject = object => {
  if (hasOwn(object, 'stack') && !hasOwn(object, 'at'))
    object.at = stack.parseLine(object.stack.split('\n')[0])

  const file = object.at && object.at.file && path.resolve(object.at.file)
  if (file && (file.indexOf(__dirname) === 0 || file.indexOf(binpath) === 0))
    delete object.at

  if (file && object.at && object.at.file && object.at.line && !object.source) {
    const content = (() => {
      try {
        return Module.wrap(fs.readFileSync(file))
      } catch (er) {}
    })()
    if (content) {
      const csplit = (content.split('\n')[object.at.line - 1] || '').trim()
      if (csplit)
        object.source = csplit + '\n'
    }
  }

  return cleanYamlObject(object, yamlFilter)
}

const yamlFilter = (propertyName, isRoot, source, target) =>
  source instanceof Domain ? false
    : !isRoot ? true
    : propertyName === 'stack' ? (
      (source.stack ? target.stack = source.stack : false), false)
    : !(propertyName === 'todo' ||
      propertyName === 'time' ||
      /^_?tapChild/.test(propertyName) ||
      /^tapStream/.test(propertyName) ||
      /^tapMochaTest/.test(propertyName) ||
      propertyName === 'cb' ||
      propertyName === 'name' ||
      propertyName === 'indent' ||
      propertyName === 'skip' ||
      propertyName === 'bail' ||
      propertyName === 'grep' ||
      propertyName === 'grepInvert' ||
      propertyName === 'only' ||
      propertyName === 'diagnostic' ||
      propertyName === 'buffered' ||
      propertyName === 'parent' ||
      propertyName === 'domainEmitter' ||
      propertyName === 'domainThrew' ||
      propertyName === 'domain' ||
      (propertyName === 'at' && !source.at))

module.exports = cleanTapYamlObject

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