You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello
I downloaded this and Opened the .sln file onto Visual Studio Code
I build it and it built successfully without any errors
GadgetToJScript.exe -b -w js -c dropper.cs -o test
The dropper.cs file is one that is automatically generated when starting a PoshC2 instance.
It gives me this error:
[+]: Generating the js payload
[+]: First stage gadget generation done.
[+]: Compiling your .NET code located at:dropper.cs
Error _AssemblyLoader: Error (CS1056): Unexpected character '$': 574
: at GadgetToJScript._AssemblyLoader.compile(String csFile, String references) in C:\Users\User1\Documents\data\GadgetToJScript-master\GadgetToJScript-master\GadgetToJScript_AssemblyLoader.cs:line 48
I go into Assemblyloader line 48 and see the line below. Is there something I am doing wrong?
Please assist if you can.
Thank you so much!
The text was updated successfully, but these errors were encountered:
Seems like the error could be related to code you have placed within dropper.cs source file (Line number 574), if it is not the case, then it will be helpful if you can share the "dropper.cs" (remove shellcode var) file in order to reproduce the issue and work on a fix.
Hello
I downloaded this and Opened the .sln file onto Visual Studio Code
I build it and it built successfully without any errors
GadgetToJScript.exe -b -w js -c dropper.cs -o test
The dropper.cs file is one that is automatically generated when starting a PoshC2 instance.
It gives me this error:
[+]: Generating the js payload
[+]: First stage gadget generation done.
[+]: Compiling your .NET code located at:dropper.cs
Error _AssemblyLoader: Error (CS1056): Unexpected character '$': 574
: at GadgetToJScript._AssemblyLoader.compile(String csFile, String references) in C:\Users\User1\Documents\data\GadgetToJScript-master\GadgetToJScript-master\GadgetToJScript_AssemblyLoader.cs:line 48
I go into Assemblyloader line 48 and see the line below. Is there something I am doing wrong?
Please assist if you can.
Thank you so much!
The text was updated successfully, but these errors were encountered: