Hodžův blog

Archive for the 'Bezpečnost' Category

13 Led

SSL Library Error: 185073780 key values mismatch

When installing a certificate on Apache web server, you might receive an error SSL Library Error: 185073780 error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch during restart of Apache service. Most often, this error appears if you are using an incorrect private key along with the certificate you received from the Certificate Authority. In order for Apache to […]

12 Led

Veeam Agent – reset backup jobs (re-create the Database )

Perform the following actions: 1. Run regedit.exe and locate the HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Endpoint Backup key. Create the following value under this key:Name = Recreatedatabase Type = DWORD Value = 1  2. Go to Control panel > Administrative Tools and run Services. Restart the Veeam Agent for Microsoft Windows service. A new database instance will be created (this usually […]

31 Bře

Dell PowerEdge – /opt/dell/toolit/systems/drm_files/apply bundles.sh is invalid

How to fix Dell Deployment Toolkit “apply bundles.sh is invalid” 1. ALT+F2 (new terminal console) 2. lsblk (information about disks and partitions) 3. mount /dev/sdXY /opt/dell/toolkit/systems 4. cd /opt/dell/toolkit/systems/drm_files 5. ./apply_bundles.sh

24 Bře

chown -R root:root /

Hezké sobotní dopoledne. Myšlenkama už si vidím někde venku na procházce, ale na jednom ze serverů potřebuji ještě dodělat nějaké nastavení. Utahuji šrouby a měním práva na adresáři. Do konzole ťukám „chown -R root.root /“. 600 ms ticha a pak bolestivý záblesk v hlavě. S hrůzou v očích si uvědomuji tu fatální chybu. Nechtěl jsem […]

30 Říj

HowTo: Decrypt Qnap XMail XMCrypt passwords

telnet localhost 6017 admin_username[TAB]admin_password[RETURN] userlist[RETURN] Passwords are displayed in cleartext…

16 Zář

Courier IMAP & POP3 – regenerate SSL certificates on Debian GNU Linux

# rm -f /etc/courier/imapd.pem # rm -f /etc/courier/pop3d.pem # vi /etc/courier/imapd.cnf # vi /etc/courier/pop3d.cnf # mkimapdcert # mkpop3dcert # /etc/init.d/courier-imap-ssl restart # /etc/init.d/courier-pop-ssl restart

26 Kvě

HellSpy Download Manager – dekódování souboru users

Dnes jsem od kolegy – soudního znalce – dostal zajímavý úkol. Potřeboval dekódovat soubor users, do kterého HellSpy Download Manager ukládá informace o přihlášeném uživateli. Byla by to práce na pět minut, kdybych si z dekompilovaných souborů špatně neopsal salt… Pro dekódování uloženého jména a hesla je možné použít níže uvedený PHP skript. < ?php […]

21 Čvc

Autorádio Blaukpunkt VW Alfa a hláška Safe (aneb jak jsem hackoval autorádio)

Moje žena dostala společně s autem originální autorádio VW alpha (=> Blaukpunkt 815, VWZ1Z1Y9174547, 6X0 035 153). Autorádio dlouho a bez problému sloužilo než bylo nahrazeno jiným (s linkovým vstupem, podporou USB,…). Staré rádio jsem ale nechtěl vyhazovat – bylo opravdu bezproblémové a předpokládal jsem, že by ještě někomu mohlo udělat radost (i když již […]

18 Bře

HowTo block facebook with iptables

Insert these lines into your firewall: iptables -t filter -I FORWARD -s 192.168.0.0/24 -m tcp -p tcp -m iprange –dst-range 66.220.144.0-66.220.159.255 –dport 443 -j REJECT –reject-with tcp-reset iptables -t filter -I FORWARD -s 192.168.0.0/24 -m tcp -p tcp -m iprange –dst-range 69.63.176.0-69.63.191.255 –dport 443 -j REJECT –reject-with tcp-reset iptables -t filter -I FORWARD -s 192.168.0.0/24 […]

09 Čvn

Generování Self-Signed Certifikátu skriptem

Už mě to nebaví pořád psát, takže: #!/bin/bash SERVER_NAME=$1 OPENSSL_PATH=/usr/bin/openssl $OPENSSL_PATH genrsa -des3 -out $SERVER_NAME.key 1024 $OPENSSL_PATH genrsa -out $SERVER_NAME.key 1024 $OPENSSL_PATH rsa -in $SERVER_NAME.key -out $SERVER_NAME.pem $OPENSSL_PATH req -new -key $SERVER_NAME.pem -out $SERVER_NAME.csr $OPENSSL_PATH x509 -req -days 365 -in $SERVER_NAME.csr -signkey $SERVER_NAME.pem -out $SERVER_NAME.crt

Hodžův blog is is proudly powered by Wordpress and the Magellan Theme