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

    • pwddb – a self-hosted password repository
    • 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

    Recent Comments

    • Nick Thompson on Update computer group membership without a reboot
    • Carl on Update computer group membership without a reboot
    • Frankted on Remove local user profile
    • László Török on Manage reverse DNS zones with Powershell
    • Christian Santos on Create DNS PTR record if A record exists
    Copyright © 2022 shell{&}co. Powered by WordPress. Theme: Spacious by ThemeGrill.