search for: pingcastl

Displaying 6 results from an estimated 6 matches for "pingcastl".

Did you mean: pingcastle
2020 Oct 12
2
Lookup sid with libsmbclient (invoked from c# on mono)
I'm trying to port PingCastle (which is an AD audit tool - https://www.pingcastle.com/download) from Windows to Linux. The program being written in c#, I've no other solution than calling native libraries. (the mono framework is missing critical components) It uses SMB / LDAP / RPC calls to collect its information. Here i...
2020 Oct 18
1
Lookup sid with libsmbclient (invoked from c# on mono)
...Let me share it with you in case somebody will have the same need that me. br Vincent LE TOUX using Microsoft.Win32.SafeHandles; using System; using System.ComponentModel; using System.Diagnostics; using System.Net; using System.Runtime.InteropServices; using System.Security.Principal; namespace PingCastle.ADWS { internal class SambaSidResolver : IDisposable { const int SECURITY_MAX_SID_SIZE = 68; [DllImport("libsmbclient.so.0", CharSet = CharSet.Ansi)] static internal extern IntPtr _talloc_stackframe(string context); [DllImport("libsmbclient....
2020 Oct 12
0
Lookup sid with libsmbclient (invoked from c# on mono)
On 12/10/2020 14:09, Vincent Le Toux wrote: > I'm trying to port PingCastle (which is an AD audit tool - > https://www.pingcastle.com/download) from Windows to Linux. > The program being written in c#, I've no other solution than calling > native libraries. > (the mono framework is missing critical components) > > It uses SMB / LDAP / RPC calls to...
2020 Oct 12
3
Lookup sid with libsmbclient (invoked from c# on mono)
Thanks Aur?lien Can you point to me how I can start LDAP connection using winbind ? I'm using ldap_simple_bind so far so there is no use of winbind in it. I'll be happy also if you can point me to the winbind API where you can input login / password br Vincent Le lun. 12 oct. 2020 ? 11:37, Aur?lien Aptel <aaptel at suse.com> a ?crit : > Hi Vincent, > > If you want to
2020 Oct 12
2
Lookup sid with libsmbclient (invoked from c# on mono)
Typical example: Here is some search & export for libsmbclient: adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0 |grep cli_rpc_pipe_open_noauth_transport <nothing> adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0 |grep cli_rpc_pipe_open U cli_rpc_pipe_open_noauth adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0
2020 Oct 10
2
Lookup sid with libsmbclient (invoked from c# on mono)
...nd its underlying raw RPC call ( > https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-lsat/eb7ac899-e697-4883-93de-1e60c7720c02 > ). > > I've also already implemented the raw RPC call on Windows in C# to be able > to test null session > (https://github.com/vletoux/pingcastle/blob/master/RPC/lsa.cs) > So i understand what I'm doing. > > I want to port my c# program which is already running fine on Windows to > Linux. > I found some RPC call / API easily such as DsGetDcName (in libnetapi.so.0) > > I didn't find an easy export of LsarLookupSi...