Pages

Tuesday, December 19, 2017

Fedora 27 : Firefox and selinux : sepolgen tool .

To writing the actual policy for SELinux application, you can get many of the permissions your application needs by running.
First test if is installed into your Fedora distro.
I used Fedora 27 with SELinux set Enforcing.
If your application is named my_app then use this command:
sepolgen --init  /path/to/my_app
The result of this command will be this:
app.fc
my_app.sh
my_app.if
my_app_selinux.spec
my_app.te
If your application will be a rpm package, you can delete app.spec and app.sh.
The file with extension .te is a Type Enforcement file.

About this five files, the Linux help tells us:

Type Enforcing File NAME.te 
This file can be used to define all the types rules for a particular domain.

Note: Policy generated by sepolicy generate will automatically add a permissive DOMAIN
 to your te file. When you are satisfied that your policy works, you need to remove 
the permissive line from the te file to run your domain in enforcing mode.

Interface File NAME.if 
This file defines the interfaces for the types generated in the te file, which can 
be used by other policy domains.

File Context NAME.fc 
This file defines the default file context for the system, it takes the file types 
created in the te file and associates file paths to the types. Tools like restorecon
 and RPM will use these paths to put down labels.

RPM Spec File NAME_selinux.spec 
This file is an RPM SPEC file that can be used to install the SELinux policy on to
 machines and setup the labeling. The spec file also installs the interface file and
 a man page describing the policy. You can use sepolicy manpage -d NAME to generate 
the man page.

Shell File NAME.sh 
This is a helper shell script to compile, install and fix the labeling on your test 
system. It will also generate a man page based on the installed policy, and compile
 and build an RPM suitable to be installed on other machines
Open the my_app.te file will see something like this:
policy_module(my_app, 1.0.0)

########################################
#
# Declarations
#

type my_app_t;
type my_app_exec_t;
init_daemon_domain(my_app_t, my_app_exec_t)

# Please remove this once your policy works as expected.
permissive my_app_t;

########################################
#
# my_app local policy
#
allow my_app_t self:fifo_file rw_fifo_file_perms;
allow my_app_t self:unix_stream_socket create_stream_socket_perms;

domain_use_interactive_fds(my_app_t)
files_read_etc_files(my_app_t)
auth_use_nsswitch(my_app_t)
miscfiles_read_localization(my_app_t)
sysnet_dns_name_resolve(my_app_t)

The first line uses the name of the binary and will be the name of the policy and the version.
policy_module(my_app, 1.0.0)
The nest rows come with this:

type my_app_t;
type my_app_exec_t;
init_daemon_domain(my_app_t, my_app_exec_t)
- the unique type to describe this application is my_app_t.
- SELinux tells us we’ll be executing this file with my_app_exec_t.
- this program will run as a service: init_daemon_domain(my_app_t, my_app_exec_t).

The next row is about log permission errors ( but let the application continue to run).
permissive my_app_t;

The next rows show how the application use file permissions and if the application will use Unix steam.
Don't change it , you can get a google search to see more examples with this type of allow.
allow my_app_t self:fifo_file rw_fifo_file_perms;
allow my_app_t self:unix_stream_socket create_stream_socket_perms;

Abou this rows:
domain_use_interactive_fds(my_app_t)
files_read_etc_files(my_app_t)
auth_use_nsswitch(my_app_t)
miscfiles_read_localization(my_app_t)
sysnet_dns_name_resolve(my_app_t)

The domain_use_interactive_fds and term_use_all_terms support operations where SSH allocates a tty for the user( example the allow fifo_file supports the opposite).
The my_app want to read from /etc folder with files_read_etc_files.
The auth_use_nsswitch also can adds rules allowing access to NIS/YPBIND ports.
The miscfiles_read_localization is about localization code.

To better understand this tutorial, you can create a folder in your home directory and then test it with a different application from Fedora 27.
One good example: sepolgen --init /opt/firefox .

Sunday, December 17, 2017

Fedora 27 : Go and atom editor.

The Go programming language was created at Google in 2009 by Robert Griesemer, Rob Pike, and Ken Thompson.
The Go often referred to as golang is a programming language created at Google.
Using go with Fedora 27 is very simple , just install it with dnf tool.
#sudo dnf install golang
To use it with atom editor you need to install the atom editor , see this tutorial.
The next step is to set the atom editor with the packages for go programming language, like:
  • go-plus
  • go-get
  • go-imports
  • platformio-ide-terminal
The go command come with this help:
Go is a tool for managing Go source code.

Usage:

go command [arguments]
The commands are:

build       compile packages and dependencies
clean       remove object files
doc         show documentation for package or symbol
env         print Go environment information
bug         start a bug report
fix         run go tool fix on packages
fmt         run gofmt on package sources
generate    generate Go files by processing source
get         download and install packages and dependencies
install     compile and install packages and dependencies
list        list packages
run         compile and run Go program
test        test packages
tool        run specified go tool
version     print Go version
vet         run go tool vet on packages
Use "go help [command]" for more information about a command.

Additional help topics:

c           calling between Go and C
buildmode   description of build modes
filetype    file types
gopath      GOPATH environment variable
environment environment variables
importpath  import path syntax
packages    description of package lists
testflag    description of testing flags
testfunc    description of testing functions
The next step is to install your packages with go command and get:
go get -u golang.org/x/tools/
go get -u github.com/golang/lint/golint
Let's make a simple example:
package main
import "fmt"
func main() {
    fmt.Println("Hello world !")
}
Let's test it with go command. To run the program, create a file named hello-world.go put the code in and use go run:
$ go run hello-world.go
hello world
If you want to build our programs into binaries, we can do this using go build :
$ go build hello-world.go
$ ls
hello-world hello-world.go
Finally, we can then execute the built binary directly.
$ ./hello-world
hello world
After I searched the internet I found a website with many examples and I recommend it. You can find him here.

Thursday, December 14, 2017

Fedora 27 : Using atom editor with teletype.

The atom editor is a very good free and open-source text and source code editor for macOS, Linux, and Microsoft Windows.
This editor come with support for plug-ins written in Node.js, and embedded Git Control, developed by GitHub and more features.
Today I will show you how to install this tool with teletype into Fedora 27 distro linux.
Go to the Atom homepage from your web browser and click to download the RPM version.
Use this command to install it:
$sudo su 
#cd Download 
# dnf install atom.x86_64.rpm
Let's see this install:


The next step is to use teletype from atom.

Just install the teletype package into atom editor into settings area.
The teletype tool introduces the concept of real-time "portals" for sharing workspaces.
This tool uses WebRTC to encrypt all communication between collaborators.
Use the teletype with one click on the radio tower icon in the Atom status bar.
This will open a dialog into the right of the screen and ask you for teletype token.
You can get this token from here.
After you put the token then use the check button to share your content and atom teletype will get a ID.
Just share this ID with your development team to share your work.

Tuesday, December 12, 2017

Fedora 27 : About Cockpit linux tool.

About the Cockpit the official website tell us:
Cockpit makes Linux discoverable, allowing sysadmins to easily perform tasks such as starting containers, storage administration, network configuration, inspecting logs and so on.
If you use Fedora 27 the this tool can be used very easy.
If your Fedora Spin don't come with this tool then you can install it with this command:
#dnf -y install cockpit
First you need to follow this steps:
- starting Cockpit requires only a single command:
#systemctl start cockpit
- we’ll configure it to start on boot with:
#systemctl enable cockpit.socket
- you can check the status of Cockpit with:
#systemctl status cockpit
- the Cockpit tool runs on port 9090, so you’ll need to allow it through the firewall with this command:
#firewall-cmd --add-service=cockpit
- or simply add with the open port with:
#firewall-cmd --permanent --add-port=9090/tcp
- you now should reload the firewall for the rule to take effect:
#firewall-cmd --reload
Testing is the next step by log into Cockpit from your localhost (your server’s IP address) with your server’s root credentials.
Once you logged in you’ll see the Dashboard web page containing information about the server itself and graphs showing CPU and Memory Usage as well as Disk I/O and Network Traffic.
Let's see the Dashboard:
  • System come with infos about your system;
  • Logs displays the server’s system and service logs. That allows you to click on any entry for more detailed information, such as the process ID. 
  • Storage gives you a graphical look at disk reads and writes, and also allows you to view relevant logs. Also, you can set up and manage RAID devices and volume groups, and format, partition, and mount/unmount drives. 
  • Networking contains an overview of inbound and outbound traffic, logs and network interface information. You also can configure the network interface from this page. 
  • Containers allows you to manage your Docker containers. You can search for new containers, add or remove containers, start and stop them, and set runtime variables on this page. 
  • Accounts lets you to : add and manage users, set up and change passwords, and add and manage public SSH keys for each user. 
  • Services lists all services, and clicking on any entry takes you to a detail page showing the service log and allowing you to start/stop, enable/disable, reload/isolate, or mask/unmask each service.
  • Terminal let you a fully functional terminal, with tab completion, allowing you to perform any task you could perform through its web interface.This come with the same privileges your login credentials would allow via SSH.
You can take a look at documentation for Cockpit to learn more about this tool.

Friday, December 8, 2017

Fedora 27 : Firefox and selinux intro .

Today I made a summary of selinux.
This is a protection and security utility in linux operating systems.
It is quite complex and requires a little guidance in learning.
The basic thing is to secure a grid that matches the security gaps.
The tutorial today simply exemplifies how you can change these rules.
First, check with these commands for the status of selinux:
#getenforce
#sestatus
#sestatus -b
#cat /etc/selinux/config
#ls -lZ /usr/bin/firefox
#chcon -v -t user_home_t /user/bin/firefox
This will change the selinux target type to user_home_t . That will allow firefox to run with this label (like that users) are allowed to read/write and manage. This is the default label for all content in a users home directory. This last command try to prevent confined applications from being able to read and write this content just from users home.

Thursday, December 7, 2017

Fedora 27 : Testing Swift with Fedora linux .

I tested today a simple instalation of this package: dnf install swift.
This install come with all additional packets required for running .
This is an application ...
First, I thought in the first phase that they implemented a programming language from Apple .
Take a look at this screenshot:

