I am trying to run zhsku using Noesis.Javascript example:

StreamReader sr = new StreamReader(@"C:\js.js"); string script = sr.ReadToEnd(); JavascriptContext context = new JavascriptContext(); context.Run(script); object num = context.Run("C();"); MessageBox.Show(num.ToString()); 

The very same tyk problem is that when you run the script (context.Run (script);) gives errors such as "window is not defined", "document is not defined" and so on. Can you tell me how to solve?

  • these are browser specific objects. Use a browser. Or remove their use from the script. - Grundy
  • Thanks, probably it is better to use the browser, because it generates a metadata, and it depends on the data from br, in theory. By the way, do not help with an example? in particular, with my case, tobish, not quite standard - Lolidze
  • under the link some big minified script, it will take a long time to figure it out. just to understand what's going on in it - Grundy
  • Initially, I need the metadata1 parameter, for authorization, by clicking and sniffer I found this zhs, although I don’t quite understand zhs, but it’s very similar to not generating that metadata1 note-pad.net/ru/read/fb009220d65921f4b9ca01546c68a20d?page=1 - Lolidze

0