DissectMalware / yaradbg-container

A docker config file to run yaradbg in a container
Apache License 2.0
5 stars 0 forks source link

unable to use yaradbg in offline environment #1

Open itzikg12 opened 7 months ago

itzikg12 commented 7 months ago

I'm attempting to use yaradbg on an offline VM and I've been running into issues.

It seems to work fine when my machine is connected to the web when online

but the moment I disconnect the machine the frontend page appears blank and if you look at the pages html the page seems to be hidden offline no display

after showing the page it shows the incomplete frontend page and I cant use the tool offline yes display no functionality

I hope this issue can be resolved thanks in advanced

DissectMalware commented 7 months ago

Ok, I know what happens.

It loads css and js libs from the Internet

https://github.com/DissectMalware/yaradbg-frontend/blob/58073c4b35d0cf44abac83c78157d0e56640c5b9/src/index.html#L7

Screenshot 2024-02-07 at 3 16 31 AM

It should be an easy fix. Just need to include the js and css files into YaraDbg frontend project instead of relying on CDNs.

Will fix this soon