Saturday, December 2, 2017

Fedora 27 : Test install with dotnet from microsoft.

Today I test how to install dotnet from Microsoft team development with Fedora 27.
The Microsoft team come with RedHat packages version - 7.3 and is an old type of packages.
They show us this old way how to deal with this issue , see this link.
I used this command lines into sudo user:
#rpm --import https://packages.microsoft.com/keys/microsoft.asc
#sh -c 'echo -e "[packages-microsoft-com-prod]\nname=packages-microsoft-com-prod 
\nbaseurl=https://packages.microsoft.com/yumrepos/microsoft-rhel7.3-prod\nenabled=1
\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > 
/etc/yum.repos.d/dotnetdev.repo'
#dnf update
#dnf install libunwind libicu compat-openssl10
#dnf install dotnet-sdk-2.0.2
#dotnet new console -o myApp
#cd myApp
#dotnet run
As you can see the dotnet working well with Fedora 27.
I would have preferred a classic dnf installation for reasons of later incompatibility.
This fact only indicates a tangential interest and a clear reason in microsoft capabilities to cover dotnet's area of interest versus linux distributions.

Saturday, November 25, 2017

Fedora 27 : Nettacker tool .

This tool for internet of things is a network of physical objects such as household devices.
This goal let Nettacker tool to automated for information gathering, vulnerability scanning and eventually generating report for networks, including services, bugs, vulnerabilities, misconfigurations and information. Is able to use SYN, ACK, TCP, ICMP and many other protocols to detect and bypass the Firewalls/IDS/IPS and devices.
The project is at the moment in research and development phase and most of results/codes are not published yet.
  • is a IoT Scanner - Internet of Things Scanner;
  • Python Multi Thread and Multi Process Network Information Gathering Vulnerability Scanner;
  • Service and Device Detection ( SCADA, Restricted Areas, Routers, HTTP Servers, Logins and Authentications, None-Indexed HTTP, Paradox System, Cameras, Firewalls, UTM, WebMails, VPN, RDP, SSH, FTP, TELNET Services, Proxy Servers and Many Devices like Juniper, Cisco, Switches and more);
  • Network Service Analysis;
  • Services Vulnerability Testing;
  • Services Brute Force Testing;
  • HTTP/HTTPS Crawling, Fuzzing, Information Gathering and more;
  • Python and Nmap Module Version [ .nse  Lua language ];
  • HTML and text outputs;
How to install into fedora 27.
git clone https://github.com/Nettacker/Nettacker.git
cd Nettacker
pip install -r requirements.txt
python nettacker.py -h
If you run it you will see the help of this tool:

Let's test it:
python nettacker.py --graph d3_tree_v1_graph' -i 127.0.0.1 -m all
The result of this is show in the next image:

Wednesday, November 22, 2017

Fedora 27 : the Docker platform .

The Docker team company tell us:

Docker is the company driving the container movement and the only container platform provider to address every application across the hybrid cloud. Today’s businesses are under pressure to digitally transform but are constrained by existing applications and infrastructure while rationalizing an increasingly diverse portfolio of clouds, datacenters and application architectures. Docker enables true independence between applications and infrastructure and developers and IT ops to unlock their potential and creates a model for better collaboration and innovation.

The Docker platform come many features, so let's see them:
  • use containers; 
  • containers are lightweight;
  • containers are standalone packages;
  • each containers contain everything needed to run an application (code, libraries, runtime, system settings, and dependencies);
  • the biggest difference between a container and a virtual machine: containers is not a full-blown operating system platform;
  • applications are isolated in containers;
  • docker come with: Pricing Plans;
Let's start with the installation and testing of the docker (you need a sudo account):
#sudo dnf install docker
#newgrp docker
#sudo groupadd docker && sudo gpasswd -a ${USER} docker && sudo systemctl restart docker
#sudo usermod -a -G docker $USER
#sudo systemctl start docker
#sudo systemctl enable docker
#sudo systemctl stop docker
#sudo systemctl restart docker

This commands will install docker with dnf tool and will add your user to group docker.
The command with systemctl is used to test the docker services.
You can test the docker by searching and start applications:
#sudo docker search hello-world
#sudo docker run hello-world

The result of the run hello-world is this:

Tuesday, November 21, 2017

Fedora 27 : load81 simple lua game engine .

Today I tested something simple with Fedora 27 and scheduling in.
This is a SDL based Lua programming environment for children called load81.

The author teel us:

The name Load81 originates from the fact that in popular Commodore home computers the command LOAD "*",8,1 would load the first program on the disk starting from the file-specified memory location.

Load81 is written in ANSI C and uses SDL and SDL_gfx and SDL_image libraries.
I installed all these libraries and everything worked very well.
Once taken from github with clones I tested the examples in the examples folder and worked well from the first time.
The examples folder come with simple examples and some simple games.
Create your lua script and use this command to run it:
./load81 example.lua
All running scripts require a graphical display account.
They worked very well on my normal account and I got a run-time error on my root account.
From examples, I took the triangles.lua script to illustrate how this game engine looks and works.

function setup()
    background(0,0,0);
end

function draw()
    fill(math.random(255),math.random(255),math.random(255),math.random())
    triangle(math.random(WIDTH),math.random(HEIGHT),
             math.random(WIDTH),math.random(HEIGHT),
             math.random(WIDTH),math.random(HEIGHT))
end

This is screenshot of triangles.lua script:

Monday, November 20, 2017

Fedora 27 : lua programming with torch and love 2d.

The Lua programming language is a good programming tool to start and test your programming skills.
Lately, the capabilities of computers and computer networks have increased exponentially.
The programming language allows the user simple programming possibilities with essential advantages.
I will illustrate some programs and frameworks that may be of special interest to you:
  • Wireshark has an embedded Lua interpreter and you can be used to write dissectors (to decode packet data), post-dissectors and taps;
  • Torch is a scientific computing framework with wide support for machine learning algorithms;
  • Love 2D is a framework for making 2D games for windows, linux and android;
Today I start with install lua , torch and love 2D.
This work very well. If you use root accont then love command will work only with display SDL. This means you have to use a normal user, not a root user.
I used dnf install tool for lua and love 2d and github for torch.
The result can be seen in the following screenshots:

Thursday, November 16, 2017

News: About the new Fedora 27 .

Today I tried to make a simple installation of Fedora 26 which I did without problems.
After that, the software update come with the option to upgrade all of your Fedora system software to the new Fedora 27.
The work of the Fedora team is appreciated for the work being done to create this new version.
For those who have been following the evolution of the design team over the course of Fedora's development, they will see evolution and quality in the new Fedora design.
Most software used by me was implemented without errors and everything seems to work very well.
Here are some screenshots made during the installation process:

Saturday, November 4, 2017

News: Tor Browser - version 7.5a7 .

The famous browser named Tor come with the new version 7.5a7 and is now available for our macOS and Linux users.
This browser can be used with Microsoft Windows, Apple MacOS, or GNU/Linux and come for both 32/64-bit OS.
The Tor project has now announced a significant set of changes to their anonymity network which involves next-generation crypto algorithms, improved authentication schemes, and redesigned directory.
The list with changes can be seen here and the news can be read on the blog of Tor project.

Sunday, October 29, 2017

News: The new released Fresh IDE .

The reputable IDE for FASM named Fresh comes on 29.10.2017 06:47:22 with new news.
As you know, this can be used with the Linux and Windows operating system.
You can download it from here.
The development team comes with this new content:
Quick bugfix release. The description for v2.6.0 is still valid. Read below. 
The download links are updated. Download again and update your installation, if you downloaded v2.6.0.

Monday, September 25, 2017

Fedora 26 - test kernel .

You can test the kernel with your Fedora distro and get a funny badge of science:
Science (Kernel Tester I).
$ git clone https://git.fedorahosted.org/git/kernel-tests.git
$ cd kernel-tests
$ sh runtests.sh

This is my tests of Fedora 26 logs :
  • 4.14.0-0.rc1.git2.1.fc28.x86_64  FAIL logs
  • 4.13.0-0.rc7.git0.1.fc28.i686+PAE PASS logs
  • 4.14.0-0.rc1.git3.1.fc28.i686 PASS logs
  • 4.13.3-300.fc27.x86_64 FAIL logs
  • 4.13.3-300.fc27.i686+PAE PASS logs
  • 4.12.14-300.fc26.x86_64 PASS logs
  • 4.12.14-300.fc26.i686+PAE PASS logs
  • 4.12.14-200.fc25.x86_64 PASS logs
  • 4.12.14-200.fc25.i686+PAE PASS logs

Friday, September 22, 2017

News: The new Krita 3.3.0 .

The new Krita come for Linux users with 64 bits Linux: krita-3.3.0-rc1-x86_64.appimage.
As you know: the AppImage is a format for distributing portable software on Linux without needing superuser permissions to install the application. About this new release then this new Krita comes with some improvements and features:
  • support for the Windows 8 event API;
  • hardware-accelerated display functionality to optionally use Angle on Windows instead of native OpenGL;
  • some visual glitches when using hi-dpi screens are fixed
  • several new command line options;
  • the performance improvements and selections are fixed;
  • the system information dialog for bug reports is improved
You can read more about this release here.

Thursday, September 21, 2017

Fix Xmarks Bookmark Sync to Opera browser.

The Xmarks Bookmark Sync is a good web tool to manage all your browser bookmarks.
The official website of Xmarks come with extension just for Firefox, Google Chrome, Internet Explorer and Safari.
This can be fix on Opera browser with another extension named download chrome extension.
Using this extension you can install on Opera browser many extensions from Google Chrome.

Saturday, September 9, 2017

Fedora 26 : Installation of dotnet .

Today I tested the dotnet with Fedora 26.
This is the way to install dotnet on Fedora 26 distro using dnf and copr :

Thursday, September 7, 2017

News: New release of PulseAudio.

As we already know: PulseAudio is a network sound server and works well with the Linux operating system.
Now a new version has been released.

