wget -mpck --html-extension --user-agent="" -e robots=off --wait 1 -P . www.foo.com
- -m (Mirror) Turns on mirror-friendly settings like infinite recursion depth, timestamps, etc.
# check swap usage | |
sysctl vm.swapusage | |
# disable encrypted swap - SNOW LEOPARD | |
sudo defaults write /Library/Preferences/com.apple.virtualMemory UseEncryptedSwap -boolean no | |
# disable encrypted swap - LION | |
sudo defaults write /Library/Preferences/com.apple.virtualMemory DisableEncryptedSwap -boolean yes | |
# disable swap |
############################################################################### | |
# The MIT License | |
# | |
# Copyright 2012-2014 Jakub Jirutka <[email protected]>. | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is |
# Paths ---------------------------------------------- | |
set realname = "Damir Hasakovic" | |
set imap_user = '[email protected]' | |
set from = "[email protected]" | |
set spoolfile = imaps://imap.gmail.com:993/INBOX | |
set smtp_url = "smtp://[email protected]@smtp.gmail.com:587/" | |
set folder = "imaps://imap.gmail.com:993" | |
set record="+[Gmail]/Sent Mail" | |
set postponed="+[Gmail]/Drafts" | |
set header_cache = ~/.mutt/cache/headers # store headers |
CentOS, Ubuntu, Slackware, etc. Whatever Linux-based OS it is, you can create a bootable USB for it by using a Mac.
Download it, copy it, whatever it takes to prepare that Linux-based OS .iso file
Tcpdump is a commandline tool that is used to dump traffic on a network. This tool comes in hand when you want to analyse network captures within the command line. Basically it can do most of the wireshark job.
NOTE This guide might not be complete it just serve as a reference to me.
The following guide assumes running the commands below as root
for simplicity. Later in the guide directory permissions are restricted to follow the principle of least privilege.
apt install -y git unzip apache2 php7.4 curl php7.4-fpm php7.4-curl php7.4-mbstring php7.4-ldap \
php7.4-tidy php7.4-xml php7.4-zip php7.4-gd php7.4-mysql libapache2-mod-php7.4 \