Skip to content

tjaworski/node-rsc-dll-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

node-rsc-dll-parser

Parse Windows Resource DLL from node.js

Works pretty much with any resource type, some strings maybe encoded, you can TextDecoder to convert them.

string = new TextDecoder("utf-8").decode(asset.data)

return data is:

{
    type: 'RT_STRING'
    assets: [
       {
          id: 1,
          name: 'some name',
          data: 'some data buffer'
       }
    ]
}

example usage:

const parser = import('.\parser');

parser('windows.dll').then(result => {

    if (result) {

        for (const each of result) {

            if ('RT_STRING' === each.type) {

               for  (const item of each.assets) {
                    var _string = asset.data;
                    console.log('id: ' + asset.id + ' - ' + _string)
               });
            }
        }
    }
});

Have Fun!

About

Parse Windows Resource DLL from node.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published