Category Archives: Scripting & programming

Somthing about Powershell, VB Script, C#, VB.NET

Powershell: Encrypt and decrypt strings with the host key

Hi,

each Windows machine has it’s own host key. This can be used to encrypt data which are only decrypted by this computer.

Continue reading Powershell: Encrypt and decrypt strings with the host key

Powershell: UDP Client and Server

Hi,

these UDP client and server and simply used for testing if a specific UDP port is open

Continue reading Powershell: UDP Client and Server

Powershell: Convert 18-digit LDAP/Win32 Epoch timestamp to DateTime object

Hi,

LDAP use a 18 digit timestamp format. It’s an epoch timestamp.
Continue reading Powershell: Convert 18-digit LDAP/Win32 Epoch timestamp to DateTime object

Windows: Get and decrypt password from rdp files

Hi,

rdp files can store the password for a connection. The password is protected with the users key who saved the file.
Continue reading Windows: Get and decrypt password from rdp files

Powershell: Get the certificate of a webserver

Hi,

like openssl s_client you can also use powershell to view/get the certificate of a webserver.
Continue reading Powershell: Get the certificate of a webserver