赞
踩
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
process_file(){
for
file
in
`
ls
-a $1`
do
if
[ x
"$file"
!= x
"."
-a x
"$file"
!= x
".."
];
then
if
[ -d
"$1/$file"
];
then
process_file
"$1/$file"
$2 $3
else
#You should backup your file
if
[ x
"${file##*.}"
= x
"luac"
];
then
.
/lua_decrypt
"$1/$file"
"$1/$file"
$2 $3
fi
fi
fi
done
}
if
[ $
# != 3 ]; then
echo
"error.. example:\ndecode.sh srcdir sign key"
exit
1
fi
process_file $1 $2 $3
|
nl4s
参考:
转载地址: https://www.52pojie.cn/thread-594286-1-1.html
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。