docker build -t <DOCKERIMAGE-NAME> .
info: to find out which image you want to migrate enter docker images you will see the images by name
apt install ca-certificates curl
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
chmod a+r /etc/apt/keyrings/docker.asc
tee /etc/apt/sources.list.d/docker.sources <<EOF
Types: deb
URIs: https://download.docker.com/linux/debian
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
You can use ssacli (smart storage administrator command line interface) tool to manage any of supported HP Smart Array Controllers in your Proxmox host without need to reboot your server to access Smart Storage Administrator in BIOS. That means no host downtime when managing your storage.
CLI is not as convenient as GUI interface provided by BIOS or desktop utilities, but still allows you to fully manage your controller, physical disks and logical drives on the fly with no Proxmox host downtime.
ssacli replaces older hpssacli, but shares the same syntax and adds support for newer servers and controllers.
| # Kernel sysctl configuration file for Linux | |
| # Version 1.11 - 2015-07-07 | |
| # Aysad Kozanoglu Aysad K. | |
| # This file should be saved as /etc/sysctl.conf and can be activated using the command: | |
| # sysctl -e -p /etc/sysctl.conf | |
| # | |
| # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and sysctl.conf(5) for more details. | |
| # | |
| # Tested with: Ubuntu 14.04 LTS kernel version 3.13 |
Capture SMTP Email
tcpdump -nn -l port 25 | grep -i 'MAIL FROM\|RCPT TO'
Extract HTTP Passwords in POST Requests
tcpdump -s 0 -A -n -l | egrep -i "POST /|pwd=|passwd=|password=|Host:"
Capture FTP Credentials and Commands
| # Author: Aysad Kozanoglu | |
| # Version: 0.1 | |
| # changed: Wed 26 Oct 2022 08:56:15 PM CEST | |
| # please note: while injecting this file, filename must be named exactly preseed.cfg (debian defaults) | |
| # example -> /var/lib/config/buster/preseed.cfg | |
| # -initrd-inject=/var/lib/libvirt/images/preseeds/buster/preseed.cfg | |
| # | |
| # full command example for virt-install | |
| #### Contents of the preconfiguration file (for squeeze) |
| # first install package | |
| # apt install libfcgi-bin -y | |
| sudo -u www-data bash -c "export SCRIPT_NAME=/status; export SCRIPT_FILENAME=/status; export QUERY_STRING=full; export REQUEST_METHOD=GET; cgi-fcgi -bind -connect /var/run/php/php7.3-fpm-www.sock" | |
| # see documentation here: | |
| #http://aysad.cloudns.cc/php/fpm/status/check/console/howto/ |
| #!/bin/bash | |
| # | |
| # Highligh Nginx config file in Vim | |
| # Download syntax highlight | |
| mkdir -p ~/.vim/syntax/ | |
| wget http://www.vim.org/scripts/download_script.php?src_id=19394 -O ~/.vim/syntax/nginx.vim | |
| # Set location of Nginx config file | |
| cat > ~/.vim/filetype.vim <<EOF |