When you edit files using Vim, it makes .swp files in the same directory as the files you are editing, and these files contain all changes you've made.
Recently I did security and pen-testing assessment of a web application written entirely in PHP, and some of the biggest issues I’ve come along were in-code vulnerabilities to 💉 SQL injections. To fix this, I recommended using prepared...
In this article, I’m going to talk about the usage of Apache Tomcat’s shutdown functionality and how one can use it to remotely shutdown multiple Tomcat applications. Apache Tomcat has a shutdown functionality that allows you to...
Recently we had a case where we needed to limit the PostgreSQL user activities to only a single connection per user, and in this article I’m going to share the experience with you. The connection limit is applied during the session connection...
pg_activity is a great command-line tool for PostgreSQL server activity monitoring., and we are gonna show you how to install it and use it on a Linux machine. But what happens when someone that doesn’t have access to that Linux machine, wants...
You can uninstall Apache Tomcat from either a Windows or Linux server with the following steps: Step 1: Stop the Tomcat service On Windows: On the machine where the product is installed, click Start > Control...
The following are the configuration files that are located in the Tomcat's /conf directory.
Upon starting Apache Tomcat will create several log files in the tomcat/logs directory. In this article, we’ll focus on the default and most common logging implementation used for Tomcat – the included JULI implementation...