Miscellaneous Leaks

[Guide] Ripping models from Sketchfab

Submitted by HDR, , Thread ID: 152601

Thread Closed

RE: [Guide] Ripping models from Sketchfab

Glorfindel
Lurker
Level:
0
Reputation:
0
Posts:
2
Likes:
2
Credits:
2
18-07-2021, 01:20 AM
#171
Guys, I followed the chinese guy steps from @delta2560 post and I've done it, I've ripped .binz models. I want to make a video because the steps are really not clear, but I dont know where to post it, not on youtube clearly, seeing how not even xentax want to talk about this I fear even a hidden video on youtube is dangerous (also, the more hidden it is, the safer they will feel, more artists will upload, less encryption they will make). Are we allowed to post mega.nz links here or upload videos/files here somehow? I want to make it a user download watch-it-delete-it video to make it safer.

btw I have 0 knowledge about WebGL or frontend, but the inspector tool is really intuitive guys, everyone can do it, its just a couple more steps than searching in the network tab for the files to get the model_file.bin and file.osgjs... btw, you dont really need the wireframe file.

RE: [Guide] Ripping models from Sketchfab

Vido
Newbie
Level:
1
Reputation:
0
Posts:
13
Likes:
11
Credits:
13
18-07-2021, 08:54 PM
#172
18-07-2021, 01:20 AM
Glorfindel Wrote:
Guys, I followed the chinese guy steps from @delta2560 post and I've done it, I've ripped .binz models. I want to make a video because the steps are really not clear, but I dont know where to post it, not on youtube clearly, seeing how not even xentax want to talk about this I fear even a hidden video on youtube is dangerous (also, the more hidden it is, the safer they will feel, more artists will upload, less encryption they will make). Are we allowed to post mega.nz links here or upload videos/files here somehow? I want to make it a user download watch-it-delete-it video to make it safer.

btw I have 0 knowledge about WebGL or frontend, but the inspector tool is really intuitive guys, everyone can do it, its just a couple more steps than searching in the network tab for the files to get the model_file.bin and file.osgjs... btw, you dont really need the wireframe file.
I was ableto get from that chinese page just .oshjs and not model_file.bin. Can you send me pm how did you do it because stepping thru break point did not give me anything. I will write whole process here witp pics if its allowed. Tnx

RE: [Guide] Ripping models from Sketchfab

deztrip
Lurker
Level:
0
Reputation:
0
Posts:
2
Likes:
1
Credits:
2
18-07-2021, 11:06 PM
This post was last modified: 18-07-2021, 11:43 PM by deztrip
#173
Hello people im are from argentina , im have the same problem , now cannot decrypt the new format binz , have any news of the new script for blender??? regards

iim found this but no have idea of can use in the computer.

https://githubmemory.com/repo/DARKSIDEOPG/SFTool

and search that the creator of the tool sketchfab ripper can download the binz files.

here the link of the the creator of this tool , the name of the useris "Free_models"

https://www.reddit.com/user/Free_Models/...dels_from/

And finally im contact with one user that buy the full version (paulspain)but mention that cannot donwload the file binz. , im send one private message via email to the user "Free_models (the creator of the tool) at the email [email protected] and he send to me succesfull the new model .binz converted in .obj file , resumming he can !!! , but the problem is that he sell the program , only send to me one model! :(

other link more : https://www.reddit.com/user/markabi_twin...rmat_binz/


LAST UPDATE :

Just FYI the .binz format is not really new, its related to the WebGL viewer format. Sketchfab is trying to update their viewer to work with the latest specs, hence the format change. From the Chinese website linked above, ?Note that Sketchfab currently encrypts all the model files twice, the format is binz, and the decrypted format is still file.osgjs.gz and model_file.bin.gz. The key logic of decryption is executed immediately after the request model file is completed. Those with a little knowledge of front-end debugging can interrupt the decryption point. There is no automatic processing method yet.

They explain how to manually decrypt the binz file and extract the files from it. When the Blender osgjs import script throws up an error, ?IndexError: list index out of range the solution is to comment out lines 330-351 of the Python 2.6.6 script code. Heres the script theyre using: cdn.imjad.cn/usr/uploads/Blender249%5Bosgjs%5D.zip

RE: [Guide] Ripping models from Sketchfab

Vido
Newbie
Level:
1
Reputation:
0
Posts:
13
Likes:
11
Credits:
13
19-07-2021, 01:35 AM
#174
@Deztrip tnx for informations but from that chinese page I was able to rip just `file.osgjs` and not .bin's

RE: [Guide] Ripping models from Sketchfab

lowhioctoplu
Lurker
Level:
0
Reputation:
0
Posts:
1
Likes:
0
Credits:
1
20-07-2021, 06:47 AM
#175
18-07-2021, 11:06 PM
deztrip Wrote:
Hello people im are from argentina , im have the same problem , now cannot decrypt the new format binz , have any news of the new script for blender??? regards

iim found this but no have idea of can use in the computer.

https://githubmemory.com/repo/DARKSIDEOPG/SFTool

I've tested this tool. To use it download it from here https://xxx.com/DARKSIDEOPG/SFTool/releases (replace xxx with github)
It can download the older models and textures but can't bypass the binz models.

I've also read the chinese post. I can download normal models with that method but I can't figure out how to use the chrome devtools (front-end debugging) to bypass the binz models. I set the breaks but the thing won't stop at them.

RE: [Guide] Ripping models from Sketchfab