PulseAudio 11.0 release notes:
  • Support for newer AirPlay hardware
  • USB and Bluetooth devices preferred over internal sound cards
  • The default sink and source configuration is remembered better
  • Bluetooth HSP headset role implemented
  • Bluetooth HFP audio gateway role implemented (requires oFono)
  • Bluetooth HSP audio gateway and HFP hands-free unit roles can be enabled simultaneously
  • Upmixing can now be disabled without bad side effects
  • Avoid having unavailable sinks or sources as the default
  • Option to avoid resampling more often
  • Option to automatically switch Bluetooth profile to HSP more often
  • Better latency regulation in module-loopback
  • Changed module argument names in module-ladspa-sink and module-virtual-surround-sink
  • Fixed input device handling on Windows
  • Improved Bluetooth MTU configuration (warning! this causes some hardware to not work anymore, see the details below for how to fix it)
  • GNU Hurd support
  • Applications can request LADSPA or virtual surround filtering for their streams
  • Support for 32-bit applications on 64-bit systems 

Wednesday, September 6, 2017

Fedora 26 : The install of PyCharm IDE .

Today I make a new test with PyCharm IDE for python development on linux.
It video show the installation of PyCharm on the Fedora 26 operating system.
As you know , PyCharm is free, open-source and come with a Lightweight IDE for Community.
You can buy it but you will have the Professional Full-featured IDE.

Saturday, September 2, 2017

Fedora 26 : using Huion Giano WH1409 graphic tablet .

If you want to use your Huion Giano WH1409 graphic tablet with Fedora 26 then you need to use DKMS kernel.
Let's start. First you need to have a github account to download this kernel.
Use this commands to install the DKMS kernel from digimend.
$su 
#dnf install dkms git-core 
#git clone https://github.com/DIGImend/digimend-kernel-drivers.git /usr/src/digimend-6
#dkms build digimend/6
#dkms install digimend/6
Now connect the wireless USB dongle and reboot your computer. Take a look at dkms status:
dkms status
If you use VirtualBox then I tested with last version of VirtualBox and works without any settings.
If you want to set your tablet keys then you make custom X11 rules .
First is need to go to this folder: /usr/share/X11/xorg.conf.d/.
Now create 50-huion.conf file and use the configuration tool xsetwacom.
I don't make this settings because the tablet work's good with inkscape software.

Monday, August 28, 2017

Fedora 26 : the MuseScore software.

The development team come with this option for us:
Create, play and print beautiful sheet music

Is about the MuseScore software and music.

  • First, this software come with this features: 
  • Professional music notation software 
  • Completely free, no limitations 
  • Easy to use, yet powerful 
  • Open source Input via MIDI keyboard 
  • Transfer to and from other programs via MusicXML, MIDI and more
You can also make an account on the official website or just use the software. I simply installed it in Fedoar 26 with the dnf tool .
# dnf install mscore
The result is working well, see the next image:

Tuesday, August 15, 2017

News: Google with all features and options.

Not all Google options are available for all countries.
You should make a selection option depending on country and availability.
This will relieve us of unsuccessful attempts and queries to Google.
Here are all the Google options available now.

Tuesday, August 8, 2017

News: Faces of Open Source - website .

I have just discovered today this website named FACES OF OPEN SOURCE.
The development team tells us: Faces of Open Source is an on-going photographic documentation of the people behind the development and advancement of the open source revolution that has transformed the technology industry.
The area is:
  • UNIX 
  •  BSD 
  •  Linux
  •  Languages 
  •  X Windows
They also want to get a book on this subject.

Saturday, August 5, 2017

Fedora 26 : Firefox Test Pilot send large files.

This tool from the Firefox team let you send you to upload and encrypt large files (up to 1GB) to share online.
This creates a link to pass along to whoever you want.
Each link created by Send will expire after 1 download or 24 hours, and all sent files will be automatically deleted from the Send server.
Also, the Firefox Test Pilot send does not require an add-on, and can be used in any modern browser.
See the next video from the official youtube channel.

Tuesday, August 1, 2017

Fedora 26 : Install Google Chrome.

Today I try to install Google Chrome on Fedora 26.
As you know this is one of the fastest and most well liked browsers available.
First I download of the rpm file into my Downloads folder and the I used dnf command to install into Fedora 26:
$ cd ~/Downloads
$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
$ su 
# dnf install google-chrome-stable_current_x86_64.rpm
The result, the Google Chrome browser is installed and run well.

Fedora 26 : reset root password .

Although most believe that they know the answer to this question then in Fedora 26 you have to adopt a method other than the classic one.
Start with select the boot line and press e key to edit.
Find the line with linux16 and add this on the end of this row:

rd.break
Press Ctr+x or F10 keys to reboot.
#mount | grep root
#mount -o remount,rw /sysroot
#mount | grep root
#chroot /sysroot/
#passwd root
...
#touch /.autorelabel
#exit
#reboot

Now you can use the new password for user root to login the system.
I try the old way with init=/bin/bash but I got a panic kernel ( maybe is the SELinux performs a complete file system relabel).
Anyway this solve my problem with reset the root password on Fedora 26 Server.

About rd.break, this interrupt the boot process before control is passed from initramfs to systemd.
The disadvantage of this method is that it requires more steps, includes having to edit the GRUB menu, and involves choosing between a possibly time consuming SELinux file relabel or changing the SELinux enforcing mode and then restoring the SELinux security context for /etc/shadow/ when the boot completes.

Wednesday, July 26, 2017

News: Adobe is planning to end-of-life Flash.

According to this article, Adobe is planning to end-of-life Flash.

This will happen at the end of 2020 and encourage content creators to migrate any existing Flash content to these new open formats.
Adobe will also remain fully committed to working with partners ( Apple, Facebook, Google, Microsoft and Mozilla) to maintain the security and compatibility of Flash content.

The article was posted by ADOBE CORPORATE COMMUNICATIONS ON 

Monday, July 17, 2017

News: Mozilla try recognition systems .

The recognition systems improve the more people use them, but they are closed systems so no one other than Apple, Amazon, or Google.
The project named Project Common Voice website includes an option to donate your voice.
If you opt to do so, a number of sentences will be popped up in your web browser for you to say. Once recorded, you can play them back to check they are acceptable before submitting them to help the voice recognition engine learn.
You need to read a sentence to help our machine learn how real people speak.
The area of interest for this project come with demographic data. You can try this project on the official website.

Saturday, July 15, 2017

News: Google startup program .

This is a new way to start your Google work.
This is a great idea from google maybe some team will agree with this help.
The goals from the Google team to do that is:
FEATURES:
  • GCP and Firebase Credits 
  • Office Hours 
  • 24/7 Support 
  • G Suite Online Training 
  • Advertising for Startups 
The credits come with:
SPARK PACKAGE Get $20,000 in credit for 1 year. Credit can be applied to all Google Cloud Platform and Firebase products.
SURGE PACKAGE Get $100,000 in credit for 1 year. Credit can be applied to all Google Cloud Platform and Firebase products.

Fedora 26 server 64bit - tested VM.

I install Fedora 26 into simple way with the Netinstall Image (64-bit 484MB ) from here.
I used the last VirtualBox to test this Fedora 26 net image.
It took some time because the hardware used is without the dedicated video card and an I5 processor. The basic idea of this test was to see how to install it.
It's interesting to watch: the number of packages installed per time unit, the startup steps for the base installation and the work environment.
The other steps are more complex because it matters what you want to do with this linux. It depends on how much you want to adapt it to your hardware machine or whether you will make it a web server, ftp, sftp or a graphics rendering or video rendering station.
The total installation time in VirtualBox was one hour and seven minutes. The resulting video was modified by changing the number of frames for a faster viewing, (from 72 to 172).
The reason was the first steps to install Fedora not to set a specific linux server.
I use linux command under root account to install and set Fedora 26:
#dnf update 
#dnf upgrade 
#dnf grouplist 
#dnf grouplist -v
#dnf install @cinnamon-desktop
#dnf -y group install "Fedora Workstation"
#dnf install setroubleshoot
#sestatus
#sestatus -v
#getenforce
#dnf install clamtk
#echo "exec /usr/bin/cinnamon-session" >> ~/.xinitrc
#startx
Let's see the record video of this test install :

Friday, July 14, 2017

News: Send files on WhatsApp.

The WhatsApp software lets users share multimedia content, but you can't send files directly to other users.
If you wanted to send unsupported file formats like .apk, .zip etc, you had to rename the file to a supported file format.
For example, if you wanted to send the apk for your favorite app, you’d rename it such that it ends with .txt. I tested with Whatsapp™ For PC extension - Opera add-ons and works great.
I send a document file (.doc) with an approximate size of 5 Mb, without any interruption of the connection and a fluid transfer to the application.

Note:

You need to know also, there’s a limit of 100 MB to any attachment.
The executable file is not allowed ( like: .exe, .dll).
Meanwhile, messaging app Telegram is still leading the pack when it comes to file size restrictions — it has supported 1.5 GB files since its launch.

Monday, July 3, 2017

News: Linux kernel 4.12 released .


On 2 July, Linus Torvalds released the kernel 4.12, and it is available for download on kernel.org.
Linux 4.12 provides support for USB Type C in the form of a port management - that provides the correct power consumption.
Some significant changes are once again from the AMD-GPU driver.
About Data Integrity Protection, the device mapper driver receives an extension called dm_integrity to check the integrity of encrypted data on block devices and to protect it in the long term.
Read more about this news here.

Wednesday, June 7, 2017

DB Browser - tool for databases.

Also is a good tool for learning and test database queries.
About this tool the development team tells us:

DB Browser for SQLite is a high quality, visual, open-source tool to create, design, and edit database files compatible with SQLite. It is for users and developers wanting to create databases, search, and edit data. It uses a familiar spreadsheet-like interface, and you don't need to learn complicated SQL commands. 
  • Controls and wizards are available for users to: 
  • Create and compact database files 
  • Create, define, modify and delete tables 
  • Create, define and delete indexes 
  • Browse, edit, add and delete records Search records 
  • Import and export records as text 
  • Import and export tables from/to CSV files Import and export databases from/to SQL dump files 
  • Issue SQL queries and inspect the results 
  • Examine a log of all SQL commands issued by the application
