voidstar0 / bpre Goto Github PK
View Code? Open in Web Editor NEWbot protection reverse engineering
bot protection reverse engineering
By migrating each minified JS file to TypeScript, we might benefit from the type system.
That would help a lot for debugging.
The ternary operator in this line https://github.com/char/bpre/blob/ff4f024cd2808b0e35afcdf9793ba56abe85260f/akamai/1.7.js#L5 is preventing the activation of VS Code preview function.
By removing the if then and just keeping the else, we could access the preview functionnality in the whole file.
@char what do you think? I could add a comment like you did here: https://github.com/char/bpre/blob/ff4f024cd2808b0e35afcdf9793ba56abe85260f/akamai/1.7.js#L247-L252
bmak.start_ts
is the starting timestamp of the script in milliseconds (Date.now)
bmak.y1
is defined as 2016
bmak.pi
is an alias for parseInt
The bmak.z1
variable is assigned as follows:
bmak.z1 = bmak.pi(bmak.start_ts / (bmak.y1 * bmak.y1));
and can be rewritten as:
// 2016 * 2016 = 4064256
bmak.z1 = parseInt(bmak.start_ts / (2016 * 2016));
In a seperate function (bmak.bd), bmak.z1
is divided by 23 and assigned to bmak.d2
:
bmak.d2 = bmak.pi(bmak.z1 / 23);
Finally, while sensor data is being crafted in bmak.bpd
, bmak.d2
is being divided by 6.
f = bmak.pi(bmak.d2 / 6)
4064256
23
6
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.