Category Archives: Linux

Top 5 Pen Testing Linux Distros

What is Pen Testing ?
Pen Testing a.k.a Penetration Testing is an authorized simulated cyber attack on a server/website/computer system performed to evaluate the security of the system. The test is performed to identify vulnerabilities of a computer system or website or server.

How to install Oracle JAVA in Kali Linux ?

Java Installing _ NTK

Java is a general-purpose computer-programming language that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible. To run Java programs on our Kali Linux machine we will need to have the JDK (Java Development Kit). We can install Oracle Java in our Kali Linux with various ways. But today we will learn a simple way to install and use Oracle Java.

First you need to download the latest version (or your desire version) of Java from Oracle official website.
Download link : https://www.oracle.com/technetwork/java/javase/downloads/index.html

Go to the link and choose your Java JDK version and download the .tar.gz file for Linux 86/64.

For me I have downloaded JDK 8u191 for my 64 Bit Kali Linux. After completing download, go to your download directory and extract the .tar.gz file to your desire location (for me its /opt/). You can extract .tar.gz file by using GUI or you can use command for that.
For GUI, just select the .tar.gz file and click right button your mouse, then choose Extract To.. option and specify your desire directory.

You can extract .tar.gz file by using below command

tar xvzf jdk-8u191-linux-x64.tar.gz -C /opt/

You can replace /opt/ with your desire directory/path.

Now, we need to registers the downloaded version of Java as an alternative, and switches it to be used as the default. For this run below commands one by one

update-alternatives –install /usr/bin/java java /opt/jdk1.8.0_191/bin/java 1
update-alternatives –install /usr/bin/javac javac /opt/jdk1.8.0_191/bin/javac 1
update-alternatives –set java /opt/jdk1.8.0_191/bin/java
update-alternatives –set javac /opt/jdk1.8.0_191/bin/javac

You need to replace /opt/jdk1.8.0_191/ with your Java Installation path where you extracted the .tar.gz file.

Now check your Java version by using below command

java -version

You can also follow this instruction to install Oracle Java on other Debian based Linux distros like Ubuntu, Mint etc.

How to install WPScan on Ubuntu Linux ?

WordPress is the most popular Content Management System (CMS). Millions of websites are powered by WordPress software and there’s a reason for that. WordPress is the most developer-friendly content management system out there, so you can essentially do anything you want with it. However, nowadays many WordPress sites are getting hacked by some bad genius. So WordPress user need to make sure that they don’t have any vulnerable plugins or themes for our WordPress site.

WPScan is a black box WordPress Security Scanner written in Ruby which attempts to find known security weaknesses within WordPress installations. Its intended use it to be for security professionals or WordPress administrators to asses the security posture of their WordPress installations. The code base is Open Source and licensed under the GPLv3. Today I will show you how you can install WPScan on Ubuntu Linux.

As I told above WPScan is Open Source and anybody can use/modify it. WPScan is hosted on Github, so if it is not already installed we will need to install the git packages before we can continue.

If you don’t have git installed on your Ubuntu Linux then please install git packages by using below command
sudo apt-get install git
If you already have git packages installed then skip this step.

Once git is installed, we need to install the dependencies for WPScan. So install dependencies by using below command
sudo apt-get install libcurl4-gnutls-dev libopenssl-ruby libxml2 libxml2-dev libxslt1-dev ruby-dev ruby1.9.3

Now we need to clone WPScan package from github. Clone the package with below command..
git clone https://github.com/wpscanteam/wpscan.git

Now we need to install necessary ruby gems for bundler. For this navigate to newly created wpscan directory.
cd wpscan

Use below command to install necessary ruby gems.
sudo gem install bundler && bundle install --without test development

Now you can check WPScan by using below command
wpscan --version

If it will return an output like below then WPScan has been installed correctly.

Now WPScan is ready to scan WordPress vulnerable themes, plugins etc.

10 Well Known Linux Distributions

Linux is one of the most popular operating system. We sometimes talk about Linux as if it were one, single operating system, but of course, it really comes in hundreds of different flavors. Linux is open source and that is why developers can customize the code to meet a variety of unique needs.