Under Fedora distro, the package is named: SQLite browser.
To install it just use this:
$ sudo dnf install sqlitebrowser
You can use also with this OS: Windows, macOS X, OSX 10.8 (Mountain Lion) - 10.12 (Sierra), Linux (Arch Linux, Fedora and Ubuntu, and Derivatives).

Wednesday, May 24, 2017

Best password management tool.

This suite of tools come with many features free and one good premium option.
The Password Tote tools provides secure password management through software and services on multiple platforms and work very well with software downloads for Windows, Mac OS X, Safari, Chrome, Firefox, iOS (iPhone, iPod Touch, iPad), Android.
You can download this from downloads page.

Features OutlineFreePremium
Website Access
Browser Extensions
Desktop Software
Mobile Software
Password Sharing
YubiKey Support
PriceFree$2.99 a month or 2 Years at a 16% savings
DescriptionThis will allow you to use the website version completely free. It also gives you access to fill your passwords from the browser extensions. It does not provide access to the desktop software or mobile phone software.Premium gives you access to your passwords from all versions of Password Tote, including the desktop software and mobile phone versions.

Synchronization between browser extensions and utilities is fast and does not confuse the user in navigation. Importing files is fast for the csv file dedicated to dozens of passwords.
A very good aspect was the compromise solution for custom import with a generic csv file.
The utility generates this file and you can fill it with the necessary login data for your web sites.
The other csv import options did not work for me, I guess the problems are incompatible with the other files exported by the dedicated software.
I used it with YubiKey and it worked very well. It's the only utility that allowed me to connect with YubiKey, the other utilities demand a premium version.

How to enable YubiKeys and password tote.
  • First log in to your Password Tote account. 
  • Click Account, then Manage YubiKeys. You will arrive at the YubiKey Management page. 
  • Click Add YubiKey to register your YubiKey with your Password Tote account. 
  • Fill in the required details. If successful, your YubiKey will be displayed in the list as shown in the screen shot below.

Tuesday, May 23, 2017

The tool Noodl for design and web development.

This tool will help you understand something about data structuring, node building, web development and design.
This application comes with interactive lessons and documentation.
Note: I tested some lessons and are not very easy. Thus, some links between the nodes do not appear with all the labels, unless they are made inversely, in this case on the work surface the links are no longer one-way (with the arrow arrow) but only punctually between the nodes.
It can be downloaded here for the following operating systems :
  • Version 1.2.3 (MacOS)
  • Version 1.2.3 (Win x64 Installer)
  • Version 1.2.3 (Linux x86 64)
Let's see the default interface of Noodl application.

Sunday, May 7, 2017

The JetBrains I.D.E. software .

I tested the JetBrains Rider, the emerging .NET I.D.E. from JetBrains in the past.
Is good and this is new into the I.D.E. area of development.
What is this software? 
The JetBrains Rider is a new .NET I.D.E. based on the IntelliJ platform and ReSharper.
First I take a look into my Fedora distro to see it is something about JetBrains:
[root@localhost mythcat]# dnf search jetbrains
Last metadata expiration check: 1:19:59 ago on Tue Feb 21 12:42:57 2017.
============================ N/S Matched: jetbrains ============================
jetbrains-annotations-javadoc.noarch : Javadoc for jetbrains-annotations
jetbrains-annotations.noarch : IntelliJ IDEA Annotations
I download the archive from the official website. I extract all files ...
[mythcat@localhost ~]$ cd Rider-171.3085.362/bin/
[mythcat@localhost bin]$ ll
total 7120
-rw-r--r--. 1 mythcat mythcat    2568 Feb 15 23:02 backend-log.xml
-rwxr-xr-x. 1 mythcat mythcat     217 Feb 15 23:02 format.sh
-rwxr-xr-x. 1 mythcat mythcat   23072 Feb 15 23:02 fsnotifier
-rwxr-xr-x. 1 mythcat mythcat   29648 Feb 15 23:02 fsnotifier64
-rwxr-xr-x. 1 mythcat mythcat   26453 Feb 15 23:02 fsnotifier-arm
-rw-r--r--. 1 mythcat mythcat   10491 Feb 15 23:02 idea.properties
-rwxr-xr-x. 1 mythcat mythcat     268 Feb 15 23:02 inspect.sh
-rw-r--r--. 1 mythcat mythcat 3449944 Feb 15 23:02 libyjpagent-linux64.so
-rw-r--r--. 1 mythcat mythcat 3679036 Feb 15 23:02 libyjpagent-linux.so
-rw-r--r--. 1 mythcat mythcat    4138 Feb 15 23:02 log.xml
-rwxr-xr-x. 1 mythcat mythcat     410 Feb 15 23:02 printenv.py
-rwxr-xr-x. 1 mythcat mythcat     590 Feb 15 23:02 restart.py
-rw-r--r--. 1 mythcat mythcat     359 Feb 15 23:02 rider64.vmoptions
-rw-r--r--. 1 mythcat mythcat    9222 Feb 15 23:02 rider.png
-rwxr-xr-x. 1 mythcat mythcat    6619 Feb 15 23:02 rider.sh
-rw-r--r--. 1 mythcat mythcat     367 Feb 15 23:02 rider.vmoptions
After that, I started with rider.sh script:
[mythcat@localhost bin]$ ./rider.sh 
[YourKit Java Profiler 2016.02-b43] Log file: /home/mythcat/.yjp/log/Rider10-17590.log
Feb 21, 2017 2:05:43 PM java.util.prefs.FileSystemPreferences$6 run
WARNING: Prefs file removed in background /home/mythcat/.java/.userPrefs/prefs.xml
Installation home directory: /home/mythcat/Rider-171.3085.362
System directory: /home/mythcat/.Rider10/system
Config directory: /home/mythcat/.Rider10/config
Log directory: /home/mythcat/.Rider10/system/log
Full cold solution load with caches took 22053 milliseconds.
The result of this command was great.
This software come with a good wizard interface.
The application has many ways to deal with your source code and settings for any user. The colors of this software are ergonomic for users. They are:
  • Memory: 4 GB or higher
  • Operating system:
    • Windows 10, 8.1, 8 or 7. 64-bit distributions only.
    • OS X 10.10+. 64-bit distributions only.
    • Linux. 64-bit distributions only.

Thursday, April 20, 2017

Fedora 25 and fix python modules.

This tutorial is a simple way to fix your python modules under Fedora distro.
I used Fedora 25 and python 2.7.13 version.
First try to use this command:
pip freeze --local | grep -v '^\-e' | cut -d = -f 1  | xargs -n1 pip install -U
This command will try to update based by:
  • to skip "-e" package definitions;
  • the newer versions of pip allow you to list outdated python modules;
  • added -n1 to xargs, prevents stopping everything if updating one python module fails;
If you got this error about Python.h error:
...fatal error: Python.h...
Use this command to install the development library of Python:
[root@localhost mythcat]# dnf install python-devel.x86_64 python-devel.i686
Try to install also the devel libs for each error include.
Another example is this lib: opensslv.h
So install this:
[root@localhost mythcat]# dnf install openssl-devel.x86_64 
Last metadata expiration check: 1:58:33 ago on Thu Apr 20 18:52:10 2017.
Dependencies resolved.
================================================================================
 Package              Arch          Version                Repository      Size
================================================================================
Installing:
 openssl-devel        x86_64        1:1.0.2k-1.fc25        updates        1.5 M

Transaction Summary
================================================================================
Install  1 Package

Total download size: 1.5 M
Installed size: 3.1 M
Is this ok [y/N]: y
Downloading Packages:
openssl-devel-1.0.2k-1.fc25.x86_64.rpm          580 kB/s | 1.5 MB     00:02    
--------------------------------------------------------------------------------
Total                                           394 kB/s | 1.5 MB     00:03     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : openssl-devel-1:1.0.2k-1.fc25.x86_64                        1/1 
  Verifying   : openssl-devel-1:1.0.2k-1.fc25.x86_64                        1/1 

Installed:
  openssl-devel.x86_64 1:1.0.2k-1.fc25                                          

Complete!
Try to run again the first command:
pip freeze --local | grep -v '^\-e' | cut -d = -f 1  | xargs -n1 pip install -U
See the first result of list outdated python modules:
[root@localhost mythcat]# pip list --outdated --format=freeze
CCColUtils==1.4
cryptography==1.5.3
evdev==0.6.1
fedmsg==0.18.2
ipykernel==4.5.2
M2Crypto==0.25.1
matplotlib==1.5.2rc2
mercurial==3.8.1
mysqlclient==1.3.7
psutil==4.3.0
pycryptopp==0.6.0.1206569328141510525648634803928199668821045408958
pyopencl==2015.2
pyOpenSSL==16.0.0
pyxattr==0.5.3
requests-kerberos==0.10.0
service-identity==14.0.0
Sphinx==1.5.3
SQLAlchemy==1.1.6
Tempita==0.5.1
tornado==4.4.2
Twisted==16.3.0
txZMQ==0.7.4
After this steps the result is this:
[root@localhost mythcat]# pip list --outdated --format=freeze
mysqlclient==1.3.7
pyopencl==2015.2
pyxattr==0.5.3
I will fix this next time.

Tuesday, April 18, 2017

The GUI for Clam antivirus - clamtk .

Today I will show you how to use a GUI for clam antivirus named clamtk.
The ClamTk is a graphical front-end for ClamAV using Perl and Gtk libraries.
[root@localhost mythcat]# dnf search clamtk
Last metadata expiration check: 1:24:49 ago on Tue Apr 18 17:01:00 2017.
============================= N/S Matched: clamtk ==============================
clamtk.noarch : Easy to use graphical user interface for Clam anti virus
First, you need to install it, see all packages need by this GUI:
[root@localhost mythcat]# dnf install clamtk.noarch 
Last metadata expiration check: 1:31:00 ago on Tue Apr 18 17:01:00 2017.
Dependencies resolved.
================================================================================
 Package                     Arch       Version               Repository   Size
