Author: Alex

How to block by Referer, User Agent, URL, query string, IP and their combinations in mod_rewrite

As part of the fight against the influx of bots to the site (see the screenshot above), I had to refresh my knowledge of mod_rewrite. Below are examples of mod_rewrite rules that allow you to perform certain actions (such as blocking) for users who meet a large number of criteria at once – see the most recent example to see...

How to disable autostart of programs and services in Windows

Auto-loading programs and services that you are not using is a waste of system resources. The automatic launch of a large number of programs can slow down your computer. This article will show you how to check which programs start automatically when you turn on your computer and disable those you don't need. In addition to programs, we will also...

libpcap-dev for Cygwin

When compiling programs from source in Cygwin, an error may occur containing the line “when searching for -lwpcap”. The essence of the error is that the headers of the pcap library are searched. These header files are present in the libpcap-dev package (Debian and derivatives). This package may also be called libpcap (for example, on Arch Linux). There are no...

How to manage services on Windows

What are services Services are a kind of programs that run in the background and do not require user input. Services can either be specific to the Windows operating system or be third-party applications. Examples of services that the user can install himself: web server, VNC remote desktop server, SSH server, MySQL server. You can manage services: in the graphical...

Configuring Apache Web Server to Run Perl Programs on Windows

Perl scripts can be run in the Apache environment in the same way as PHP scripts. To do this, you need to make a small setting. I installed the web server according to this instruction, if you installed according to a different instruction, then edit the paths to suit your values. 1. Installing Perl on Windows Download Perl for Windows...

How to install John the Ripper and Johnny on Windows with GPU support

John the Ripper is a password cracking program that can brute-force passwords for many types of files: archives, office documents, can crack network protocol hashes, and much more. John the Ripper is a command line utility, so using it requires command line skills and knowledge of John the Ripper options. Johnny is a graphical interface for John the Ripper that...

Redirect to HTTPS not working in WordPress

This is not an obvious problem, because for some pages the redirect to HTTPS works, but for some it does not. I ran into this problem on WordPress quite by accident. Therefore, if you are a webmaster with WordPress sites, then I would recommend that you check your sites too. Redirecting from HTTP to HTTPS is quite simple, you need...

How to prevent NetworkManager and other programs from modifying the /etc/resolv.conf file

The /etc/resolv.conf file contains a list of DNS servers that are used to resolve hostnames to IP addresses. NetworkManager, which is responsible for making network connections, automatically changes the contents of this file. The replacement takes place without notifying the user and can lead to unpleasant consequences – for example, causing a DNS leak, which negatively affects anonymity. It can...

How to find out which process is modifying a file

Linux has an auditing platform that lets you know when files or/and folders is being accessed, modified, or executed. You can also monitor changes in entire directories. How to install auditd (auditctl) On Debian, Linux Mint, Kali Linux, Ubuntu and their derivatives, to install, run the command: sudo apt install auditd In Arch Linux, Manjaro, BlackArch and their derivatives, this...

How to Update HackRF One Firmware (SOLVED)

To check the version of the installed software and HackRF firmware, run the command: hackrf_info As you can see, the version of the software installed on this computer is now 2021.03.1: hackrf_info version: 2021.03.1 libhackrf version: 2021.03.1 (0.6) And firmware version 2018.01.1: Firmware Version: 2018.01.1 (API:1.02) You can make sure that this is the latest software version on this page:...
Loading...
X