SSL Certificate for Use With Nginx on Localhost  [draft]

Here are the general steps you can follow: Install OpenSSL on your local machine, if it is not already installed. OpenSSL is a command-line tool used to generate the certificate. Generate a self-signed certificate using the following command: openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout localhost.key -out localhost.crt This command will generate a private key (localhost.key) and a self-signed certificate (localhost.crt) that is valid for 365 days. During the process, you’ll be prompted to enter some information about the certificate, such as the Common Name (CN), which should be set to localhost in this case....

March 27, 2023 · Marcin M

How to Install Mariadb + Phpmyadmin With Docker-Compose  [draft]

How to install mariadb + phpmyadmin with docker-compose Running web applications, such as Django , requires the use of a database management system. While many Django tutorials recommend using PostgreSQL , I have found that using the combination of MariaDB and phpMyAdmin is very user-friendly for managing your database. Although there are many tutorials available, some of them are outdated. Therefore, I have put together a quick guide to help you get started....

March 24, 2023 · Marcin M

Msf6  [draft]

Using Metasploit to scan a target for vulnerabilities: # db_nmap -v --script vuln 192.168.0.184 Good luck!! with hunting. Useful links:

December 1, 2022 · Marcin M

Nmap  [draft]

We perform a quick port scan using the nmap command as follows: nmap 64.226.97.50 The result of the scan shows that port 22 is open: PORT STATE SERVICE 22/tcp open ssh To determine what is running on port 22, we use the -sV option to enable version detection: nmap -p 22 -sV 64.226.97.50 The output of this command shows that the service running on port 22 is OpenSSH version 8.9p1 on an Ubuntu Linux system:...

December 1, 2022 · Marcin M

Ansible setup  [draft]

This guide explains how to install Ansible using Python 3 and PIP. It covers checking for Python 3, installing Ansible with PIP, and providing shell scripts for automation. It also includes an introduction to Ansible and a brief conclusion. [comment]: [//]: # We can check which version of Python3 is installed on our system by running the command: which python3 To check the version of Ansible installed on our system, we can run:...

September 24, 2022 · Marcin M