当前位置:网站首页>JS逆向入门学习之回收商网,手机号码简易加密解析
JS逆向入门学习之回收商网,手机号码简易加密解析
2022-08-05 09:47:00 【InfoQ】
️ 实战场景
huishoushang.com/
decrypt
️ 实战编码
decrypt (((((((((a01 % a03) % g02) % g08) % a08) % g04) % a09) % c07) % c00) % b09) %
b08;
var str = $(th).attr("decrypt");
if (str != null || str != undefined || str != '') {
$(th).attr("decryptok", "");
// str = str.replace(/-/g, ",").replace(/ /g, ",");
let strArray = str.split('%');
var newArray = [];
for (var i = 0; i < strArray.length; i++) {
let _rTemp = this.model.rArray.filter((a) => a.l == strArray[i]);
if (_rTemp.length > 0) {
newArray.push(_rTemp[0].v);
} else {
newArray.push(strArray[i]);
}
}
$(th).html(newArray.join(''));
str.split('%')this.model.rArrayrArray/*数字解密 */
var NumberDecrypt = {
model: {
rArray: [
{ l: 'a01', v: '1' }, { l: 'b02', v: '1' }, { l: 'c03', v: '1' }, { l: 'f04', v: '1' }, { l: 'g01', v: '1' },
{ l: 'a02', v: '2' }, { l: 'b03', v: '2' }, { l: 'c04', v: '2' }, { l: 'f05', v: '2' }, { l: 'g00', v: '2' },……
],
refreshTime: null,
refreshCount: 0
},
%a011边栏推荐
猜你喜欢

深度学习21天——卷积神经网络(CNN):天气识别(第5天)

hcip BGP enhancement experiment

IDEA执行Test操作导致数据插入时出现了重复数据

What is CRM Decision Analysis Management?

js 图形操作一(兼容pc、移动端实现 draggable属性 拖放效果)

Hundred lines of code launch red hearts, why programmers lose their girlfriends!

19.服务器端会话技术Session

egg框架使用(二)

周报2022-8-4

express hot-reload
随机推荐
CCVR基于分类器校准缓解异构联邦学习
微服务 技术栈
歌词整理
Excuse me if you want to write data in mysql, with flink - connector - JDBC directly is ok, but I'm in the f
ffmpeg drawtext 添加文本水印
[Unity] [UGUI] [Display text on the screen]
韦东山 数码相框 项目学习(六)tslib的移植
hcip BGP 增强实验
After Keil upgrades to AC6, what changes?
正则表达式replaceFirst()方法具有什么功能呢?
PAT Grade B-B1020 Mooncake(25)
The technological achievements of Shanghai Konan were selected into the "2021 Shanghai Network Security Industry Innovation Research Achievement Catalog" by the Municipal Commission of Economy and Inf
21 Days of Deep Learning - Convolutional Neural Networks (CNN): Clothing Image Classification (Day 3)
Can MySQL use aggregate functions without GROUP BY?
Egg framework usage (1)
Custom filters and interceptors implement ThreadLocal thread closure
无题三
There is only one switch, how to realize the nqa of master-slave automatic switching
明天去订票,准备回家咯~~
无题十四