In this article, we’ll take a look at 20 of the most well-known distributions of the Linux OS. If you’ve been using Linux for a while, you’re probably familiar with the major distributions, but you might find some others you haven’t encountered that are worth checking out.

If you don’t know what Linux is then you can check out my previous article : What is Linux OS ?

1. Ubuntu

Ubuntu is produced by Canonical and the community in a meritocratic governance model. Canonical provides free guaranteed security updates and support for each Ubuntu release, starting from the release date and until the release reaches its predesignated end-of-life (EOL) date. It’s available in desktop, server and cloud editions.
At this moment Ubuntu 18.04 version is available and check out the recommended requirements for Ubuntu 18.04 Desktop version

  • 2 GHz dual core processor or better
  • 2 GB system memory
  • 25 GB of free hard drive space
  • Either a DVD drive or a USB port for the installer media
  • Internet access is helpful

Download Ubuntu : https://www.ubuntu.com/download

2. Linux Mint

If you didn’t use Linux before then you can start using Linux with Linux Mint. Linux Mint is a community-driven Linux distribution based on Debian and Ubuntu that strives to be a modern, elegant and comfortable operating system which is both powerful and easy to use. Currently Linux Mint 19 is available for download and check out the system requirements for this distro

  • 1GB RAM (2GB recommended for a comfortable usage).
  • 15GB of disk space (20GB recommended).
  • 1024×768 resolution (on lower resolutions, press ALT to drag windows with the mouse if they don’t fit in the screen).

Download Linux Mint : https://www.linuxmint.com/download.php

3. Arch Linux

Arch Linux is a Linux distribution for computers based on x86-64 architectures. It’s one of the most popular Linux Distribution and its recommended for hardcore Linux users.
System requirements for Arch Linux desktop

  • A x86_64 (i.e. 64 bit) compatible machine
  • Minimum 512 MB of RAM (recommended 2 GB)
  • At least 1 GB of free disk space (recommended 20 GB for basic usage)
  • An active internet connection

Download Arch Linux : https://www.archlinux.org/download/

4. Fedora

Fedora is a Linux distribution developed by the community-supported Fedora Project and sponsored by Red Hat.

Minimum system requirements for Fedora

  • 1GHz or faster processor
  • 1GB System Memory
  • 10GB unallocated disk space

Download Fedora : https://getfedora.org/en/workstation/

5. Kali Linux

Kali Linux is a Debian-derived Linux distribution designed for digital forensics and penetration testing. It is maintained and funded by Offensive Security Ltd. Its not recommended for new Linux user.
System requirements for Kali Linux

  • Kali Linux required a minimum of 10 GB hard disk space for installation.
  • A minimum of 512MB Ram for i386 and amd64 architectures.

Download Kali Linux : https://www.kali.org/downloads/

6. Manjaro Linux

Manjaro Linux, or simply Manjaro, is an open source operating system for computers. It is a distribution of Linux based on the Arch Linux distribution.

System requirements for Manjaro Linux

  • 1 gigabyte (GB) of memory
  • 30 gigabytes (GB) of hard disk space
  • 1 gigahertz (Ghz) processor
  • A high definition (HD) graphics card and monitor

Download Manjaro Linux : https://manjaro.org/get-manjaro/

7. Kubuntu

Kubuntu is an official flavour of the Ubuntu operating system which uses the KDE Plasma Desktop instead of the GNOME desktop environment.

System Requirements

  • 1 GHz dual core processor or better.
  • 2 GB of system memory (RAM)
  • 10 GB of free disk space (the more hard disk capacity, the better)
  • VGA capable of 1024×768 screen resolution. If desktop effects are desired, a supported GPU is required.

Download Kubuntu : https://kubuntu.org/getkubuntu/

8. Tails

