Mails über eigenen Server mit TLS Verschlüsselung

sudo apt install sendmailhostnamectl set-hostname myhostname.com sudo nano /etc/hosts127.0.0.1 localhost myhostname.comsudo sendmailconfig confirm all mit y for yes sudo service nginx restart lokaler test: sendmail -v someone@email.com From: you@yourdomain.comSubject: This is the subject field of the emailThis is the message to be sent.. sudo nano /etc/php/7.4/fpm/php.ini strg + wsendmail sendmail_path= /usr/sbin/sendmail -t -i sudo service Weiterlesen…

Huawai WhatsApp

Aktuell gibt es ein Problem Whats App auf Huawei Geräten upzudaten stand 08.Mai.2021 Dies geht Aktuell über einen umweg über den PC, da in Petal Search die aktuelle Version noch nicht online ist, geht dazu auf https://www.whatsapp.com/android/ ladet die aktuelle apk herunter und zieht diese auf euer smartphone viel spaß mit whats app und alles Weiterlesen…

Generate SHA256 for Integrity Origin

To Keep the Integrity of External Files: script src=”https://code.jquery.com/jquery-1.12.3.min.js” integrity=”sha256-aaODHAgvwQW1bFOGXMeX+pC4PZIPsvn2h1sArYOhgXQ=” crossorigin=”anonymous” to generate the integrity part you can use the following linux bash script followed by the src file: #!/bin/bash url=$1 && file=”${url##*/}” && wget $url && extension=”${url##*.}” && echo -e “\n\n” if [ $extension = ‘js’ ] then echo -e “Generate JS HTML output\n” Weiterlesen…

hostname persistent – permanently without restart

Change hostname on Ubuntu without restart To change the hostname permanently without a restart enter the following command: hostnamectl set-hostname myhostname To verify: hostnamectl /etc/hostname contains name of the machine, as known to applications that run locally. /etc/hosts and DNS associate names with IP addresses. hostname may be mapped to whichever IP address the machine can access itself, but Weiterlesen…

SSL Wildcard *.example.com

SSL Wildcard CERT: sudo apt install certbot   certbot certonly –manual –preferred-challenges dns –server https://acme-v02.api.letsencrypt.org/directory –manual-public-ip-logging-ok -d ‘*.hg-system.com’   Go to your DNS Provider for e.g. Cloudflare insert the txt record “_acme-challenge” insert the code from the command ahead, wait for at least 2 min or till the DNS-Record is available and press enter (in Weiterlesen…

Solve GTA5 error 7002.1

GTA5 Error 7002.1 and why it happend. The Protected Folder Access is supposed to block crypto Trojans that want to encrypt the hard drive and limit the damage here. Since the Social Club accesses its own files at: %userprofile%\OneDrive\Dokumente\Rockstar Games\Launcher\, access is blocked here. To some extent To prevent errors such as the capture at Weiterlesen…

Linux Shell Scripts

#!/bin/bash url=$1 && file=”${url##*/}” && wget $url && extension=”${url##*.}” && echo -e “\n\n” if [ $extension = ‘js’ ] then echo -e “Generate JS HTML output\n” echo -ne “<script type=\”text/javascript\” src=\”$url\” integrity=\”sha256-” && echo -ne openssl dgst -sha256 -binary url | openssl base64 -A && echo -e “\” crossorigin=\”anonymous\”></script>\n\n” elif [ $extension = ‘css’ ] Weiterlesen…