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

    Show top IP addresses Accessing, Spamming or DoSing your website

    With the following awk script, you will show top IP addresses Accessing/Spamming/DoSing your website Tested with success on Apache. # creates a histogram of values in the first column of piped-in data function max(arr, big) { big = 0; for

    shellandco_admin December 17, 2015 Network, Shell No Comments Read more

    Create GeoIP firewall rules for iptables

    This script creates automatically firewall rules for iptables based on GeoIP informations. This script can be useful if you cannot use or build from source the Xtables addons for iptables. The script allows you to authorize network trafic on a

    shellandco_admin May 31, 2014 Network, Shell No Comments Read more

    Stop iptables and allowing everyone

    This script stops the iptables firewall and clean the rules to allow everyone. Script: #!/bin/sh echo “Stopping firewall and allowing everyone…” iptables -F iptables -X iptables -t nat -F iptables -t nat -X iptables -t mangle -F iptables -t mangle

    shellandco_admin April 24, 2014 Network, Shell No Comments Read more

    Recent Posts

    • 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
    • Play with group policy, XML and Powershell

    Recent Comments

    • Nicolas HAHANG on WMIC command on Ubuntu 16.04 LTS
    • Nicolas HAHANG on WMIC command on Ubuntu 16.04 LTS
    • Nicolas HAHANG on WMIC command on Ubuntu 16.04 LTS
    • Vok on WMIC command on Ubuntu 16.04 LTS
    • Vok on WMIC command on Ubuntu 16.04 LTS
    Copyright © 2021 shell{&}co. Powered by WordPress. Theme: Spacious by ThemeGrill.