================================================================================
Installing:
 clamtk                      noarch     5.24-1.fc25           updates     218 k
 perl-Cairo                  x86_64     1.106-3.fc25          fedora      125 k
 perl-File-Listing           noarch     6.04-13.fc25          fedora       17 k
 perl-Glib                   x86_64     1.321-2.fc25          fedora      364 k
 perl-Gtk2                   x86_64     1.2498-3.fc25         fedora      1.8 M
 perl-HTTP-Cookies           noarch     6.01-13.fc25          fedora       29 k
 perl-HTTP-Negotiate         noarch     6.01-13.fc25          fedora       21 k
 perl-JSON                   noarch     2.90-7.fc25           fedora       98 k
 perl-LWP-Protocol-https     noarch     6.07-1.fc25           updates      16 k
 perl-Locale-gettext         x86_64     1.07-4.fc25           fedora       26 k
 perl-NTLM                   noarch     1.09-13.fc25          fedora       23 k
 perl-Net-HTTP               noarch     6.13-1.fc25           updates      41 k
 perl-Pango                  x86_64     1.227-3.fc25          fedora      190 k
 perl-Test-Simple            noarch     1.302062-1.fc25       fedora      410 k
 perl-Text-CSV               noarch     1.91-4.fc25           updates     103 k
 perl-Time-Piece             x86_64     1.31-385.fc25         updates      88 k
 perl-WWW-RobotRules         noarch     6.02-14.fc25          fedora       22 k
 perl-libwww-perl            noarch     6.15-3.fc25           fedora      208 k

Transaction Summary
================================================================================
Install  18 Packages

Total download size: 3.7 M
Installed size: 10 M
Is this ok [y/N]: y
Downloading Packages:
(1/18): clamtk-5.24-1.fc25.noarch.rpm           517 kB/s | 218 kB     00:00    
(2/18): perl-Glib-1.321-2.fc25.x86_64.rpm       662 kB/s | 364 kB     00:00    
(3/18): perl-Locale-gettext-1.07-4.fc25.x86_64. 296 kB/s |  26 kB     00:00    
(4/18): perl-Gtk2-1.2498-3.fc25.x86_64.rpm      2.3 MB/s | 1.8 MB     00:00    
(5/18): perl-libwww-perl-6.15-3.fc25.noarch.rpm 1.4 MB/s | 208 kB     00:00    
(6/18): perl-JSON-2.90-7.fc25.noarch.rpm        181 kB/s |  98 kB     00:00    
(7/18): perl-Cairo-1.106-3.fc25.x86_64.rpm      439 kB/s | 125 kB     00:00    
(8/18): perl-Pango-1.227-3.fc25.x86_64.rpm      1.7 MB/s | 190 kB     00:00    
(9/18): perl-File-Listing-6.04-13.fc25.noarch.r 204 kB/s |  17 kB     00:00    
(10/18): perl-HTTP-Cookies-6.01-13.fc25.noarch. 375 kB/s |  29 kB     00:00    
(11/18): perl-HTTP-Negotiate-6.01-13.fc25.noarc 250 kB/s |  21 kB     00:00    
(12/18): perl-Test-Simple-1.302062-1.fc25.noarc 1.5 MB/s | 410 kB     00:00    
(13/18): perl-NTLM-1.09-13.fc25.noarch.rpm      160 kB/s |  23 kB     00:00    
(14/18): perl-WWW-RobotRules-6.02-14.fc25.noarc 168 kB/s |  22 kB     00:00    
(15/18): perl-Net-HTTP-6.13-1.fc25.noarch.rpm   315 kB/s |  41 kB     00:00    
(16/18): perl-Time-Piece-1.31-385.fc25.x86_64.r 638 kB/s |  88 kB     00:00    
(17/18): perl-LWP-Protocol-https-6.07-1.fc25.no  77 kB/s |  16 kB     00:00    
(18/18): perl-Text-CSV-1.91-4.fc25.noarch.rpm   297 kB/s | 103 kB     00:00    
--------------------------------------------------------------------------------
Total                                           1.3 MB/s | 3.7 MB     00:02     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : perl-Glib-1.321-2.fc25.x86_64                              1/18 
  Installing  : perl-Net-HTTP-6.13-1.fc25.noarch                           2/18 
  Installing  : perl-Cairo-1.106-3.fc25.x86_64                             3/18 
  Installing  : perl-Pango-1.227-3.fc25.x86_64                             4/18 
  Installing  : perl-Time-Piece-1.31-385.fc25.x86_64                       5/18 
  Installing  : perl-Text-CSV-1.91-4.fc25.noarch                           6/18 
  Installing  : perl-WWW-RobotRules-6.02-14.fc25.noarch                    7/18 
  Installing  : perl-NTLM-1.09-13.fc25.noarch                              8/18 
  Installing  : perl-HTTP-Negotiate-6.01-13.fc25.noarch                    9/18 
  Installing  : perl-HTTP-Cookies-6.01-13.fc25.noarch                     10/18 
  Installing  : perl-File-Listing-6.04-13.fc25.noarch                     11/18 
  Installing  : perl-libwww-perl-6.15-3.fc25.noarch                       12/18 
  Installing  : perl-LWP-Protocol-https-6.07-1.fc25.noarch                13/18 
  Installing  : perl-Test-Simple-1.302062-1.fc25.noarch                   14/18 
  Installing  : perl-Gtk2-1.2498-3.fc25.x86_64                            15/18 
  Installing  : perl-Locale-gettext-1.07-4.fc25.x86_64                    16/18 
  Installing  : perl-JSON-2.90-7.fc25.noarch                              17/18 
  Installing  : clamtk-5.24-1.fc25.noarch                                 18/18 
  Verifying   : clamtk-5.24-1.fc25.noarch                                  1/18 
  Verifying   : perl-Glib-1.321-2.fc25.x86_64                              2/18 
  Verifying   : perl-Gtk2-1.2498-3.fc25.x86_64                             3/18 
  Verifying   : perl-JSON-2.90-7.fc25.noarch                               4/18 
  Verifying   : perl-Locale-gettext-1.07-4.fc25.x86_64                     5/18 
  Verifying   : perl-libwww-perl-6.15-3.fc25.noarch                        6/18 
  Verifying   : perl-Cairo-1.106-3.fc25.x86_64                             7/18 
  Verifying   : perl-Pango-1.227-3.fc25.x86_64                             8/18 
  Verifying   : perl-Test-Simple-1.302062-1.fc25.noarch                    9/18 
  Verifying   : perl-File-Listing-6.04-13.fc25.noarch                     10/18 
  Verifying   : perl-HTTP-Cookies-6.01-13.fc25.noarch                     11/18 
  Verifying   : perl-HTTP-Negotiate-6.01-13.fc25.noarch                   12/18 
  Verifying   : perl-NTLM-1.09-13.fc25.noarch                             13/18 
  Verifying   : perl-WWW-RobotRules-6.02-14.fc25.noarch                   14/18 
  Verifying   : perl-Net-HTTP-6.13-1.fc25.noarch                          15/18 
  Verifying   : perl-LWP-Protocol-https-6.07-1.fc25.noarch                16/18 
  Verifying   : perl-Text-CSV-1.91-4.fc25.noarch                          17/18 
  Verifying   : perl-Time-Piece-1.31-385.fc25.x86_64                      18/18 

Installed:
  clamtk.noarch 5.24-1.fc25                                                     
  perl-Cairo.x86_64 1.106-3.fc25                                                
  perl-File-Listing.noarch 6.04-13.fc25                                         
  perl-Glib.x86_64 1.321-2.fc25                                                 
  perl-Gtk2.x86_64 1.2498-3.fc25                                                
  perl-HTTP-Cookies.noarch 6.01-13.fc25                                         
  perl-HTTP-Negotiate.noarch 6.01-13.fc25                                       
  perl-JSON.noarch 2.90-7.fc25                                                  
  perl-LWP-Protocol-https.noarch 6.07-1.fc25                                    
  perl-Locale-gettext.x86_64 1.07-4.fc25                                        
  perl-NTLM.noarch 1.09-13.fc25                                                 
  perl-Net-HTTP.noarch 6.13-1.fc25                                              
  perl-Pango.x86_64 1.227-3.fc25                                                
  perl-Test-Simple.noarch 1.302062-1.fc25                                       
  perl-Text-CSV.noarch 1.91-4.fc25                                              
  perl-Time-Piece.x86_64 1.31-385.fc25                                          
  perl-WWW-RobotRules.noarch 6.02-14.fc25                                       
  perl-libwww-perl.noarch 6.15-3.fc25                                           

Complete!
By using the mouse with a double-click you can make changes into anti-virus settings.
The first step when opening ClamTK GUI is to select "Update Assistant".
You can choose "I would like to update signatures myself".
You should go back to the home screen of ClamTK and click "Settings"
Also, you can use this GUI to scan, update and analysis your operating system.

Monday, April 17, 2017

Fedora 25 : The YARA tool for Linux security - part 001.

The YARA tool is a multi-platform program running on Windows, Linux and Mac OS X.
The YARA is designed to help malware researchers identify and classify malware samples.
It’s been called for security researchers and everyone else.
Yara provides an easy and effective way to write custom rules based on strings or byte sequences and allows you to make your own detection tools.
You can create descriptions of malware families based on textual or binary patterns or whatever you want to describe.
This descriptions or rules consists of a set of strings and a boolean expression which determine its logic.
The official website can be found here.
The First you need to install the yara tool under your Linux OS.
I used Fedora 25 distro.
[root@localhost mythcat]# dnf install yara
Last metadata expiration check: 0:49:37 ago on Sun Apr 16 22:23:14 2017.
Dependencies resolved.
================================================================================
 Package      Arch           Version              Repository               Size
================================================================================
Installing:
 yara         x86_64         3.5.0-7.fc25         updates-testing         191 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 191 k
