dnf install wget perl-App-cpanminus gcc perl-libwww-perl perl-IO-Socket-INET6
cpanm lazy Test::MockObject
wget https://imapsync.lamiral.info/imapsync
perl -Mlazy imapsync
chmod +x imapsync
./imapsync --testslive
./imapsync --tests
dnf install wget perl-App-cpanminus gcc perl-libwww-perl perl-IO-Socket-INET6
cpanm lazy Test::MockObject
wget https://imapsync.lamiral.info/imapsync
perl -Mlazy imapsync
chmod +x imapsync
./imapsync --testslive
./imapsync --tests
CREATE USER 'root'@'%' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';
client_max_body_size 100M;
pecl install mcrypt
configure: error: mcrypt.h not found. Please reinstall libmcrypt
ERROR: `/tmp/pear/temp/mcrypt/configure --with-php-config=/usr/bin/php-config --with-mcrypt' failed
apt install libmcrypt-dev
a2enmod ssl
In case of php-fpm try: fastcgi_param HTTPS on;
ss -lntp | grep 111
LISTEN 0 128 *:111 *:* users:(("rpcbind",pid=816,fd=8))
LISTEN 0 128 [::]:111 [::]:* users:(("rpcbind",pid=816,fd=11))
pcinfo -p
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
systemctl stop rpcbind.socket
rpcinfo -p
rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused
systemctl disable rpcbind
nmap -sV 192.168.0.100
2211/tcp open ssh OpenSSH 6.6.1p1 Ubuntu 2ubuntu2.3 (Ubuntu Linux; protocol 2.0)
proxy_connect_timeout 600;
proxy_send_timeout 600;
proxy_read_timeout 600;
supervisorctl stop all
The password manager your team was waiting for. Free, open source, self-hosted, extensible, OpenPGP based.
upstream _php {
server unix:/var/run/php-fpm/php-fpm.sock;
}
server {
server_name 192.168.1.100;
root /path/to/root;
index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
location / { deny all; }
location = / { }
location = /index.php { fastcgi_pass _php; }
location /phpmyadmin/ { }
location ~ ^/phpmyadmin/.*\.php$ { fastcgi_pass _php; }
}
[unix_http_server]
file=/var/tmp/supervisord.sock
chmod=0770
chown=user:user
kernel.exec-shield = 1
kernel.randomize_va_space = 1
sysctl -p
dmesg | grep --color '[NX|DX]*protection'
[ 0.000000] NX (Execute Disable) protection: active
/etc/php/7.4/fpm/pool.d/user.conf
php_admin_value[session.save_handler] = redis
php_admin_value[session.save_path] = "tcp://127.0.0.1:6379?persistent=1&weight=1&database=2"