当前位置:网站首页>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边栏推荐
猜你喜欢

Marketing Suggestions | You have an August marketing calendar to check! Suggest a collection!

How to realize the short press and long press detection of the button?

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

周报2022-8-4

express hot-reload

Pytorch Deep Learning Quick Start Tutorial -- Mound Tutorial Notes (3)

leetcode: 529. 扫雷游戏

express hot-reload

js graphics operation one (compatible with pc, mobile terminal to achieve draggable attribute drag and drop effect)

【zeno】为zeno增加子模块/新节点的最小化的例子
随机推荐
Neuron Newsletter 2022-07|新增非 A11 驱动、即将支持 OPC DA
CPU的亲缘性affinity
我的杂记链接
Oracle temporary table space role
egg框架使用(二)
Open Source Summer | How OpenHarmony Query Device Type (eTS)
Four years of weight loss record
无题七
Analysis and practice of antjian webshell dynamic encrypted connection
Why are RELTABLESPACE values 0 for many tables displayed in sys_class?
浅析WSGI协议
What is the function of the regular expression replaceAll() method?
Why do I recommend using smart async?
C语言的高级用法
Pytorch Deep Learning Quick Start Tutorial -- Mound Tutorial Notes (3)
hcip BGP 增强实验
The difference between find, matches, lookingAt matching strings in matcher
There is only one switch, how to realize the nqa of master-slave automatic switching
明天去订票,准备回家咯~~
21 Days of Deep Learning - Convolutional Neural Networks (CNN): Weather Recognition (Day 5)