Remove EXIF info in you don’t want share it:
mogrify -strip ./some_image.jpg
Monthly Archives: October 2019
docker file stdout
cd /var/log/apache2
lrwxrwxrwx 1 root root 11 Feb 17 2018 access.log -> /dev/stdout
lrwxrwxrwx 1 root root 11 Feb 17 2018 error.log -> /dev/stderr
It means you can get logs records from host node:
tailf /var/log/messages
docker prestashop install
docker run -ti --name some-mysql2 --network prestashop-net -e MYSQL_ROOT_PASSWORD=admin -e MYSQL_DATABASE=prestashop -e MYSQL_ROOT_HOST=% -p 3308:3306 -d mysql:5.7
docker run -ti --name presta1 --network prestashop-net -e DB_SERVER=172.18.0.3 -e PS_DEV_MODE=true -e PS_INSTALL_AUTO=1 -p 8080:80 -d prestashop/prestashop:1.7-7.0
That will run auto install on presta1:
/bin/sh /tmp/docker_run.sh
php /var/www/html/install/index_cli.php –domain=172.18.0.4 –db_server=172.18.0.3:3306 –db_name=prestashop –db_user=root –db_password=admin –prefix=ps_ –firstname=John –lastname=Doe –password=prestashop_demo –[email protected] –language=en –country=gb –newsletter=0 –send_email=0
find not https url on webpage
parts of page are not secure
Find url without SSL: wget -q https://www.srv24x7.com -O - | tr "\t\r\n'" ' "' | grep -i -o '<a[^>]\+href[ ]*=[ \t]*"\(ht\|f\)tps\?:[^"]\+"' | sed -e 's/^.*"\([^"]\+\)".*$/\1/g' | sort | uniq | grep -v https
dynamic SSH port forwarding
ssh -f -N -D 1080 [email protected]
curl -x socks5h://localhost:1080 http://www.srv24x7.com/
litespeed enterprise web server reset password
/usr/local/lsws/admin/misc/admpass.sh
Please specify the user name of administrator.
This is the user name required to login the administration Web interface.
User name [admin]:
use the “listen … ssl” directive instead
# ssl on;
cyberpanel mysql root
cat /etc/cyberpanel/mysqlPassword
linux control screen brightness
xrandr --output LVDS-1 --brightness 1.0