Skip to content

GRAYHAT

Learning by doing something

Setting up a Cloudflare SSL certificate for Bitnami WordPress on AWS Lightsail

Posted on January 29, 2023 By Jason Lee No Comments on Setting up a Cloudflare SSL certificate for Bitnami WordPress on AWS Lightsail

Now we connect with SSH to the hosting server; your Google Cloud Compute Engine instance. You can do this via the Google Cloud Platform > Compute Engine > VM Instances > Connect with SSH or with your preferred terminal client. sudo /opt/bitnami/ctlscript.sh restart apache

Uncategorized

MS Sentinel Playbook with Shodan Monitor

Posted on January 28, 2023January 28, 2023 By Jason Lee No Comments on MS Sentinel Playbook with Shodan Monitor

Shodan Monitor is a tool that allows security professionals to monitor specific IP addresses or keywords and receive notifications when new devices or services matching those criteria appear online. This can be useful for identifying new vulnerabilities or tracking the spread of malware, for example. Security professionals can also use Shodan to search for specific…

Read More “MS Sentinel Playbook with Shodan Monitor” »

Uncategorized

Most common Cyber security issue

Posted on January 25, 2023 By Jason Lee No Comments on Most common Cyber security issue

Cybersecurity has become a major concern for businesses and individuals alike, as the number and sophistication of cyber attacks continue to increase. One of the most common cyber security issues today is phishing. Phishing is a type of social engineering attack that aims to trick people into giving away sensitive information, such as login credentials…

Read More “Most common Cyber security issue” »

Uncategorized

Scripting buddy – ChatGPT

Posted on January 25, 2023 By Jason Lee No Comments on Scripting buddy – ChatGPT

ChatGPT can help you create PowerShell scripts by providing us with examples and explanations of different commands and techniques. ChatGPT can also assist us in troubleshooting any issues we may encounter while developing your script. Additionally, ChatGPT can help us understand how to use various built-in Windows PowerShell modules and cmdlets to accomplish our desired…

Read More “Scripting buddy – ChatGPT” »

Uncategorized

Kali 2020.3 + OpenVAS

Posted on October 30, 2020October 31, 2020 By Jason Lee No Comments on Kali 2020.3 + OpenVAS

There’re various instructions on installing OpenVAS, but I found the most efficient solution is OpenVAS and Kali combination. Whenever I tried with some scripts or with a different Linux distro, it always generates errors and hard to fix. So, just play with Kali as we always have been. Update Kali $sudo apt-get update && sudo…

Read More “Kali 2020.3 + OpenVAS” »

Uncategorized

Openvpn+Radius setup+2FA

Posted on March 19, 2020March 19, 2020 By Jason Lee No Comments on Openvpn+Radius setup+2FA

Installing FreeRADIUS3 Pfsense-Package Manager-FreeRADIUS3 Pfsense-Service-FreeRADIUS-Interfaces-Add ->Port: 1812, Interface Type: Authentication Pfsense-Service-FreeRADIUS-Interfaces-Add ->Port: 1813, Interface Type: Accountung Pfsense-Service-FreeRADIUS-Interfaces-NAS/Clients-Add ->Client IP Address : 127.0.0.1 ->Client Shared Secret : something User Management pfsense-System-User Manager-Authentication Servers-Add ->Type:RADIUS ->Hostname or IP address: 127.0.0.1 ->Shared Secret: something ->RADIUS NAS IP Attribute: choose network pfsense-Service-FreeRADIUS-Users-Add ->Username, Password Verification pfsense-Diagonostics-Authentication ->Authentication Server: Radserver…

Read More “Openvpn+Radius setup+2FA” »

Uncategorized

Configure SMTP

Posted on March 19, 2020March 19, 2020 By Jason Lee No Comments on Configure SMTP

Installing mail server on Ubuntu 19.10 LTS Server Install postfixInstall mailutils(optional) mailjet.com Reference https://www.linuxbabe.com/mail-server/setup-basic-postfix-mail-sever-ubuntuhttps://www.linuxbabe.com/mail-server/postfix-smtp-relayhttps://app.mailjet.com/docs/spf-dkim-guidehttps://linuxaria.com/pills/how-to-setup-postfix-to-forward-email-to-another-email-account-on-debianubuntu

Uncategorized

Cloudflare SSL full strict mode

Posted on March 19, 2020March 19, 2020 By Jason Lee No Comments on Cloudflare SSL full strict mode

Copy Cert and Key Cloudflare – Origin Server – Create Certificate Copy certificate key(site.pem) and private key (site.key) to origin server (web server) /etc/cloudflare/site.ca.pem /etc/cloudflare/site.ca.key Configure Apache $sudo a2enmod ssl $sudo vi /etc/apache2/sites-available/site.ca.conf ServerAdmin [email protected] ServerName site.ca ServerAlias www.site.ca DocumentRoot /var/www/html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined RewriteEngine on RewriteCond %{SERVER_NAME} =site.ca [OR] RewriteCond %{SERVER_NAME} =www.site.ca…

Read More “Cloudflare SSL full strict mode” »

Uncategorized

Installing LAMP+WordPress in 5minutes

Posted on March 18, 2020March 18, 2020 By Jason Lee No Comments on Installing LAMP+WordPress in 5minutes

There are bunch of different instructions how to install LAMP+Wordpress on Ubuntu distro, I simplified the installation process based on Ubuntu 19.10 LTS, and it won’t take more than 5 minutes to complete entire procedures. $sudo apt-get update && sudo apt-get upgrade$sudo apt-get install lamp-server^$sudo mysql_secure_installation $sudo mysql mysql>ALTER USER ‘root’@’localhost’ IDENTIFIED WITH mysql_native_password BY…

Read More “Installing LAMP+WordPress in 5minutes” »

Uncategorized

homelab for grownup

Posted on February 18, 2020February 23, 2020 By Jason Lee No Comments on homelab for grownup

I have just completed re-building my home lab and it took for few weeks to make certain worked. Hypervisors and pfsense are core parts of systems, but I also want to try that legacy or retired gadgets like Cisco ASA or HP DL3 series. Using cloud services such as AWS, Azure or DigitalOcean could make…

Read More “homelab for grownup” »

hyper-visors

Posts navigation

1 2 … 4 Next

Copyright © 2023 GRAYHAT.

Powered by PressBook WordPress theme