apt install kali-linux-all
git clone https://github.com/internetwache/GitTools.git
nmap -sC -sV -oA initial 10.10.10.78
nmap -sV -sC -oA nmap-tcp 10.10.10.84
nmap -T4 -A -v -p 0-10000 10.10.10.8
#!/bin/sh | |
#Check the Drive Space Used by Cached Files | |
du -sh /var/cache/apt/archives | |
#Clean all the log file | |
#for logs in `find /var/log -type f`; do > $logs; done | |
logs=`find /var/log -type f` | |
for i in $logs |
Creating strong passwords i would recommend using a browser extensions as password generator. | |
-Configuring Auto-Update: | |
apt install unattended-upgrades | |
systemctl enable unattended-upgrades | |
systemctl status unattended-upgrades | |
nano /etc/apt/apt.conf.d/50unattended-upgrades |
############ WordPress #################### | |
# Disable logging for favicon and robots.txt | |
location = /favicon.ico { | |
try_files /favicon.ico @empty; | |
access_log off; | |
log_not_found off; | |
expires max; | |
} |
When hosting our web applications, we often have one public IP
address (i.e., an IP address visible to the outside world)
using which we want to host multiple web apps. For example, one
may wants to host three different web apps respectively for
example1.com
, example2.com
, and example1.com/images
on
the same machine using a single IP address.
How can we do that? Well, the good news is Internet browsers