当前位置:网站首页>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.rArray
rArray
/*数字解密 */
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
},
%
a01
1
边栏推荐
- NowCoderTOP35-40——持续更新ing
- js graphics operation one (compatible with pc, mobile terminal to achieve draggable attribute drag and drop effect)
- Bias lock/light lock/heavy lock lock is healthier. How is locking and unlocking accomplished?
- 无题九
- 欧盟 | 地平线 2020 ENSEMBLE:D2.13 SOTIF Safety Concept(上)
- ffmpeg drawtext 添加文本水印
- The Seven Weapons of Programmers
- Egg framework usage (2)
- 无题七
- Is there a problem with writing this?How to synchronize data in sql-client
猜你喜欢
随机推荐
Why do I recommend using smart async?
欧盟 | 地平线 2020 ENSEMBLE:D2.13 SOTIF Safety Concept(下)
What is the function of the regular expression replaceFirst() method?
Weekly Report 2022-8-4
PAT Class B-B1019 Digital Black Hole (20)
QSS 选择器
无题八
Pytorch深度学习快速入门教程 -- 土堆教程笔记(三)
Which big guy has the 11G GI and ojvm patches in April or January 2020, please help?
线程之Happens-before规则
干货!生成模型的评价与诊断
Redis源码解析:Redis Cluster
Oracle临时表空间作用
只有一台交换机,如何实现主从自动切换之nqa
Is there a problem with writing this?How to synchronize data in sql-client
Dry goods!Generative Model Evaluation and Diagnosis
Happens-before rules for threads
19.服务器端会话技术Session
Hundred lines of code launch red hearts, why programmers lose their girlfriends!
Pycharm 常用外部工具