ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!

Jump to content



Photo

Amazon's Metadata/metadata1/md Script Deobfuscation [Not Finished]


  • Please log in to reply
Amazon's Metadata/metadata1/md Script Deobfuscation [Not Finished]

#1

LilUziVert
LilUziVert
    Offline
    187
    Rep
    553
    Likes

    I dont really care if you cry.

Posts: 1163
Threads: 131
Joined: Mar 30, 2017
Credits: 0

Seven years registered
#1
So just a side-note, this isn't confirmed to be even related to the actual script that generates it all.
All I know, is, at some points the login page will do a call to /batch/OE or something like that.
Theres a JSON array in that request and in there under a few dropdown's, is "m": "longstring". This "m" is the metadata1.
I found the code block (search THEMETADATA and you will spot it).

So now im just slowly tryna make it more readable so I can figure out exactly what its doing.
What I can tell so far:
- Seems to try and check if your able to run certain code types, like "DOTNET" and "YHOO" which seems surprisingly like "Yahoo".
- Will get a bunch of different stuff like if your browser uses Moz(firefox) or Webkit(Others) aswell as if it can do stuff like textShadow, boxShadow all that kind of stuff.
- Seems to grab and store screen width and heights aswell as DPI.
- It does a LOT of calls in the backend. Theres like 100 _2s .when's, .register's and .declare's etc. _2s seemingly is _LI["AmazonUIPageJS"] where _LS is "window". The AmazonUIPageJS is setup BEFORE the obfuscated code and that code is not obfuscated.

Have a look and let me know if you get any bit further.
Note both files are around 6-7k lines.

Original:

Please Login or Register to see this Hidden Content


Progress:

Please Login or Register to see this Hidden Content


I was streaming for HOURS my progress on it on twitch.

Update 5th/04/2018
- I found out how to generate the "amaznfbguid" that is stored in "localStorage".
Bunch of bitwise operations (common) and just generated serverside variables that change each refresh.
This is what im expecting for the md1 if I find it.

  • 0

Got addicted to the road, got addicted to the stress.
Got addicted to the foreigns, got addicted to the racks.


#2

LilUziVert
LilUziVert
    Offline
    187
    Rep
    553
    Likes

    I dont really care if you cry.

Posts: 1163
Threads: 131
Joined: Mar 30, 2017
Credits: 0

Seven years registered
#2
STREAMING RN:

Please Login or Register to see this Hidden Content


  • 0

Got addicted to the road, got addicted to the stress.
Got addicted to the foreigns, got addicted to the racks.


#3

dennis1020
dennis1020
    Offline
    0
    Rep
    0
    Likes

    Lurker

  • Pip
Posts: 5
Threads: 0
Joined: Mar 29, 2018
Credits: 0
Six years registered
#3

that was beautiful


  • 0


 Users browsing this thread: and 1 guests