Entries

How to start, stop and restart apache2 service (daemon) in Devuan Linux running on OpenRC?

My Devuan Linux system is running with OpenRC init system, that's why I cannot user systemctl command. Instead of this, I'm calling init.d command and can start, stop, restart and get status information regarding all running services. For example, I've installed Apach2 server and I want to stop it. Then I run following command, stopping Apach2:

$ /etc/init.d/apache2 stop

output:

[ ok ] Stopping Apache httpd web server: apache2.

It will stop Apache2 from running. We can check it this way:

$ /etc/init.d/apache2 status
/etc/init.d/apache2 status
[FAIL] apache2 is not running ... failed!

Read more

Written by Administrator on Tuesday May 5, 2020

How to list running services in Devuan Linux (OpenRC)

As you know, Devuan Linux is using a little bit different init system, than other Linux distros. OpenRC is a service manager is a dependency-based init system that works with the system-provided init program.

To list all running services, just run a following command:

$ rc-status

my output:

Read more

Written by Administrator on Tuesday May 5, 2020

How to install tinyproxy on Devuan Linux

Tinyproxy is famous for being light-weight HTTP/HTTPS proxy daemon for POSIX operating systems. It's small and fast application and it is an ideal solution for systems with restricted resources.

Installation is very easy and fast. Just run a following command in terminall:

$ sudo apt-get install tinyproxy

That's all!

Read more

Written by Administrator on Tuesday May 5, 2020

How to brute-force .hccapx file using hashcat (Brute-force attack) in openSUSE Linux [with screenshots]

Once you have captured WPA handshake and you've got .cap file, you have to convert given .cap file to .hccapx file format in order to brute force it. There're a lot of approaches, how to successfully crack wi-fi passwords. You never know, what is the structure of a password a surely you won't have enough equipment to crack a long password. In my case I'm trying to brute-force a password supposing it's only 8 digits long, because I know exactly, that the owner of a modem is using a model, which has by default only 8-digits password.

Yes, there's a possibility, that he configured his wi-fi modem manually and changed a password for more secure one, but there's also a chance he's just using it "as is". My computer will crack 8-digits long password in several minutes and I'm going to try to do it. In case I'm not successful, I will think about using dictionaries, because cracking even 8 character long password (digits, letters, capitals, special symbols) will take me years to crack.

Read more

Written by Administrator on Tuesday May 5, 2020

How to convert .cap into .hccapx using cap2hccapx in openSUSE Linux

First of all you have to install cap2hccapx application on you computer. cap2hccapx is one of the utilities of hashcat-utils tools. Once you got it and you've grabbed .cap file, you just run a following command:

$ sudo ./cap2hccapx.bin /home/dima/hs/HUAWEIE5372F9EE_E2-19-1D-82-F9-EF.cap /home/dima/hs/HUAWEI_5372.hccapx

All you need is cap2hccapx app and .cap file.

Resut of running above mentioned command:

convert .cap to .hccapx in openSUSE Linux

Read more

Written by Administrator on Tuesday May 5, 2020

How to remove (uninstall) simple-scan app from Linux Lite (Ubuntu)?

If you dont' need simple-scan application (known as "Scanner" app in your main menu) in your system, you can easily remove it by running a following command:

$ sudo apt purge simple-scan

output:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  fonts-hosny-amiri fonts-sil-scheherazade linux-headers-4.15.0-88 linux-headers-4.15.0-88-generic linux-headers-4.15.0-91
  linux-headers-4.15.0-91-generic linux-image-4.15.0-88-generic linux-image-4.15.0-91-generic linux-modules-4.15.0-88-generic
  linux-modules-4.15.0-91-generic linux-modules-extra-4.15.0-88-generic linux-modules-extra-4.15.0-91-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  simple-scan*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 1,303 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 391612 files and directories currently installed.)
Removing simple-scan (3.28.0-0ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for libglib2.0-0:i386 (2.56.4-0ubuntu0.18.04.6) ...
Processing triggers for libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.6) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...

Read more

Written by Administrator on Tuesday May 5, 2020

How to install hashcat on Devuan Linux

Hashcat is a part of standard repository of Devuan Linux, so installation is very fast and easy:

$ sudo apt-get install hashcat

my output:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  hashcat-data
The following NEW packages will be installed:
  hashcat hashcat-data
0 upgraded, 2 newly installed, 0 to remove and 25 not upgraded.
Need to get 2,279 kB of archives.
After this operation, 52.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.devuan.org//merged ascii/main amd64 hashcat-data all 3.30-1 [2,041 kB]
Get:2 http://deb.devuan.org//merged ascii/main amd64 hashcat amd64 3.30-1 [238 kB]
Fetched 2,279 kB in 19s (117 kB/s)                                             
Selecting previously unselected package hashcat-data.
(Reading database ... 105983 files and directories currently installed.)
Preparing to unpack .../hashcat-data_3.30-1_all.deb ...
Unpacking hashcat-data (3.30-1) ...
Selecting previously unselected package hashcat.
Preparing to unpack .../hashcat_3.30-1_amd64.deb ...
Unpacking hashcat (3.30-1) ...
Setting up hashcat-data (3.30-1) ...
Setting up hashcat (3.30-1) ...
Processing triggers for man-db (2.7.6.1-2) ...

Read more

Written by Administrator on Tuesday May 5, 2020

How to install an ocl-icd-libopencl1 package on Devuan Linux

In case you are installing software and missing ocl-icd-libopencl package (unresolved dependancies), you can install it using terminal by running a following command:

$ sudo apt update
$ sudo apt install ocl-icd-opencl-dev

But even in this case some of you installation can be broken, so we have to fix those installation by running a command:

$ sudo apt --fix-broken install

Read more

Written by Administrator on Tuesday May 5, 2020

How to change root password in Linux Lite?

Common security and privacy approaches are working not only in corporate sphere. Even you as a regular admin of your home system, have to follow security policites to make your system secure. Even in case you administrate your system not under root user (using only sudo command to make needed operations), you have to change your root password from time to time. Linux Lite is an Ubuntu based linux distribution and considering your intense to change root password, it works the same way like in other linux system.

Only thing you have to do is to run following command in your terminal:

$ passwd

change root password in Linux Lite

Read more

Written by Administrator on Monday May 4, 2020

How to sort files in folder from the biggest to smallest

Command ls in Linus is very powerful and you can list files any way you want using proper parameters. In case we want to sort files in a folder by size descending, we run a following command:

$ ls -S

This command show all files in a folder and list them descending by file size, but there's a problem, which we will explain in an article below. It's good to write about commands and outputs, but the best way, from my point of view, is to show everything on a real example (I tried it on openSUSE Linux, but ls is a command, which works in every Linux distro, so don't be afraid something will work different way on your system.

Read more

Written by Administrator on Saturday May 2, 2020