Skip to content
shell{&}co

shell{&}co

Menu

  • News
    • Bug and tips
  • Automation
    • Ansible
  • Scripts & Code
    • Perl
      • Network
    • PHP
    • Powershell
      • Active Directory
      • Citrix
      • Cluster
      • Database
      • Exchange
      • Files and folders
      • Hardware
      • Network
      • Operating System
      • PKI
      • SCCM
      • Service and process
      • Tips
      • VMWare
    • Python
      • Monitoring
      • Network
      • PKI
      • Ruby
      • Security
    • Shell
      • Backup
      • Filesystem
      • Image processing
      • Monitoring
      • Network
      • PKI
      • Process
      • Time
      • Virtualization
      • Web
  • Fun
  • Project
    • Github
    • Log Analyzer

    Remove a NS record in all DNS zone files

    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

    shellandco_admin October 30, 2014 Network, Python No Comments Read more

    Change the serial number for all DNS zones

    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

    shellandco_admin October 30, 2014 Network, Python No Comments Read more

    Change the SOA in all DNS zone files

    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

    shellandco_admin October 30, 2014 Network, Python No Comments Read more

    Create a custom array

    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

    shellandco_admin October 15, 2014 Powershell, Tips No Comments Read more

    Split a string with multiple delimiters

    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

    shellandco_admin October 14, 2014 Powershell, Tips 2 Comments Read more

    PKI : Recover the certificate private key

    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

    shellandco_admin October 10, 2014 PKI, Security No Comments Read more

    PKI : x509 certificate verification process script

    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

    shellandco_admin October 10, 2014 News, PKI, Python, Security 1 Comment Read more

    Monitor Microsoft DNS Server log file

    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

    shellandco_admin October 6, 2014 Perl No Comments Read more

    Shared folder recycle bin clean up

    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

    shellandco_admin October 2, 2014 Files and folders, Network, Powershell 2 Comments Read more

    Backup/Restore all DNS zones

    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

    shellandco_admin September 25, 2014 Network, Powershell No Comments Read more
    • « Previous
    • Next »

    Recent Posts

    • Get Azure Security event workspace configuration
    • Copy certificate to the Windows Services store
    • Copy files from Windows CIFS share
    • Create a certificate from a request file with Powershell
    • Ansible – Manage multi-threading in playbooks

    Recent Comments

    • shellandco_admin on Get GDI handles by process
    • tadalafil 20 mg on Get GDI handles by process
    • รับออกแบบโลโก้ on Playing with ACL on the Active Directory objects
    • ปืนสั้นแก๊ส on Audit the Active Directory FREE
    • XxGaaabrielxX on Fake update screens
    Copyright © 2025 shell{&}co. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.