Oct 27
2026
Create filter in/etc/fail2ban/filter.d/apache-sensitive.conf
[Definition]
failregex = ^ .* "(GET|POST|HEAD).*\/.*(\.env|\.git|xmlrpc\.php|wp-login\.php|phpinfo\.php|credentials|aws|Dockerfile|composer\.json|composer\.lock).*" (403|404)
ignoreregex =
Add to /etc/fail2ban/jail.local
[apache-sensitive]
enabled = true
filter = apache-sensitive
port = http,https
logpath = /var/log/apache2/*_access.log
findtime = 300
maxretry = 3
bantime = 604800
backend = auto
Mar 5
2025
edit /etc/default/grub
change or aadd:
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
GRUB_DISABLE_OS_PROBER=false
Recreate config
Arch example:
grub-mkconfig -o /boot/grub/grub.cfg
Jun 20
2024
mysqlcheck -u root -p --auto-repair --check --all-databases
Jul 15
2023
Stop openvpn server
List issued certs in
ls -alh /etc/openvpn/easy-rsa/pki/issued
cd /etc/openvpn/easy-rsa
./easy-rsa renew <cert-name>
copy new cert file from /etc/openvpn/easy-rsa/pki/issued
and
new key file from /etc/openvpn/easy-rsa/pki/private
to folder /etc/openvpn
create /etc/openvpn/auth.txt with key’s password
chmod 600 /etc/openvpn/auth.txt
add line to /etc/openvpn/server.conf
askpass /etc/openvpn/auth.txt
start openvpn server
Jun 17
2023
if you see this message
2023-06-17T21:18:24.773384+02:00 git opendkim[317371]: BADFE5FE6B: [192.168.1.25] [192.168.1.25] not internal
2023-06-17T21:18:24.773568+02:00 git opendkim[317371]: BADFE5FE6B: not authenticated
2023-06-17T21:18:24.774566+02:00 git opendkim[317371]: BADFE5FE6B: no signature data
Add to /etc/postfix/main.cf
milter_connect_macros = j {daemon_name} v {if_name} _
milter_mail_macros="i {mail_addr} {client_addr} {client_name} {auth_type} {auth_authen}"
Jun 16
2023
apt -y install php8.2-{apcu,bcmath,bz2,cgi,cli,common,curl,fpm,gd,gmp,igbinary,imagick,imap,intl,ldap,mbstring,mysql,opcache,pgsql,readline,redis,soap,sqlite3,xml,zip}
a2enmod proxy_fcgi setenvif
a2enconf php8.2-fpm
a2disconf php8.1-fpm
systemctl reload apache2
Oct 22
2013
Ściągnięte z wątku: CellPipe 7130 – hasło admina
Wystarczy wyeksportować ustawienia (http://10.0.0.1/backupsettings.html) i przeczytać :).
Hasło w pliku jest zakodowane w base64.
Dekodowanie hasła w linuksie
echo “password” | base64 -d
Jun 21
2012
CLRA:
1) factory reset: EPG + REC + STRZAŁKA W GÓRE
2) hard reset: EPG + RES + STRZAŁKA W DÓŁ
BSLA/BZZB:
1) factory reset: EPG + REC+ STRZAŁKA W GÓRE
2) hard reset: EPG + RES + STRZAŁKA W PRAWO
Jan 9
2012
To use these boot shortcuts or commands, hold down the bolded keypress while your system is booting up. If it does not work, you probably did not start holding down the key (or key combination) soon enough.
shift – Safe Mode
Booting with the shift key depressed starts OS X in Safe Mode with Account preferences ignored and unessential kernal extensions / kexts disabled.
option – Startup Manager
Booting with the option key depressed starts OS X with the Startup Manager which allows the user to select which OS or partition from which to boot.
Mouse button – Eject Media
When the user boots with the mouse key depressed, any media in the drive such as a DVD or CD is ejected.
cmd v – Verbose Boot
If this key command is held down when booting, all the startup messages that are typically hidden will be displayed. This is an excellent method for debugging booting issues.
c – Boot from CD/DVD
Booting with the “C” key held will tell the system to boot directly from a CD/DVD in the drive.
t – Target Mode
If the “T” key is held during the bootup, the computer will be placed in target mode. This basically allows the computer to be accessed by other systems as a FireWire drive. Other computers can read, write, or mount the target mode system just like any other FireWire drive.
Other Bootup Shortcuts —
cmd s – Single User Mode
x – OS X Force boot
r – PowerBook Display Reset
n – Boot up from NetBoot Server