Ashley Donaldson
6772740f86
Fix bug in HostingCLR relating to the first argument passed to a dotnet assembly.
2023-06-28 09:24:33 +10:00
Ashley Donaldson
afe359281c
Remove manual signature handling, and figure it out for the user.
2023-06-28 09:22:01 +10:00
Ashley Donaldson
65a4dd3c39
Change ETW bypass method, so that CLR memory can be freed.
...
Fixed a crash and broken logic in hosting clr code.
2023-06-26 09:54:00 +10:00
Ashley Donaldson
977f8732c6
Fix cleanup code.
...
The _AppDomainPtr, _AssemblyPtr and _MethodInfoPtr variables are COM smart pointers which will auto-Release() when they go out of scope, so we should not directly Release() them.
2023-06-23 14:01:45 +10:00
Ashley Donaldson
a7ce4c7fa8
Free memory from the C++ side, rather than the Ruby side.
2023-06-23 09:57:53 +10:00
Ashley Donaldson
6e438d338e
Modify execute_dotnet_assembly to run in existing processes (including our own process) and receive output.
2023-06-21 12:04:09 +10:00
Spencer McIntyre
0ccb50ac02
Adjust how HostingCLR arguments are packed
2020-11-09 12:24:55 -05:00
b4rtik
ddd9af83b9
Update
2020-10-29 22:49:41 +01:00
b4rtik
9779bbef77
Fix parameter managing
...
Fix a problem running assemblies with Main signature (string[] args) and no passed parameters
2020-10-23 21:14:10 +02:00
b4rtik
9be3f1d751
Code cleanup
2020-04-21 00:12:47 +02:00
b4rtik
d1a8ac072a
Fix Amsi and Etw patching
2020-04-20 23:52:19 +02:00
bwatters-r7
b9e83bd055
Update VS build destination
2020-04-13 18:20:20 -05:00
Jeffrey Martin
ba091711b3
add files lost during rebase
...
all credit to b4rtik for these files, just restoring here
2020-04-13 14:13:59 -05:00
b4rtik
c252e0affa
Update build task
2020-04-10 15:07:07 -05:00
b4rtik
e3c8c6b0cc
Enabled output from clr loading
2020-04-10 15:06:39 -05:00
b4rtik
b4d2dfe753
Added EtwEventWrite patching
2020-04-10 15:06:00 -05:00
b4rtik
8743cdfecc
Update and USETHREADTOKEN
2020-04-10 15:05:20 -05:00
b4rtik
82b22f528b
Update external/source/HostingCLR_inject/HostingCLR/HostingCLR.cpp
...
Co-Authored-By: Brendan <bwatters@rapid7.com >
2020-04-10 15:05:19 -05:00
b4rtik
4c26fa7a67
Fix arguments managing
2020-04-10 15:05:19 -05:00
b4rtik
1476f08dd0
Fix arguments managing
2020-04-10 15:05:18 -05:00
b4rtik
d1c812bb25
Update HostingCLR.vcxproj
2020-04-10 15:05:18 -05:00
b4rtik
baf25fb064
Removed dependency on vc runtime
2020-04-10 15:04:51 -05:00
b4rtik
a3abfb13da
Some fix
2020-04-10 14:57:41 -05:00
b4rtik
33cd725562
Add dynamic size for assembly and args
2020-04-10 14:57:37 -05:00