Skip to content

Commit

Permalink
update: bilibili to v1.13.6.3422
Browse files Browse the repository at this point in the history
  • Loading branch information
msojocs committed Jun 15, 2024
1 parent 73ee818 commit e342226
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 13 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 🌈 v1.13.5-1 / 2024-06-15

## 🚀 功能

- bilibili: update to v1.13.6.3422

# 🌈 v1.13.5-2 / 2024-05-29

## 🚀 功能
Expand Down
2 changes: 1 addition & 1 deletion conf/bilibili_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.13.5.3376
1.13.6.3422
6 changes: 3 additions & 3 deletions tools/fix-other.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
root_dir=$(cd `dirname $0`/.. && pwd -P)

set -e
set -ex
trap 'catchError $LINENO "$BASH_COMMAND"' ERR # 捕获错误情况
catchError() {
exit_code=$?
Expand Down Expand Up @@ -41,8 +41,8 @@ notice "屏蔽检测"
grep -lr 'if(!d8' --exclude="app.asar" .
sed -i 's#if(!d8#if(false\&\&!d8#g' "app/main/app.js"
# ==='win';if(!
grep -lr 'if(!i1)' --exclude="app.asar" .
sed -i 's#if(!i1)#if(false\&\&!i1)#' "app/main/app.js"
grep -lr 'if(!i4)' --exclude="app.asar" .
sed -i 's#if(!i4)#if(false\&\&!i4)#' "app/main/app.js"
# global['bootstrapApp']();
grep -lr 'if(d8)' --exclude="app.asar" .
sed -i 's#if(d8)#if(!d8)#' "app/main/app.js"
Expand Down
24 changes: 15 additions & 9 deletions tools/js-decode.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,23 +63,29 @@ resultCode = resultCode.replace(
/'((\\x[a-z0-9]{2,2})+)'/g,
function ($0, $1, $2) {
i++;
let result = eval(`"${$1}"`)
// 查找异常点
if(i === 24537){
// if(i === 3312){
// console.log("--->", $0, $1, $2)
// let result = eval('"' + $1 + '"')
// console.log("--->", result)
// }
if(i == 2613){
console.log($0, $1, $2)
console.log('result:', result)
return $0
}
if(i === 2632){
console.log($0, $1, $2)
console.log('result:', result)
return $0
}
if(i === 10179){
if(i === 2645){
console.log($0, $1, $2)
console.log('result:', result)
return $0
}
if(i === 10163){
if(i === 24265){
// console.log($0, $1, $2)
// console.log('result:', result)
return $0
}

let result = eval('"' + $1 + '"')
if (result.includes('*')) {
// 不做处理
return $0
Expand Down

0 comments on commit e342226

Please sign in to comment.