Linux ip-172-26-2-223 5.4.0-1018-aws #18-Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64
Apache
: 172.26.2.223 | : 3.129.89.50
Cant Read [ /etc/named.conf ]
8.1.13
www
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
www /
server /
nvm /
test /
fast /
Unit tests /
[ HOME SHELL ]
Name
Size
Permission
Action
mocks
[ DIR ]
drwxrwxr-x
nvm ls-remote
936
B
-rwxrwxr-x
nvm set_colors
1.84
KB
-rwxrwxr-x
nvm version-remote
2.22
KB
-rwxrwxr-x
nvm_add_iojs_prefix
408
B
-rwxrwxr-x
nvm_alias
1.01
KB
-rwxrwxr-x
nvm_alias LTS-N
657
B
-rwxrwxr-x
nvm_alias_path
164
B
-rwxrwxr-x
nvm_change_path
2.11
KB
-rwxrwxr-x
nvm_check_for_help
306
B
-rwxrwxr-x
nvm_clang_version
1.57
KB
-rwxrwxr-x
nvm_command_info
1.83
KB
-rwxrwxr-x
nvm_compare_checksum
2.66
KB
-rwxrwxr-x
nvm_compute_checksum
811
B
-rwxrwxr-x
nvm_curl_libz_support
1.22
KB
-rwxrwxr-x
nvm_curl_use_compression
1.71
KB
-rwxrwxr-x
nvm_curl_version
865
B
-rwxrwxr-x
nvm_die_on_prefix
10.24
KB
-rwxrwxr-x
nvm_ensure_default_set
523
B
-rwxrwxr-x
nvm_ensure_version_installed
2.7
KB
-rwxrwxr-x
nvm_ensure_version_prefix
639
B
-rwxrwxr-x
nvm_find_project_dir
1.33
KB
-rwxrwxr-x
nvm_find_up
817
B
-rwxrwxr-x
nvm_format_version
655
B
-rwxrwxr-x
nvm_get_arch
1.97
KB
-rwxrwxr-x
nvm_get_checksum
1.18
KB
-rwxrwxr-x
nvm_get_checksum_alg
272
B
-rwxrwxr-x
nvm_get_checksum_binary
399
B
-rwxrwxr-x
nvm_get_colors
3.07
KB
-rwxrwxr-x
nvm_get_default_packages
1.94
KB
-rwxrwxr-x
nvm_get_latest missing curl or...
455
B
-rwxrwxr-x
nvm_get_minor_version
1023
B
-rwxrwxr-x
nvm_get_mirror
1.2
KB
-rwxrwxr-x
nvm_has
352
B
-rwxrwxr-x
nvm_has_non_aliased
840
B
-rwxrwxr-x
nvm_has_solaris_binary
963
B
-rwxrwxr-x
nvm_has_system_iojs
375
B
-rwxrwxr-x
nvm_has_system_node
354
B
-rwxrwxr-x
nvm_install_latest_npm
1.31
KB
-rwxrwxr-x
nvm_install_no_progress_bar
1.13
KB
-rw-rw-r--
nvm_iojs_prefix
178
B
-rwxrwxr-x
nvm_iojs_version_has_solaris_b...
596
B
-rwxrwxr-x
nvm_is_alias
520
B
-rwxrwxr-x
nvm_is_iojs_version
381
B
-rwxrwxr-x
nvm_is_merged_node_version
426
B
-rwxrwxr-x
nvm_is_natural_num
591
B
-rwxrwxr-x
nvm_is_valid_version
625
B
-rwxrwxr-x
nvm_ls_current
1.5
KB
-rwxrwxr-x
nvm_ls_remote
2.73
KB
-rwxrwxr-x
nvm_ls_remote LTS aliases
1.16
KB
-rwxrwxr-x
nvm_ls_remote nightly
2.58
KB
-rwxrwxr-x
nvm_ls_remote_iojs
1.03
KB
-rwxrwxr-x
nvm_make_alias
770
B
-rwxrwxr-x
nvm_node_prefix
178
B
-rwxrwxr-x
nvm_node_version_has_solaris_b...
1.15
KB
-rwxrwxr-x
nvm_num_version_groups
1.13
KB
-rwxrwxr-x
nvm_print_alias_path
1.53
KB
-rwxrwxr-x
nvm_print_color_code
641
B
-rwxrwxr-x
nvm_print_default_alias
1.24
KB
-rwxrwxr-x
nvm_print_implicit_alias error...
1.35
KB
-rwxrwxr-x
nvm_print_implicit_alias succe...
3.24
KB
-rwxrwxr-x
nvm_print_npm_version
623
B
-rwxrwxr-x
nvm_remote_version
3.11
KB
-rwxrwxr-x
nvm_remote_versions
3.23
KB
-rwxrwxr-x
nvm_stdout_is_terminal
1.76
KB
-rwxrwxr-x
nvm_strip_iojs_prefix
521
B
-rwxrwxr-x
nvm_strip_path
400
B
-rwxrwxr-x
nvm_supports_source_options
559
B
-rwxrwxr-x
nvm_supports_xz
884
B
-rwxrwxr-x
nvm_tree_contains_path
1021
B
-rwxrwxr-x
nvm_use_if_needed
496
B
-rwxrwxr-x
nvm_validate_implicit_alias
1.02
KB
-rwxrwxr-x
nvm_version
1.82
KB
-rwxrwxr-x
nvm_version_dir
608
B
-rwxrwxr-x
nvm_version_greater
387
B
-rwxrwxr-x
nvm_version_path
692
B
-rwxrwxr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : nvm_get_arch
#!/bin/sh # Save the PATH as it was when the test started to restore it when it # finishes ORIG_PATH=$PATH cleanup() { # Restore the PATH as it was when the test started export PATH=ORIG_PATH } die () { cleanup; echo "$@" ; exit 1; } \. ../../../nvm.sh # Directory where mocked binaries used by nvm_get_arch for each OS/arch are # located MOCKS_DIR=`pwd`/../../mocks # Sets the PATH for these tests to include the symlinks to the mocked # binaries export PATH=.:${PATH} # Setups mock binaries for a given OS and arch that mimic # the output of the real binaries used by nvm_get_arch to guess # the architecture of a given system. setup_mock_arch() { local OS=$1 local ARCH=$2 local OPT=$3 if [ "_$OS" = "_solaris" ] || [ "_$OS" = "_smartos" ]; then ln -sf "${MOCKS_DIR}/isainfo_${ARCH}" ./isainfo if [ "_$OPT" != "_no_pkg_info" ]; then ln -sf "${MOCKS_DIR}/pkg_info_${ARCH}" ./pkg_info else ln -sf "${MOCKS_DIR}/pkg_info_fail" ./pkg_info fi fi ln -sf "${MOCKS_DIR}/uname_${OS}_${ARCH}" ./uname } # Cleans up the setup done by setup_mock_arch. cleanup_mock_arch() { local OS=$1 local ARCH=$2 if [ "_$OS" = "_solaris" ] || [ "_$OS" = "_smartos" ]; then rm -f ./isainfo rm -f ./pkg_info fi rm -f ./uname } # Runs nvm_get_arch for architecture $ARCH and OS $OS, and compares the # expected output $EXPECTED_OUTPUT with the actual output. Does nothing # and exits cleanly if they match, dies otherwise. run_test() { local ARCH=$1 local OS=$2 local EXPECTED_OUTPUT=$3 local OPT=$4 setup_mock_arch $OS $ARCH $OPT local OUTPUT="$(nvm_get_arch)" cleanup_mock_arch $OS $ARCH [ "_$OUTPUT" = "_$EXPECTED_OUTPUT" ] || die "nvm_get_arch for OS \"$OS\" and arch \"$ARCH\" with OPT \"$OPT\" did not return \"$EXPECTED_OUTPUT\"; got \"$OUTPUT\"" } run_test x86 smartos x86 run_test x86 smartos x86 no_pkg_info run_test amd64 smartos x64 run_test amd64 smartos x64 no_pkg_info run_test x86 osx x86 run_test amd64 osx x64 cleanup
Close