mirror of
https://github.com/lan-tianxiang/JS_TOOL.git
synced 2025-07-23 20:53:48 +08:00
更新于 07-17 09:32
This commit is contained in:
2
jd.sh
2
jd.sh
@@ -390,7 +390,7 @@ SecureJs() {
|
|||||||
|
|
||||||
if [[ -z $(grep -w "该请求url不合法" $file) ]]; then
|
if [[ -z $(grep -w "该请求url不合法" $file) ]]; then
|
||||||
startLine=$(sed -n '/function Env(t,e)/=' $file) && echo 1
|
startLine=$(sed -n '/function Env(t,e)/=' $file) && echo 1
|
||||||
endLine=$(sed -n 'done(t)}}(t,e)}' $file) && echo 2
|
endLine=$(sed -n '/done(t)}}(t,e)}/=' $file) && echo 2
|
||||||
|
|
||||||
sed -i $startLine','$endLine'd' $file && echo 3
|
sed -i $startLine','$endLine'd' $file && echo 3
|
||||||
cat $file_env_sys >>$file
|
cat $file_env_sys >>$file
|
||||||
|
Reference in New Issue
Block a user