RSS Amplifier

Blog

DeveloperNote.com

A software developer's blog

developernote.comRSS feed ↗10 posts

Latest posts

Show RDP connections with credentials in PowerShell

Connecting: or with without querying the password: and then or with a single string: or without UI:

Override one virtual function multiple times in C++

The code below does not compile in C++: MSVC error: The code below compiles with MSVC: but GCC fails to compile this code with the following error:

Debugging Credential Provider with Visual Studio 2022 Remote Debugger

I installed Remote Tools for Visual Studio 2022 and run: Started Remote Debugger as administrator on the remote machine: Visual Studio 2022 asked for credentials: and displayed the list of the processes: I built the project with static runtime: Visual Studio displayed my DLL as a module and I was able to set a breakpoint: but it did not trigger when I entered a wrong password and tried to login. I…

Investigating Credential Providers on Windows

I registered a sample Credential Provider with the following .reg file: and it appeared in the registry: DLL was loaded into LogonUI.exe: and logon screen displayed this:

Generating Events 8004 and 8005 in Windows Logs

On DC with IP address 192.168.0.123: From another Windows machine: On DC: does not show any events. Configuring Security Options on DC From another Windows machine: On DC: The command still gives nothing. Default Domain Controllers Policy It displays the same settings: Using ldp.exe WireShark on DC: Opening a Share Opened DC share from another Windows machine: WireShark on DC:

Enabling Debug Visualizers in MS Visual Studio

Tools- Options: ConsoleApp.natvis: ConsoleApp.vcxproj: A visualizer for awl::decimal

Installing LDAPS certificate on Windows 10

I realized that my LDAPS certificate is not trusted with the following command in PowerShell: I installed ca_root.crt and got this: I added root certificates: and got this: With openssl on MinGW I got this: but was able to connect to DC via ldp.exe:

Why do we pass parameters to coroutines by value in C++?

C++ coroutines and const reference parameters A coroutine func accepts a parameter by const reference in the code below: The code is well-formed and outputs the following: until we change caller_func() as follows: The lifetime of a temporary used as a function argument is extended to that of the full expression containing the function call, so Param(15) is destroyed at semicolon and the coroutine…

Using BOOST 1.89 with BOOST_ASIO_HAS_IO_URING on Linux

Added the following to the common section of CMake: and the following to the project section: and the following to C++ code: and the following code started to compile:

Experimentations with LDAP/SASL on Ubuntu

SASL I configured Kerberos on Ubuntu 24.04 WSL and was able to run the following command: that produced the following output: WireShark: I set the both options to none: and tried again, but there still were SASL GSSAPI Privacy in WireShark: Simple Bind