• How to delete Application logs on Wserver

    Hi Today I’ll give yo you the magic of cleaning at least 1gb -> 1 shot on your servers, use it only in cases that you are shure that you won’t need anymore application logs wevtutil el | foreach { wevtutil cl $_ } Have nice day!

  • How to Harden IPTABLES in your Ubuntu/debian Server

    Hi Today I’ll post a simple Iptables configuration , to harden a server connection , before apply any of this changes remember that if  your server brings X services , this configuration will close the server to 2 operating ports 22 SSH and 80 ( HTTP) All remaining ports will be closed , so be…

  • Install VM virtual BOX in your Debian / Ubuntu Machine

    Hi Today I’ll post how to configure / use the Oracle VM virtual box  on Ubuntu / debian distro , first we gonna need to do some actions to prepare our system , we gonna use the  oracle virtual box packaged version and add to the repo the sources , install the key , etc……

  • How to block icmp packets on linux

    Hi ! Maybe you need to block attackers or simply stay safe on your Linux server I’ve discovered several security fails on my system , one of them was not blocking ICMP packets So I blocked doing this 1. Edit configuration file on /etc/sysctl.conf 2. Add the following line net.ipv4.icmp_echo_ignore_all = 1 now the ICMP traffic is…

  • How to Download with WGET a file directly into private FTP

    Hi for unexpected reasons maybe 1 day will be the day that you well need to connect to a ftp into a unix shell and download a file and sadly you don’t have the graphical shell running One quick way to download that file of your ftp server is to bind user and password &…