Installed size: 861 k
Is this ok [y/N]: y
Downloading Packages:
yara-3.5.0-7.fc25.x86_64.rpm                    171 kB/s | 191 kB     00:01    
--------------------------------------------------------------------------------
Total                                            92 kB/s | 191 kB     00:02     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : yara-3.5.0-7.fc25.x86_64                                    1/1 
  Verifying   : yara-3.5.0-7.fc25.x86_64                                    1/1 

Installed:
  yara.x86_64 3.5.0-7.fc25                                                      

Complete!
Let test it with the basic command:
[mythcat@localhost ~]$ yara
yara: wrong number of arguments
Usage: yara [OPTION]... RULES_FILE FILE | DIR | PID

Try `--help` for more options
[mythcat@localhost ~]$ yara --help
YARA 3.5.0, the pattern matching swiss army knife.
Usage: yara [OPTION]... RULES_FILE FILE | DIR | PID

Mandatory arguments to long options are mandatory for short options too.

  -t,  --tag=TAG                   print only rules tagged as TAG
  -i,  --identifier=IDENTIFIER     print only rules named IDENTIFIER
  -n,  --negate                    print only not satisfied rules (negate)
  -D,  --print-module-data         print module data
  -g,  --print-tags                print tags
  -m,  --print-meta                print metadata
  -s,  --print-strings             print matching strings
  -e,  --print-namespace           print rules' namespace
  -p,  --threads=NUMBER            use the specified NUMBER of threads to scan a directory
  -l,  --max-rules=NUMBER          abort scanning after matching a NUMBER of rules
  -d VAR=VALUE                     define external variable
  -x MODULE=FILE                   pass FILE's content as extra data to MODULE
  -a,  --timeout=SECONDS           abort scanning after the given number of SECONDS
  -k,  --stack-size=SLOTS          set maximum stack size (default=16384)
  -r,  --recursive                 recursively search directories
  -f,  --fast-scan                 fast matching mode
  -w,  --no-warnings               disable warnings
  -v,  --version                   show version information
  -h,  --help                      show this help and exit

Send bug reports and suggestions to: vmalvarez@virustotal.com .
When you use YARA you can use:
  • modules - like extensions to YARA’s core functionality; 
  • external variables; 
  • including files; 
