To create an admin user in Kali and other Debian-based distros, you can use the command “adduser” followed by the username you want to create. For example, to create a user named “peter,” you would use the command To give the user admin privileges, you can use the command “usermod” followed by the username and […]
Hi Guys! If you are working on a website or page and need to send the link to a few people but don’t want to create authentication for everyone, this method is perfect for you. You can use a simple URI-based token system, where the token is included as a parameter in the URL. This […]
Hi Guys! When doing pen-testing for clients I often do quite a bit of OSINT (Open Source Intelligence), Google Dorking and searches on web archiving. And let me tell you! I find a lot of development apps and sites indexed and cached by Google. The funny thing is that even if you delete those pages, […]
Endpoints for WordPress data types are provided via the WordPress REST API. This enables developers to interact remotely with sites by sending and receiving JSON objects. Most website owners, however, do not need these functionalities. Therefore, it may be better to deactivate the WordPress JSON REST API. Nobody can dispute the advantages that this API […]
This quick tip will show you how to search for strings inside files in Linux. You can use the grep command to search for specific strings in files on a Debian 11 system. The basic syntax is: This will search for the string “string” in all files in the specified directory. To search for the […]
In this tutorial, I will show you how to connect to your AWS instance via SSH using Termius. INSTALL TERMIUS Head to https://account.termius.com/signup and create an account. Login and download the app for macOS, Windows or Linux. Once downloaded, install and run the app. You can login to get a free trial or simply start […]
To install Debian 11 on Amazon Web Services (AWS), you can use the AWS Elastic Compute Cloud (EC2) service. Here are the general steps you can follow: Register on AWS https://portal.aws.amazon.com/billing/signup Log in to your AWS account and navigate to the EC2 dashboard. Click on the “Launch Instance” button to start creating a new virtual […]
This guide will help you install Apache2, create a Virtual Host for your domain, install Letsencrypt and install PHP 8.2 on Debian 11: APACHE2 Let’s begin by installing apache2 and creating a virtual host for your website. Make sure to replace mydomain.com with the appropriate path and domain name for your virtual host. First, update […]
After trying a few things, I continued to get the following error: 🤦🏻 OMG, The solution is simple. You don’t need the paths to enable or disable sites: The same is true for a2ensite: Now, this is why you should not trust online sources. Learn to look in the man pages or the official sources: […]
If you can’t uninstall Node.js, you may want to try this. This hack is based on nvm (Debian 10/11). First, try uninstalling it the legit way: If this doesn’t work, then try deactivating it: Now, get the version of Node: Now you can uninstall it using nvm and the correct version of node. Example: There! […]
phpMyAdmin is a popular web-based tool for managing MariaDB and MySQL databases. It provides a user-friendly interface for creating and managing databases, tables, columns, and users. Some benefits of using phpMyAdmin include: Intuitive interface: PHPMyAdmin’s web-based interface is designed to be easy to use, even for those who are new to database management. Database management: […]
Here are a few pointers when working with MySQL/MariaSQL that I’m sure will help you! CHECK VERSION To check the version of SQL on a Debian 11 system using the terminal, you can use the command: This will return the version number of the MySQL server installed on your system. Alternatively, you can use the […]
To set up a 301 redirect using .htaccess, you can add the following code to the .htaccess file: This tells the server to redirect any requests for the old page to the new page. You can also redirect entire directories using: This will redirect all the pages within the old directory to the corresponding pages […]
Hello there, friends. In this post, I’ll show you how to set up a reverse proxy for your virtual host when using Node.js. Most of you are probably familiar with Kali Linux. If not, don’t worry because today, you can install Kali Linux right on your Android device. Question I have a Debian 11 server […]
To install the latest version of Node.js (18.13.0) on Debian 11, you can use the Node.js package manager (npm) that comes with Node.js. Here’s one way to do it: Download the Node.js package from the Node.js website: Install Node.js: Confirm that Node.js was installed correctly by checking the version: This should output ‘v18.13.0’ or a […]
MariaDB is a fork of MySQL, and it is fully compatible with MySQL. To install MariaDB on Debian 11, you can use the apt package manager that comes with Debian. Here’s one way to do it: Update the package list: Install the MariaDB server package: During the installation, you’ll be prompted to set a root […]
Question Can you give me a script to see if my MySQL database is working? The script needs to check the hostname, port, database username, database name and password. It also needs to be displayed on the browser with inputs so I can fill out the information. Answer Here is a basic PHP script that […]
Why would someone leave the door open when redirecting www to non-www using via the .htaccess. Please first make all traffic encrypted from http to https and THEN redirect from www to non-www. Here’s the trick: Note: this only works in Apache. Cheers!