BYPASS SHELL 403

403 BYPASS SHELL

: /sbin/ [ dr-xr-xr-x ]
Uname: Linux in-mum-web1113.main-hosting.eu 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.0.30 [ PHP INFO ] PHP os: Linux
Server Ip: 62.72.28.201
Your Ip: 18.223.43.106
User: u249650955 (249650955) | Group: o200102258 (1200102258)
Safe Mode: OFF
Disable Function:
NONE

name : create-cracklib-dict
#!/bin/sh

usage() {
	cat <<-EOF
	Usage: create-cracklib-dict [options] wordlist ...
	
	This script takes one or more word list files as arguments
	and converts them into cracklib dictionaries for use
	by password checking programs. The results are placed in
	the default compiled-in dictionary location.
	
	If you wish to store the dictionary in a different location,
	use the cracklib-format and cracklib-packer commands directly.
	
	Options:
	  -o, --output <file>   Alternative output file for cracklib-packer
	  -h, --help            This help output
	
	Example:
	create-cracklib-dict /usr/share/words
	EOF
	if [ -n "$*" ] ; then
		echo 1>&2
		echo "Error: $*" 1>&2
		exit 1
	else
		exit 0
	fi
}

output=""
while [ -n "$1" ] ; do
	case $1 in
		-o|--output) output=$2; shift;;
		-h|--help)   usage;;
		--)          break;;
		-*)          usage "unknown option '$*'";;
		*)           break;;
	esac
	shift
done

[ -z "$*" ] && usage

exec cracklib-format "$@" | cracklib-packer ${output}
© 2024 403 BYPASS SHELL