⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 run-all

📁 读写Smart卡加解密接口的程序
💻
字号:
#!/bin/bashmkdir -p outscripts=""options=""abort_if_fail=truewhile [ $# -gt 0 ]; do	opt=$1; shift	case $opt in	--continue)		abort_if_fail=false;;	--reader)		options="$options $opt $1"		shift;;	-*)	options="$options $opt";;	*)	scripts="$scripts $opt";;	esacdoneif [ -z "$scripts" ]; then	scripts=`ls init* crypt*`fifor script in $scripts; do	echo -n "${script}... "	if ./$script $options >out/$script 2>&1; then		echo "success"	else		mkdir -p failed		failed="failed/$script"		rm -rf $failed		mv test-data $failed		echo "fail (test data moved to $failed)"		if $abort_if_fail; then			echo Aborting.			exit 1		fi		echo -n "Wiping card... "		if ./erase $options >out/erase 2>&1; then			echo done		else			echo failed.			exit 1		fi	fidoneexit 0

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -