????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 3.134.253.166 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/home/b8009/php-5.6.22/ext/session/ |
Upload File : |
#!/usr/bin/env bash if [[ "$2" = "" ]] || [[ "$3" = "" ]]; then echo "Usage: $0 BASE_DIRECTORY DEPTH HASH_BITS" echo "BASE_DIRECTORY will be created if it doesn't exist" echo "DEPTH must be an integer number >0" echo "HASH_BITS(session.hash_bits_per_charactor) should be one of 4, 5, or 6" exit 1 fi if [[ "$2" = "0" ]] && [[ ! "$4" = "recurse" ]]; then echo "Can't create a directory tree with depth of 0, exiting." fi if [[ "$2" = "0" ]]; then exit 0 fi directory="$1" depth="$2" hashbits="$3" hash_chars="0 1 2 3 4 5 6 7 8 9 a b c d e f" if [[ "$hashbits" -ge "5" ]]; then hash_chars="$hash_chars g h i j k l m n o p q r s t u v" fi if [[ "$hashbits" -ge "6" ]]; then hash_chars="$hash_chars w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z - ," fi while [[ -d $directory ]] && [[ $( ls $directory ) ]]; do echo "Directory $directory is not empty! What would you like to do?" options="\"Delete directory contents\" \"Choose another directory\" \"Quit\"" eval set $options select opt in "$@"; do if [[ $opt = "Delete directory contents" ]]; then echo "Deleting $directory contents... " rm -rf $directory/* elif [[ $opt = "Choose another directory" ]]; then echo "Which directory would you like to choose?" read directory elif [[ $opt = "Quit" ]]; then exit 0 fi break; done done if [[ ! -d $directory ]]; then mkdir -p $directory fi echo "Creating session path in $directory with a depth of $depth for session.hash_bits_per_character = $hashbits" for i in $hash_chars; do newpath="$directory/$i" mkdir $newpath || exit 1 bash $0 $newpath `expr $depth - 1` $hashbits recurse done