ails is a privacy-oriented Linux distro which has the aim of concealing your location and identity as much as possible. This OS routes all its internet traffic through the anonymising Tor network, which is designed to prevent data from being intercepted and analysed.
System requirements for Tails

  • Either an internal or external DVD reader or the possibility to boot from a USB stick.
  • Tails requires a 64-bit x86-64 compatible processor: IBM PC compatible and others but not PowerPC nor ARM. Mac computers are IBM PC compatible since 2006. Tails does not run on most tablets and phones.
  • 2 GB of RAM to work smoothly. Tails is known to work with less memory but you might experience strange behaviours or crashes.

Download Tails : https://tails.boum.org/

9. CentOS

CentOS 7 is a community offshoot of the Enterprise version of Red Hat Linux, and its focus is on stability rather than constant updates. Like Red Hat, security and maintenance updates for CentOS are pushed out up to 10 years from the initial release of each version.

System requirements for CentOS HP-UX 11

  • HP 9000 architecture with an Itanium CPU
  • 256 MB minimum RAM /1 GB RAM for large environments
  • 300 MB of disk space minimum for a typical deployment
  • 2 GB minimum for larger environments
  • 4 GB minimum for very large environments (more than a million entries)

Download TCentOS : https://www.centos.org/download/

10. openSUSE

Previously known as SUSE Linux and subsequently SuSE Linux Professional, openSUSE is aimed at developers and system administrators. For that reason, it’s extremely stringent on security protocols. It is widely used throughout the world.

System requirements for openSUSE

  • Pentium* 4 1.6 GHz or higher processor (Pentium 4 2.4 GHz or higher or any AMD64 or Intel64 processor recommended)
  • Main memory: 1 GB physical RAM (2 GB recommended)
  • Hard disk: 3 GB available disk space for a minimal install, 5 GB available for a graphical desktop (more recommended)
  • Sound and graphics cards: supports most modern sound and graphics cards, 800 x 600 display resolution (1024 x 768 or higher recommended)

Download TCentOS : https://www.opensuse.org/

Some more distros :

  • Deepin >> https://www.deepin.org/en/
  • Bodhi Linux >> https://www.bodhilinux.com/
  • Budgie >> https://budgie-desktop.org/home/
  • Mandriva Linux >> https://www.openmandriva.org/
  • Sabayon Linux >> https://www.sabayon.org/
  • CrunchBang Linux >> https://www.bunsenlabs.org/
  • Pinguy OS >> https://pinguyos.com/
  • NixOS >> https://nixos.org/
  • BackBox >> https://backbox.org/
  • Lunar Linux >> http://www.lunar-linux.org/

Conclusion
There are hundreds of Linux Distributions are available for desktop, mobile, laptop and so on. If you want you can check more distros here : https://distrowatch.com/
Use the search option and you will get more then 500 distros.

What is Linux OS ?

Have you heared about Linux ? If you are not a newbie computer or internet user then you must heared about Linux. Today I will try to talk about Linux in this article.

What is Operating System ?
An operating syste (OS) is a system software. OS is the program that after being initially loaded into computer by a boot program. An OS manage all the other programs in a computer. The other programs are called application programs. The application programs make use of the operating system by making requests for services through a defined application program interface (API). In addition, users can interact directly with the operating system through a user interface such as a command line or a graphical user interface (GUI). All major computer platforms (hardware and software) require and sometimes include an operating system.

Linus Torvalds

What is Linux ?

Now you know about OS and lets talk about Linux. Linux is a free open source Operating System. The history of Linux began in 1991 with the commencement of a personal project by Finnish student Linus Torvalds to create a new free operating system kernel. Since then, the resulting Linux kernel has been marked by constant growth throughout its history. When the term “Linux” is used, it refers to the Linux operating system as a whole. However, it can refer to just the Linux kernel as well. The Linux kernel is the core or the heart of the operating system. It’s the layer that sits between the hardware and applications

Where you can get Linux ?
As I told above that Linux is free and open source. You can download and use linux wihout paying any bucks ! But if you want you can donate some bucks to the linux developer team, however its depend on you.
Nowadays there are lots of Linux Distors are available for Desktop, Mobile, Laptop and so on. Here are some popular distros..

Want to know more about available Linux Distros ? Feel free to search on Google for Linux Distros. There are lots of distros and I can’t list all of theme here !! I have just listed most popular Linux Distros.