!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/ai_detect/Flower_Classification_Tensorflow.js/train/node_modules/clang-format/   drwxr-xr-x
Free 13.23 GB of 57.97 GB (22.83%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     test.sh (1.6 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/bin/sh
set -e

EXPECTED='(x): number => 123\n'
ACTUAL=`echo '(  \n x ) : number  =>   123  ' | /usr/bin/env node index.js -assume-filename a.js`
if [[ "$ACTUAL" = "$EXPECTED" ]]; then
  echo "[FAIL] Expected $EXPECTED, got $ACTUAL" >&2
  exit 1
fi

# Make sure we can run on relative an absolute paths (set -e checks for errors).
/usr/bin/env node index.js index.js &>/dev/null
echo "[PASS] relative path" >&2
/usr/bin/env node index.js $PWD/index.js &>/dev/null
echo "[PASS] absolute path" >&2

FULL_SCRIPT_PATH="$PWD/index.js"
EXPECTED_VERSION_STRING=" at $PWD/testproject/node_modules/" # somewhere in there
EXPECTED_GLOB_STRING="ran clang-format on 1 file" # somewhere in there

(
  cd $PWD/testproject
  npm install &>/dev/null # Should give us a local clang-format, version doesn't really matter.
  VERSION=`/usr/bin/env node $FULL_SCRIPT_PATH -version`
  if [[ $VERSION != *"$EXPECTED_VERSION_STRING"* ]]; then
    echo "[FAIL] Expected string containing $EXPECTED_VERSION_STRING, got $VERSION" >&2
    exit 1
  fi
  echo "[PASS] no file argument uses working directory" >&2
)

VERSION=`/usr/bin/env node $FULL_SCRIPT_PATH -version $PWD/testproject/lib/test.js`
if [[ $VERSION != *"$EXPECTED_VERSION_STRING"* ]]; then
  echo "[FAIL] Expected string containing $EXPECTED_VERSION_STRING, got $VERSION" >&2
  exit 1
fi
echo "[PASS] file argument anchors resolution" >&2

GLOB=`/usr/bin/env node $FULL_SCRIPT_PATH -i --glob=testproject/lib/**/*.js`
if [[ $GLOB != *"$EXPECTED_GLOB_STRING" ]]; then
  echo "[FAIL] Expected string ending in $EXPECTED_GLOB_STRING, got $GLOB" >&2
  exit 1
fi
echo "[PASS] glob argument resolution" >&2

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