Vido
Newbie
Level:
1
Reputation:
0
Posts:
13
Likes:
11
Credits:
13
21-07-2021, 05:28 PM
This post was last modified: 21-07-2021, 05:29 PM by Vido
#176
Hi guys,
here I will write briefly what you gone need to do to download unencrypted "binz" model's from Sketchfab
Open Chrome and Dev tools (F12), make tool horizontal and go to "Sources" and close all files in sources, hit "Ctrl + Shift + F" and type "this._xhr=" and hit enter, double click on bottom text line to open it
Click on "{}" to format code and hit "Ctrl +F" and find this line of code


Code:
this._xhr = {
              response: i,
              responseText: i


and insert break point at this line "his._xhr =" and reload page with "Ctrl + R", after that you will hit first break point and then go to "Console" and paste this code


Code:
var downloadBlob, downloadURL;

downloadBlob = function(data, fileName, mimeType) {
var blob, url;
blob = new Blob([data], {
  type: mimeType
});
url = window.URL.createObjectURL(blob);
downloadURL(url, fileName);
setTimeout(function() {
  return window.URL.revokeObjectURL(url);
}, 1000);
};

downloadURL = function(data, fileName) {
var a;
a = document.createElement('a');
a.href = data;
a.download = fileName;
document.body.appendChild(a);
a.style = 'display: none';
a.click();
a.remove();
};

downloadBlob(i, 'file.osgjs', 'application/octet-stream');



Hit "Enter" and save it in some directory. Reload page skip first break point by clicking on blue arrow (blue triangle) and paste code once more in Console from above "var downloadBlob, downloadURL; ...." just change name at bottom from "file.osgjs" to "model_file.bin" and that you will see blue bar go to up to half on load indicator . Now go in "Sources" and add second break point where "t ()" is line 33771 and reload page, click twice on first break point (blue triangle) and again hit twice "continue button blue triangle" to continue and click twice to continue once more time and after that you will see your model so paste code in Console and name it "model_file_wireframe.bin" and save it.
When you do all that open "file.osgjs" in text editor and open "find and replace" tool and replace all ."binz" with ".bin.gz".

Open Blender and hit Alt+P and open "file.osgjs" and that's it

Or you can follow my video tutrial which is on mega with other necessary files and codes

mega.nz/folder/cYZxDYIA#QcEoO-VY9kDQJqJYyXpsbA

RE: [Guide] Ripping models from Sketchfab

deztrip
Lurker
Level:
0
Reputation:
0
Posts:
2
Likes:
1
Credits:
2
23-07-2021, 01:09 AM
This post was last modified: 24-07-2021, 06:41 AM by deztrip
#177
H ello vido im read your method and check your video , since is very complicated for me :( , im conti nue try .
1

RE: [Guide] Ripping models from Sketchfab

teotz
Lurker
Level:
0
Reputation:
0
Posts:
2
Likes:
0
Credits:
2
24-07-2021, 03:07 PM
#178
21-07-2021, 05:28 PM
Vido Wrote:
Hi guys,
here I will write briefly what you gone need to do to download unencrypted "binz" model's from Sketchfab
Open Chrome and Dev tools (F12), make tool horizontal and go to "Sources" and close all files in sources, hit "Ctrl + Shift + F" and type "this._xhr=" and hit enter, double click on bottom text line to open it
Click on "{}" to format code and hit "Ctrl +F" and find this line of code


Code:
this._xhr = {
              response: i,
              responseText: i


and insert break point at this line "his._xhr =" and reload page with "Ctrl + R", after that you will hit first break point and then go to "Console" and paste this code


Code:
var downloadBlob, downloadURL;

downloadBlob = function(data, fileName, mimeType) {
var blob, url;
blob = new Blob([data], {
  type: mimeType
});
url = window.URL.createObjectURL(blob);
downloadURL(url, fileName);
setTimeout(function() {
  return window.URL.revokeObjectURL(url);
}, 1000);
};

downloadURL = function(data, fileName) {
var a;
a = document.createElement('a');
a.href = data;
a.download = fileName;
document.body.appendChild(a);
a.style = 'display: none';
a.click();
a.remove();
};

downloadBlob(i, 'file.osgjs', 'application/octet-stream');



Hit "Enter" and save it in some directory. Reload page skip first break point by clicking on blue arrow (blue triangle) and paste code once more in Console from above "var downloadBlob, downloadURL; ...." just change name at bottom from "file.osgjs" to "model_file.bin" and that you will see blue bar go to up to half on load indicator . Now go in "Sources" and add second break point where "t ()" is line 33771 and reload page, click twice on first break point (blue triangle) and again hit twice "continue button blue triangle" to continue and click twice to continue once more time and after that you will see your model so paste code in Console and name it "model_file_wireframe.bin" and save it.
When you do all that open "file.osgjs" in text editor and open "find and replace" tool and replace all ."binz" with ".bin.gz".

Open Blender and hit Alt+P and open "file.osgjs" and that's it

Or you can follow my video tutrial which is on mega with other necessary files and codes

mega.nz/folder/cYZxDYIA#QcEoO-VY9kDQJqJYyXpsbA


Thank you for the guide! The mega folder asks for the decryption key, can you share that?

RE: [Guide] Ripping models from Sketchfab

Vido
Newbie
Level:
1
Reputation:
0
Posts:
13
Likes:
11
Credits:
13
24-07-2021, 06:39 PM
This post was last modified: 24-07-2021, 09:46 PM by Vido
#179
24-07-2021, 03:07 PM
teotz Wrote:
Thank you for the guide! The mega folder asks for the decryption key, can you share that?
Your are welcome, mega url contain key you did not copied url well

RE: [Guide] Ripping models from Sketchfab

hyt876
Novice
Level:
3
Reputation:
0
Posts:
37
Likes:
1
Credits:
24
25-07-2021, 08:40 AM
#180
good job dude i'll definately try it

Users browsing this thread: 1 Guest(s)