AKZN Notes

Archives for My Lazy and Forgetful Mind

Category: Uncategorized

SQL Injection Cheat Sheet

good reading to test our apps https://www.invicti.com/blog/web-security/sql-injection-cheat-sheet/

Securing Your Website with Cloudflare SSL

Cloudflare offers powerful features to enhance the security and performance of your website. One crucial aspect is securing the communication between your visitors and Cloudflare, as well as between Cloudflare and your origin server. In this article, we’ll explore the SSL options provided by Cloudflare and how to choose the right configuration for your needs. […]

The Most Secure Way to Encrypt and Decrypt Your Data on PHP

The Most Secure Way to Encrypt and Decrypt Your Data Data security is a critical aspect of modern applications, and choosing a robust encryption method is paramount to protect sensitive information. In this guide, we’ll explore a secure approach to encrypt and decrypt data using PHP and OpenSSL. Generate Two Random Keys Before we delve […]

Change or Set autologin User on Armbian

This worked for me: added the following two lines to /etc/lightdm/lightdm.conf.d/22-armbian-autologin.conf autologin-user=<YOUR USER> autologin-user-timeout=0 the complete file: [Seat:*] autologin-user=pi autologin-user-timeout=0 user-session=xfce

Show php error log

sudo tail -f /var/log/apache2/error.log

Adding a Subdomain for a Page on Your WordPress Website

https://bizzybizzycreative.com/adding-a-subdomain-for-a-page-on-your-wordpress-website/ https://www.wpbeginner.com/wp-themes/how-to-create-a-custom-page-in-wordpress/#manual