Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on Nmap

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Nmap is used to discover hosts and services on a computer network by sending packets and analyzing the responses.

Nmap provides a number of features for probing computer networks, including host …

Send Emails in Python

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Use Standard Libraries smtplib and email

Below is a function for sending email leveraging standard libraries smtplib and email.

import smtplib
from email.mime.text import MIMEText


def send_email(recipient: Union …

Tips on httpd

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. A directory must be executable by others in order to show up. Even if a directory show up, it does NOT mean that you can access it. It must be readable …