���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
.nvm
/
test
/
fast
/
Viewing: Running 'nvm use foo' where 'foo' is circular aborts
#!/bin/sh set -ex die () { echo "$@" ; cleanup ; exit 1; } cleanup() { rm -rf "$(nvm_alias_path)/foo" } \. ../../nvm.sh nvm_make_alias foo foo set +ex # needed for stderr OUTPUT="$(nvm use foo 2>&1)" set -ex EXPECTED_OUTPUT='The alias "foo" leads to an infinite loop. Aborting.' [ "_${OUTPUT}" = "_${EXPECTED_OUTPUT}" ] \ || die "'nvm use foo' did not output >${EXPECTED_OUTPUT}<; got >${OUTPUT}<" set +ex # needed for stderr EXIT_CODE="$(nvm use foo 2>/dev/null ; echo $?)" set -ex [ "_$EXIT_CODE" = "_8" ] || die "Expected exit code 8; got ${EXIT_CODE}" set +ex # needed for stderr OUTPUT="$(nvm use --silent foo 2>&1)" set -ex EXPECTED_OUTPUT='' [ "_${OUTPUT}" = "_${EXPECTED_OUTPUT}" ] \ || die "'nvm use --silent foo' did not output >${EXPECTED_OUTPUT}<; got >${OUTPUT}<" set +ex # needed for stderr EXIT_CODE="$(nvm use --silent foo 2>/dev/null ; echo $?)" set -ex [ $EXIT_CODE -eq 8 ] || die "Expected exit code 8 from 'nvm use --silent foo'; got ${EXIT_CODE}" cleanup
Coded With 💗 by
0x6ick Mod By V1rus_Alfa