Skip to content

Commit

Permalink
Readme update + ActivitySurrogateSelectorFromFile fixed
Browse files Browse the repository at this point in the history
Credit section updated in Readme

ActivitySurrogateSelectorFromFile needed the E.dll file to work which was missing from the Release version (wrong config fixed) so ActivitySurrogateSelectorGenerator.cs has been updated to make ActivitySurrogateSelectorFromFile  works as usual even with a missing E.dll
  • Loading branch information
Soroush Dalili authored and irsdl committed Oct 7, 2020
1 parent 8003658 commit e50c42a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
8 changes: 3 additions & 5 deletions ExploitClass/ExploitClass.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\ysoserial\bin\Debug\</OutputPath>
<OutputPath>..\ysoserial\bin\Release\</OutputPath>
<DefineConstants>
</DefineConstants>
<ErrorReport>prompt</ErrorReport>
Expand All @@ -41,12 +41,10 @@
<Reference Include="System.Windows.Forms" />
</ItemGroup>
<ItemGroup>
<Compile Include="ExploitClass.cs">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Compile>
<Folder Include="Properties\" />
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
<Compile Include="ExploitClass.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ Credits for available gadgets:
DataSet
[Finders: James Forshaw] [Contributors: Soroush Dalili]
ObjectDataProvider
[Finders: Oleksandr Mirosh, Alvaro Munoz] [Contributors: Alvaro Munoz, Soroush Dalili]
[Finders: Oleksandr Mirosh, Alvaro Munoz] [Contributors: Alvaro Munoz, Soroush Dalili, Dane Evans]
PSObject
[Finders: Oleksandr Mirosh, Alvaro Munoz] [Contributors: Alvaro Munoz]
ResourceSet
Expand Down
2 changes: 1 addition & 1 deletion ysoserial/Generators/ActivitySurrogateSelectorGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class PayloadClass : ISerializable
protected byte[] assemblyBytes;
protected int variant_number = 1;
protected InputArgs inputArgs = new InputArgs();
public PayloadClass() : this(1, new InputArgs()) { }
public PayloadClass() { }
public PayloadClass(int variant_number, InputArgs inputArgs)
{
this.variant_number = variant_number;
Expand Down

0 comments on commit e50c42a

Please sign in to comment.