I have written this python code to remove a NS record in all DNS zone files on my Bind server. The following modules are required for this script : shutil : used to backup the zone files re : regex
I have written this python script to change the serial number for all DNS zones. The best practice for a DNS zone serial number is to use this template : YYYYMMDDxx with : YYYY : year MM : month DD
I have written this python code to help me to change the SOA in all of my DNS zone files on my Bind server. After running this script as shown below, you have to reload your zone file using one
Create a custom array with Powershell I will describe in this post how to create a custom array with Powershell. With “custom array”, I mean array with custom column name. In some case, you will probably need to build an
Split a string with multiple delimiters I will describe in this post how to split a string with multiple delimiters. To begin and to remind you how to split a string, you can use the Powershell method “split” : $string
PKI : Recover the certificate private key with Microsoft tools If a certificate does not contain the private key, the following part will be blank: Follow these steps to include the private key in the certificate file : Snap-In Configuration
PKI : x509 certificate verification process script Description x509test is a software written in Python 3 that test the x509 certificate verification process of the target SSL/TLS client. The inspiration of this software comes from multiple reports on the insecurity
Monitor Microsoft DNS Server log file This simple Perl script analyzes the Microsoft DNS server log file and output the following informations : date time remote ip fqdn Microsoft DNS log field description The Microsoft DNS log file contains fields
Shared folder recycle bin clean up With this script you will be able to delete the content of the recycle bin of a network shared folder. It can be very useful if the shared folder contains the home directory for
Backup/Restore all DNS zones These scripts backup and restore all DNS zones on specific DNS server (source). The backup script uses the Powershell cmdlet get-wmiobject to list the DNS zone present in the WMI database and then export each zone using