The YARA use rules and this rules are: global rules, private rules, tags and metadata.
The base of the syntax of a YARA rule set is this:
rule RuleName  
{
    strings:
    $test_string1= "Testing"
    $test_string2= {C6 45 ?? ??}
    condition:
    $test_string1 or $test_string2
}
The words strings and Conditions are two important keywords: strings and condition. The rule work with strings and this strings are the unique values to search for, while condition specifies your detection criteria. Some example with con:
all of them       /* all strings in the rule */
any of them       /* any string in the rule */
all of ($a*)      /* all strings whose identifier starts by $a */
any of ($a,$b,$c) /* any of $a, $b or $c */
1 of ($*)         /* same that "any of them" */
You can include also the meta keyword, see:
rule RuleName  
{
   meta:
      author = "Catalin George Festila - rule 001 "
      description = "tell something to the computer"
   strings:
   $test_string1= "first step "
...
The metadata can be referenced using the arg –m option at the command line.
You can add comments to your YARA rules just as if it was a C source file because rules have a syntax that resembles the C language.

Saturday, April 15, 2017

The whiptail tool .

This command let you deal with many display dialog boxes from shell scripts.
The command is named whiptail and you can read and see simple examples with this command here.

Note: --infobox is almost useless in an xterm, because whiptail writes to the other screen xterm makes available but you can use the --msgbox

The tutorial of this day will show you how to put the text from a text file to the screen.
First, you need a text file with a size of your shell screen and this will be used by this command.
For example, I used this text from Wikipedia into my text file named greeting.txt, see content :

The Paschal Greeting, also known as the Easter Acclamation, is an Easter custom among Eastern Orthodox, Oriental Orthodox, and Eastern Catholic Christians. Instead of "hello" or its equivalent, one is to greet another person with "Christ is Risen!" or "The Lord is Risen!", and the response is "Truly, He is Risen," "Indeed, He is Risen," or "He is Risen Indeed" - compare Matthew 27:64, Matthew 28:6 7, Mark 16:6, Luke 24:6, Luke 24:34 In some cultures, such as in Russia and Serbia, it is also customary to exchange a triple kiss of peace on the alternating cheeks after the greeting. Similar responses are also used in the liturgies of other Christian churches, but not so much as general greetings.

To use the whiptail command just use this into your shell:
[mythcat@localhost ~]$ whiptail --textbox  /dev/stdin  19 59  <<<"$(cat greeting.txt)"
The output of this command can be seen into next image:

Linux: tools to scan a Linux server for malware and rootkits.

This tools are: chkrootkit, rkhunter, fuser and ISPProtect. All of this tools can be install under Fedora 25 with dnf tool. First tool is chkrootkit is a classic rootkit scanner. It checks your server for suspicious rootkit processes and checks for a list of known rootkit files.
[root@localhost mythcat]# chkrootkit
ROOTDIR is `/'
Checking `amd'... not found
Checking `basename'... not infected
Checking `biff'... not found
Checking `chfn'... not infected
Checking `chsh'... not infected
Checking `cron'... not infected
Checking `crontab'... not infected
Checking `date'... not infected
Checking `du'... not infected
Checking `dirname'... not infected
Checking `echo'... not infected
...
The Rootkit Hunter named rkhunter is a Unix-based tool that scans for rootkits, backdoors and possible local exploits.
[root@localhost mythcat]# rkhunter --update
[ Rootkit Hunter version 1.4.2 ]

Checking rkhunter data files...
  Checking file mirrors.dat                                  [ No update ]
  Checking file programs_bad.dat                             [ No update ]
  Checking file backdoorports.dat                            [ No update ]
  Checking file suspscan.dat                                 [ No update ]
  Checking file i18n/cn                                      [ No update ]
  Checking file i18n/de                                      [ No update ]
  Checking file i18n/en                                      [ No update ]
  Checking file i18n/tr                                      [ No update ]
  Checking file i18n/tr.utf8                                 [ No update ]
  Checking file i18n/zh                                      [ No update ]
  Checking file i18n/zh.utf8                                 [ No update ]
[root@localhost mythcat]# rkhunter --propupd
[ Rootkit Hunter version 1.4.2 ]
File created: searched for 172 files, found 136
[root@localhost mythcat]# rkhunter -c --enable all --disable none
[ Rootkit Hunter version 1.4.2 ]

Checking system commands...

  Performing 'strings' command checks
    Checking 'strings' command                               [ OK ]

  Performing 'shared libraries' checks
    Checking for preloading variables                        [ None found ]
    Checking for preloaded libraries                         [ None found ]
    Checking LD_LIBRARY_PATH variable                        [ Not found ]

  Performing file properties checks
    Checking for prerequisites                               [ OK ]
    /usr/bin/awk                                             [ OK ]
    /usr/bin/basename                                        [ OK ]
    /usr/bin/bash                                            [ OK ]
    /usr/bin/cat                                             [ OK ]
    /usr/bin/chattr                                          [ OK ]
    /usr/bin/chmod                                           [ OK ]
    /usr/bin/chown                                           [ OK ]
    /usr/bin/cp                                              [ OK ]
...
Another tool is fuser
[root@localhost mythcat]# fuser -vn tcp 5222
...
The output of this command let you to see the recall of anything on your machine that should be listening on tcp port 5222.
[root@localhost mythcat]# fuser -vn tcp 19635
...
This output indicates that there is a process named "foo" running with PID number and listening on port 19635. The last tool is ISPProtect. ISPProtect is a malware scanner for web servers, it scans for malware in website files and CMS systems like Wordpress, Joomla, Drupal

Tuesday, March 28, 2017

The journalctl command.

This is a good Linux command for Linux maintenance.
The first step is to read the documentation:
[root@localhost mythcat]# man journalctl
JOURNALCTL(1)                     journalctl                     JOURNALCTL(1)

NAME
       journalctl - Query the systemd journal

SYNOPSIS
       journalctl [OPTIONS...] [MATCHES...]

DESCRIPTION
       journalctl may be used to query the contents of the systemd(1) journal
       as written by systemd-journald.service(8).

       If called without parameters, it will show the full contents of the
       journal, starting with the oldest entry collected.

       If one or more match arguments are passed, the output is filtered
       accordingly. A match is in the format "FIELD=VALUE", e.g.
       "_SYSTEMD_UNIT=httpd.service", referring to the components of a
       structured journal entry. See systemd.journal-fields(7) for a list of
       well-known fields. If multiple matches are specified matching different
       fields, the log entries are filtered by both, i.e. the resulting output
       will show only entries matching all the specified matches of this kind.
       If two matches apply to the same field, then they are automatically
       matched as alternatives, i.e. the resulting output will show entries
       matching any of the specified matches for the same field. Finally, the
       character "+" may appear as a separate word between other terms on the
       command line. This causes all matches before and after to be combined
       in a disjunction (i.e. logical OR).
       ...
The self-maintenance method is to vacuum the logs.
This helps you with free space into your Linux OS.
For example, I got 3 Gigabytes of data in just 3 days.
# journalctl --vacuum-time=3d
Vacuuming done, freed 3.7G of archived journals on disk. To clean up this you can use the command into several ways:
  • by time
  • journalctl --vacuum-time=2d
  • retain only the past 500 MB
  • journalctl --vacuum-size=500M
As you know: The is an init system used in Linux distributions to bootstrap the user space and manage all processes subsequently. The journald daemon handles all of the messages produced by the kernel, initrd, services, etc. You can use the journalctl utility, which can be used to access and manipulate the data held within the journal. Let's start with some examples: How to see the configuration file for this process:
[root@localhost mythcat]# cat /etc/systemd/journald.conf
Also, you can see the status of this service:
[root@localhost mythcat]# systemctl status  systemd-journald
● systemd-journald.service - Journal Service
   Loaded: loaded (/usr/lib/systemd/system/systemd-journald.service; static; vendor preset: disabled)
   Active: active (running) since Tue 2017-03-28 09:12:20 EEST; 1h 8min ago
     Docs: man:systemd-journald.service(8)
           man:journald.conf(5)
 Main PID: 803 (systemd-journal)
   Status: "Processing requests..."
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/systemd-journald.service
           └─803 /usr/lib/systemd/systemd-journald

Mar 28 09:12:20 localhost.localdomain systemd-journald[803]: Runtime journal (/run/log/journal/) is 8.0M,
max 371.5M, 363.5M free.
Mar 28 09:12:20 localhost.localdomain systemd-journald[803]: Journal started
Mar 28 09:12:22 localhost.localdomain systemd-journald[803]: System journal (/var/log/journal/) is 3.9G,
max 4.0G, 23.8M free.
Mar 28 09:12:23 localhost.localdomain systemd-journald[803]: Time spent on flushing to /var is 915.454ms
I hope this article will help you with Linux maintenance

Friday, March 17, 2017

Measure the charging with Ampere.

This android application let you to know more about your battery.
Just use it to measure the charging and discharging current of your battery.
-
Or, you can also use a hardware device and Fedora 25 to have a great life.

Wednesday, March 15, 2017

Fedora 25: First test with clamav antivirus.

This is a short tutorial about how to use ClamAV antivirus on Fedora 25.
First, you need to install it with this commands:
[root@localhost mythcat]# dnf install clamav.x86_64 
...

[root@localhost mythcat]# dnf install clamav-update.x86_64
...
Make settings into your /etc/freshclam.conf file. I used awk tool to show you my settings from /etc/freshclam.conf:
[root@localhost mythcat]# awk -F: '/^[^#]/ { print $1 }' /etc/freshclam.conf | uniq 
DatabaseDirectory /var/lib/clamav
UpdateLogFile /var/log/freshclam.log
LogFileMaxSize 2M
LogTime yes
LogVerbose yes
LogSyslog yes
LogFacility LOG_MAIL
LogRotate yes
DatabaseOwner clamupdate
DNSDatabaseInfo current.cvd.clamav.net
DatabaseMirror database.clamav.net
MaxAttempts 5
ScriptedUpdates yes
DetectionStatsCountry country-code
SafeBrowsing yes
Update the ClamAV antivirus with :
[root@localhost mythcat]# /usr/bin/freshclam
ClamAV update process started at Wed Mar 15 13:42:07 2017
main.cvd is up to date (version: 57, sigs: 4218790, f-level: 60, builder: amishhammer)
WARNING: getfile: daily-21724.cdiff not found on database.clamav.net (IP: 195.30.97.3)
WARNING: getpatch: Can't download daily-21724.cdiff from database.clamav.net
Trying host database.clamav.net (212.7.0.71)...
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host database.clamav.net (IP: 212.7.0.71)
WARNING: getpatch: Can't download daily-21724.cdiff from database.clamav.net
WARNING: getpatch: Can't download daily-21724.cdiff from database.clamav.net
WARNING: getpatch: Can't download daily-21724.cdiff from database.clamav.net
WARNING: getpatch: Can't download daily-21724.cdiff from database.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
Downloading daily.cvd [100%]
daily.cvd updated (version: 23205, sigs: 1789155, f-level: 63, builder: neo)
Downloading safebrowsing.cvd [100%]
safebrowsing.cvd updated (version: 45693, sigs: 2756150, f-level: 63, builder: google)
Downloading bytecode-279.cdiff [100%]
Downloading bytecode-280.cdiff [100%]
Downloading bytecode-281.cdiff [100%]
Downloading bytecode-282.cdiff [100%]
Downloading bytecode-283.cdiff [100%]
Downloading bytecode-284.cdiff [100%]
Downloading bytecode-285.cdiff [100%]
Downloading bytecode-286.cdiff [100%]
Downloading bytecode-287.cdiff [100%]
Downloading bytecode-288.cdiff [100%]
Downloading bytecode-289.cdiff [100%]
Downloading bytecode-290.cdiff [100%]
Downloading bytecode-291.cdiff [100%]
bytecode.cld updated (version: 291, sigs: 55, f-level: 63, builder: neo)
Database updated (8764150 signatures) from database.clamav.net (IP: 157.25.5.183)
Now you can run it on Fedora 25 folder with this.
[root@localhost mythcat]# clamscan 
/home/mythcat/.bash_logout: OK
/home/mythcat/.bash_profile: OK
...
----------- SCAN SUMMARY -----------
Known viruses: 8758441
Engine version: 0.99.2
Scanned directories: 1
Scanned files: 54
Infected files: 0
Data scanned: 71.80 MB
Data read: 189.96 MB (ratio 0.38:1)
Time: 13.968 sec (0 m 13 s)
This tool comes with many options and features for Fedora workstations and server. Just read the documentation and make your changes. To check all files on the computer, but only display infected files and ring a bell when found:
clamscan -r --bell -i / 
To check files in the all users home directories:
clamscan -r /home 
If you got this error:
LibClamAV Warning: fmap_readpage: pread fail: ... 
Then this comes from sysfs and is a virtual file system provided by the Linux kernel and need to be excluded with this arg:
--exclude-dir="^/sys"
--exclude-dir=^/sys  --exclude-dir=^/dev --exclude-dir=^/proc 
My result of scan ( the file FOUND is not a virus) :
/home/mythcat/devil-linux-1.8.0-rc2-x86_64/install-on-usb.exe: Win.Trojan.Delfiles-17 FOUND

----------- SCAN SUMMARY -----------
Known viruses: 9042471
Engine version: 0.99.2
Scanned directories: 98653
Scanned files: 570740
Infected files: 1
Data scanned: 29750.14 MB
Data read: 48591.70 MB (ratio 0.61:1)
Time: 3819.053 sec (63 m 39 s)

Tuesday, March 14, 2017

QEMU - Devil Linux on Fedora 25.

QEMU (short for Quick Emulator) is a free and open-source hosted hypervisor that performs hardware virtualization QEMU is a hosted virtual machine monitor. You can install this software using dnf tool.
dnf install qemu.x86_64 
You can use any iso image from internet to run and test your distro linux. Just use this command:
I tested with Devil Linux iso without network ( the main reason was the settings of Devil Linux distro).
qemu-system-x86_64 -boot d -cdrom ~/devil-linux-1.8.0-rc2-x86_64/bootcd.iso --enable-kvm -m 2048
 -netdev user,id=user.0
Some args of qemu tool:
- qemu-system-x86_64 is the option for x86 architecture (64 bit);
- boot and -d set options for booting and debug;
- the -cdrom option set the iso file path and file;
- the --enable-kvm enable Kernel Virtual Machine;
- the -m 2048 set memory;
- the -netdev user,id=user.0 that tells us about qemu to use the user mode network stack which requires no administrator privilege to run;  
About QEMU VLAN.
QEMU networking uses a networking technology that is like VLAN. The QEMU forward packets to guest operating systems that are on the same VLAN. Examples with qemu-kvm options:
-net nic,model=virtio,vlan=0,macaddr=00:16:3e:00:01:01 
-net tap,vlan=0,script=/root/ifup-br0,downscript=/root/ifdown-br0 
-net nic,model=virtio,vlan=1,macaddr=00:16:3e:00:01:02 
-net tap,vlan=1,script=/root/ifup-br1,downscript=/root/ifdown-br1
- net nic command defines a network adapter in the guest operating system. - net tap command defines how QEMU configures the host. You can disabling networking entirely:
-net none

Thursday, March 9, 2017

News: WikiLeaks begins its new series of leaks on the U.S. Central Intelligence Agency.

This is a old news and comes from WikiLeaks how to start one new series of leaks on the U.S. Central Intelligence Agency.
For me is another way to show bugs to people.
The article can be found here:
Some software come with new updates to fix bugs - like notepad, see article: Notepad++ 7.3.3 update fixe.

Wednesday, March 8, 2017

Fedora 25: Enable gnome notifications Fedmsg and Openweather.

This tutorial is about gnome environment and notifications.
If you want to see notifications about your work and account under Fedora distro or just to see the weather then you need to deal with this tools.
Take a look to your gnome version and shell version:
[mythcat@localhost ~]$ gnome-about --gnome-version 
Version: 2.32.0
Distributor: Red Hat, Inc
Build Date: 02/04/2016
[mythcat@localhost ~]$ gnome-shell --version 
GNOME Shell 3.22.3
Use the dnf install tool and get this packages:
gnome-weather.noarch : A weather application for GNOME
gnome-weather-tests.noarch : Tests for the gnome-weather package
gnome-shell-extension-openweather.noarch : Display weather information from many
gnome-shell-extension-apps-menu.noarch : Application menu for GNOME Shell
gnome-shell.x86_64 : Window management and application launching for GNOME
gnome-shell-extension-common.noarch : Files common to GNOME Shell Extensions
gnome-tweak-tool.noarch : A tool to customize advanced GNOME 3 options
Use this command to make settings:
[mythcat@localhost ~]$ gnome-tweak-tool
You will see a window with options for enable Fedmsg and Openweather notifications.
After select on option then just use right click to make settings for each extension.

Fedora 25: Install the ffmpeg tools .

Install from web the repos rpmfusion using root account:
# dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
[root@localhost]# dnf install http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
Now with enable the repo all rpmfusion list ffmpeg:
# yum --enablerepo=rpmfusion-* list ffmpeg
Redirecting to '/usr/bin/dnf --enablerepo=rpmfusion-* list ffmpeg' (see 'man yum2dnf')

RPM Fusion for Fedora 25 - Free - Test Updates 1.3 kB/s | 1.9 kB     00:01    
RPM Fusion for Fedora 25 - Nonfree - Updates S 4.8 kB/s | 7.0 kB     00:01    
RPM Fusion for Fedora 25 - Free - Updates Debu 185 kB/s | 331 kB     00:01    
RPM Fusion for Fedora 25 - Nonfree - Test Upda 1.7 kB/s | 2.7 kB     00:01    
RPM Fusion for Fedora Rawhide - Nonfree         91 kB/s | 157 kB     00:01    
RPM Fusion for Fedora Rawhide - Free - Debug   280 kB/s | 521 kB     00:01    
RPM Fusion for Fedora 25 - Free - Source        58 kB/s |  95 kB     00:01    
RPM Fusion for Fedora 25 - Free - Test Updates 9.7 kB/s |  16 kB     00:01    
RPM Fusion for Fedora 25 - Nonfree - Updates D 3.8 kB/s | 5.6 kB     00:01    
RPM Fusion for Fedora Rawhide - Nonfree - Sour  24 kB/s |  37 kB     00:01    
RPM Fusion for Fedora 25 - Free - Updates Sour 143 kB/s |  30 kB     00:00    
RPM Fusion for Fedora 25 - Nonfree             525 kB/s | 144 kB     00:00    
RPM Fusion for Fedora Rawhide - Free           1.1 MB/s | 531 kB     00:00    
RPM Fusion for Fedora 25 - Free - Test Updates  23 kB/s | 3.6 kB     00:00    
RPM Fusion for Fedora 25 - Nonfree - Updates    13 kB/s |  19 kB     00:01    
RPM Fusion for Fedora Rawhide - Free - Source   58 kB/s |  97 kB     00:01    
RPM Fusion for Fedora 25 - Free - Debug        879 kB/s | 380 kB     00:00    
RPM Fusion for Fedora 25 - Nonfree - Debug      41 kB/s |  69 kB     00:01    
RPM Fusion for Fedora 25 - Nonfree - Test Upda 1.7 kB/s | 2.6 kB     00:01    
RPM Fusion for Fedora 25 - Nonfree - Source     22 kB/s |  34 kB     00:01    
RPM Fusion for Fedora 25 - Nonfree - Test Upda 5.4 kB/s | 8.5 kB     00:01    
RPM Fusion for Fedora Rawhide - Nonfree - Debu 241 kB/s |  70 kB     00:00    
RPM Fusion for Fedora 25 - Free - Updates      154 kB/s | 254 kB     00:01    
RPM Fusion for Fedora 25 - Free                288 kB/s | 515 kB     00:01    
Available Packages
ffmpeg.src               3.2.4-1.fc26             rpmfusion-free-rawhide-source
ffmpeg.x86_64            3.2.4-1.fc26             rpmfusion-free-rawhide
Then install ffmpeg:
[root@localhost]# yum --enablerepo=rpmfusion-* install ffmpeg.x86_64
Redirecting to '/usr/bin/dnf --enablerepo=rpmfusion-* install ffmpeg.x86_64' (see 'man yum2dnf')

Last metadata expiration check: 0:00:26 ago on Tue Mar  7 23:40:51 2017.
Dependencies resolved.
===============================================================================
 Package      Arch   Version                      Repository              Size
===============================================================================
Installing:
 ffmpeg       x86_64 3.2.4-1.fc26                 rpmfusion-free-rawhide 1.5 M
 ffmpeg-libs  x86_64 3.2.4-1.fc26                 rpmfusion-free-rawhide 6.2 M
 fribidi      x86_64 0.19.7-2.fc24                fedora                  70 k
 lame-libs    x86_64 3.99.5-6.fc26                rpmfusion-free-rawhide 344 k
 libass       x86_64 0.13.4-1.fc25                fedora                  95 k
 libavdevice  x86_64 3.2.4-1.fc26                 rpmfusion-free-rawhide  83 k
 libmfx       x86_64 1.19-1.20170114gita5ba231.fc25
                                                  updates                 33 k
 libva        x86_64 1.7.3-3.fc25                 updates                 89 k
 ocl-icd      x86_64 2.2.11-1.fc25                updates                 46 k
 opencore-amr x86_64 0.1.3-4.fc24                 rpmfusion-free-rawhide 176 k
 schroedinger x86_64 1.0.11-10.fc24               fedora                 325 k
 vo-amrwbenc  x86_64 0.1.3-1.fc24                 rpmfusion-free-rawhide  76 k
 x264-libs    x86_64 0.148-15.20170121git97eaef2.fc26
                                                  rpmfusion-free-rawhide 574 k
 x265-libs    x86_64 2.2-1.fc26                   rpmfusion-free-rawhide 586 k
 xvidcore     x86_64 1.3.4-2.fc24                 rpmfusion-free-rawhide 262 k

Transaction Summary
===============================================================================
Install  15 Packages

Total download size: 10 M
Installed size: 28 M
Is this ok [y/N]: y
Downloading Packages:
(1/15): x265-libs-2.2-1.fc26.x86_64.rpm        780 kB/s | 586 kB     00:00    
(2/15): ffmpeg-3.2.4-1.fc26.x86_64.rpm         1.6 MB/s | 1.5 MB     00:00    
(3/15): libass-0.13.4-1.fc25.x86_64.rpm        294 kB/s |  95 kB     00:00    
(4/15): fribidi-0.19.7-2.fc24.x86_64.rpm       137 kB/s |  70 kB     00:00    
(5/15): libmfx-1.19-1.20170114gita5ba231.fc25. 418 kB/s |  33 kB     00:00    
(6/15): libva-1.7.3-3.fc25.x86_64.rpm          915 kB/s |  89 kB     00:00    
(7/15): schroedinger-1.0.11-10.fc24.x86_64.rpm 1.3 MB/s | 325 kB     00:00    
(8/15): ocl-icd-2.2.11-1.fc25.x86_64.rpm       401 kB/s |  46 kB     00:00    
(9/15): ffmpeg-libs-3.2.4-1.fc26.x86_64.rpm    3.8 MB/s | 6.2 MB     00:01    
(10/15): lame-libs-3.99.5-6.fc26.x86_64.rpm    2.1 MB/s | 344 kB     00:00    
(11/15): opencore-amr-0.1.3-4.fc24.x86_64.rpm  1.1 MB/s | 176 kB     00:00    
(12/15): vo-amrwbenc-0.1.3-1.fc24.x86_64.rpm   656 kB/s |  76 kB     00:00    
(13/15): xvidcore-1.3.4-2.fc24.x86_64.rpm      1.9 MB/s | 262 kB     00:00    
(14/15): x264-libs-0.148-15.20170121git97eaef2 2.7 MB/s | 574 kB     00:00    
(15/15): libavdevice-3.2.4-1.fc26.x86_64.rpm   694 kB/s |  83 kB     00:00    
-------------------------------------------------------------------------------
Total                                          2.2 MB/s |  10 MB     00:04     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : libva-1.7.3-3.fc25.x86_64                                 1/15 
  Installing  : libmfx-1.19-1.20170114gita5ba231.fc25.x86_64              2/15 
  Installing  : ocl-icd-2.2.11-1.fc25.x86_64                              3/15 
  Installing  : fribidi-0.19.7-2.fc24.x86_64                              4/15 
  Installing  : libass-0.13.4-1.fc25.x86_64                               5/15 
  Installing  : xvidcore-1.3.4-2.fc24.x86_64                              6/15 
  Installing  : x264-libs-0.148-15.20170121git97eaef2.fc26.x86_64         7/15 
  Installing  : vo-amrwbenc-0.1.3-1.fc24.x86_64                           8/15 
  Installing  : opencore-amr-0.1.3-4.fc24.x86_64                          9/15 
  Installing  : lame-libs-3.99.5-6.fc26.x86_64                           10/15 
  Installing  : schroedinger-1.0.11-10.fc24.x86_64                       11/15 
  Installing  : x265-libs-2.2-1.fc26.x86_64                              12/15 
  Installing  : ffmpeg-libs-3.2.4-1.fc26.x86_64                          13/15 
  Installing  : libavdevice-3.2.4-1.fc26.x86_64                          14/15 
  Installing  : ffmpeg-3.2.4-1.fc26.x86_64                               15/15 
  Verifying   : ffmpeg-3.2.4-1.fc26.x86_64                                1/15 
  Verifying   : ffmpeg-libs-3.2.4-1.fc26.x86_64                           2/15 
  Verifying   : x265-libs-2.2-1.fc26.x86_64                               3/15 
  Verifying   : fribidi-0.19.7-2.fc24.x86_64                              4/15 
  Verifying   : libass-0.13.4-1.fc25.x86_64                               5/15 
  Verifying   : schroedinger-1.0.11-10.fc24.x86_64                        6/15 
  Verifying   : libmfx-1.19-1.20170114gita5ba231.fc25.x86_64              7/15 
  Verifying   : libva-1.7.3-3.fc25.x86_64                                 8/15 
  Verifying   : ocl-icd-2.2.11-1.fc25.x86_64                              9/15 
  Verifying   : lame-libs-3.99.5-6.fc26.x86_64                           10/15 
  Verifying   : opencore-amr-0.1.3-4.fc24.x86_64                         11/15 
  Verifying   : vo-amrwbenc-0.1.3-1.fc24.x86_64                          12/15 
  Verifying   : x264-libs-0.148-15.20170121git97eaef2.fc26.x86_64        13/15 
  Verifying   : xvidcore-1.3.4-2.fc24.x86_64                             14/15 
  Verifying   : libavdevice-3.2.4-1.fc26.x86_64                          15/15 

Installed:
  ffmpeg.x86_64 3.2.4-1.fc26                                                   
  ffmpeg-libs.x86_64 3.2.4-1.fc26                                              
  fribidi.x86_64 0.19.7-2.fc24                                                 
  lame-libs.x86_64 3.99.5-6.fc26                                               
  libass.x86_64 0.13.4-1.fc25                                                  
  libavdevice.x86_64 3.2.4-1.fc26                                              
  libmfx.x86_64 1.19-1.20170114gita5ba231.fc25                                 
  libva.x86_64 1.7.3-3.fc25                                                    
  ocl-icd.x86_64 2.2.11-1.fc25                                                 
  opencore-amr.x86_64 0.1.3-4.fc24                                             
  schroedinger.x86_64 1.0.11-10.fc24                                           
  vo-amrwbenc.x86_64 0.1.3-1.fc24                                              
  x264-libs.x86_64 0.148-15.20170121git97eaef2.fc26                            
  x265-libs.x86_64 2.2-1.fc26                                                  
  xvidcore.x86_64 1.3.4-2.fc24                                                 

Complete!
[root@localhost]#
Just test te ffmpeg tools.