Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need more guidance #4

Open
CaledoniaProject opened this issue Jun 28, 2017 · 1 comment
Open

Need more guidance #4

CaledoniaProject opened this issue Jun 28, 2017 · 1 comment

Comments

@CaledoniaProject
Copy link

Awesome work, but how can I get started?

I've tried the dist/index.html but when I click on run, the page refreshes and nothing happens?

P.S Can you provide a command line version?

@mrpapercut
Copy link
Owner

Hi,

The 'Run' button will run whatever code is in the Input tab. The 'Load File' button does the same, but injects the uploaded file in the Input tab directly.

This doesn't guarantee that every code returns useful results. Commonly there can be 4 reasons for this:

  • The emulator doesn't support or incorrectly supports one of the objects called in the script. In this case it would be very valuable for me to know where the problem is by analysing the malware manually
  • The script gets stuck in an infinite loop when emulating downloads. See issue Prevent infinite HTTPrequest-loops by returning bytes #1 for a more detailed explanation
  • The file is not JScript (but VBscript or something else)
  • The malware is badly written and wouldn't run in a normal WScript environment either

In any of these cases, the malware will have to be reversed manually to figure out why it didn't run correctly. I don't claim every script will run because of the limitations of emulation, but if even 50% of the scripts runs, it can save a lot of time

I will add this to the README.md as well to inform other people

Regarding a commandline version, I think that's definitely possible. It already runs fine in Node (as the tests show) so I don't think it should be too much work. I have opened issue #5 for this and see if I can get it done over the weekend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants