- How To Install chromium on Kali Linux
- What is chromium
- Install chromium Using apt-get
- Install chromium Using apt
- Install chromium Using aptitude
- How To Uninstall chromium on Kali Linux
- Uninstall chromium And Its Dependencies
- Remove chromium Configurations and Data
- Remove chromium configuration, data, and all of its dependencies
- References
- Summary
- Chromium installation in Kali Linux
- HighOn.Coffee
- HowTo: Kali Linux Chromium Install for Web App Pen Testing ∞
- Why use Chromium for Web Application Testing ?
- Kali Install Chromium Browser
- Chromium Won’t Launch on Kali
- Chromium Setup for Web Application Testing
- Complete Chromium Config
- Kali Chromium Error: You Are using an Unsupported Command line flag –disable-web-security. Security and Stability will suffer
- How to Install Google Chrome & Chromium on Kali Linux [Official Method]
- Downloading Google Chrome on Kali Linux
- Other Method to Download the Same
- Installing Google Chrome on Kali Linux
- Installing Chromium on Kali Linux
- Adding Chrome or Chromium on Panel
How To Install chromium on Kali Linux
In this tutorial we learn how to install chromium on Kali Linux.
What is chromium
Web browser that aims to build a safer, faster, and more stable internet browsing experience.
This package contains the web browser component.
There are three ways to install chromium on Kali Linux . We can use apt-get , apt and aptitude . In the following sections we will describe each method. You can choose one of them.
Install chromium Using apt-get
Update apt database with apt-get using the following command.
After updating apt database, We can install chromium using apt-get by running the following command:
sudo apt-get -y install chromium
Install chromium Using apt
Update apt database with apt using the following command.
After updating apt database, We can install chromium using apt by running the following command:
sudo apt -y install chromium
Install chromium Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
After updating apt database, We can install chromium using aptitude by running the following command:
sudo aptitude -y install chromium
How To Uninstall chromium on Kali Linux
To uninstall only the chromium package we can use the following command:
sudo apt-get remove chromium
Uninstall chromium And Its Dependencies
To uninstall chromium and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove chromium
Remove chromium Configurations and Data
To remove chromium configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge chromium
Remove chromium configuration, data, and all of its dependencies
We can use the following command to remove chromium configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge chromium
References
Summary
In this tutorial we learn how to install chromium using different package management tools like apt, apt-get and aptitude.
Chromium installation in Kali Linux
Chromium exists within the Kali repositories and can be installed using:
By default chromium won’t launch on Kali Linux, this is due to chromium running as the root user. You can fix this by opening /etc/chromium.d/default-flags in vim and adding the following lines:
# Run as root Kali export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --password-store=detect --no-sandbox --user-data-dir"
It user-data-dir and sandboxing , disabling sandboxing will have some obvious security issues but this browser is for web application penetration testing only.
To use chromium for Web Application Penetration Testing you need to disable all the security features, allowing for DOM based XSS testing in chromium.
# Disable Chromium security features for web app testing export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --disable-web-security"
To summarize the steps used,
# A set of command line flags that we want to set by default. # Do not hide any extensions in the about:extensions dialog export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --show-component-extension-options" # Don't use the GPU blacklist (bug #802933) export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --ignore-gpu-blacklist" # Run as root Kali export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --password-store=detect --no-sandbox --user-data-dir" # Disable Chromium security features for web app testing export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --disable-web-security"
Finally Kali will give this error message and you can ignore this,
You Are using an Unsupported Command line flag –disable-web-security. Security and Stability will suffer
Note : DOM is document object model and XSS is cross site scripting
What is Chromium ??
Chromium is an open source web browser run by the Chromium Project, first released in 2008. Any developer can modify or update the source code (but only small number of Chromium devs can actually add their very own code).
How Chrome and Chromium is related ??
- Google’s Chrome is actually built on top of Chromium’s source code they share the same bones, as we’ve already established.
- Their logos are also quite similar. Chrome’s is Google-themed multi-color, and Chromium’s is a few shades of blue.
Biggest difference between chromium and chrome !!
- Chromium updates all the time as the developers would release the new code then an there its done and you have to update chromium manually whereas Google chrome doesn’t update nearly as often as Chromium
- Security : Chrome is easy to use and Google tracks the data. Chromium doesn’t do this.
- Support for Flash Adobe: As Flash is not a open source, Chromium does not support it whereas Chrome does.
Hope this information is useful !! please do leave your thoughts on chromium and the stuff you know about it in the comment section .
HighOn.Coffee
HowTo: Kali Linux Chromium Install for Web App Pen Testing ∞
Why use Chromium for Web Application Testing ?
The primary reason I use Chromium is for DOM based XSS testing which as far as I know cannot be disabled in Firefox. If you have never heard of Chromium it’s the opensource version of Google Chrome and doesn’t have flash player built in and various other codecs such as: AAC, H.264, and MP3 Support.
It’s possible to disable all security features in Chromium or Chrome using the switch —disable-web-security , this will disable all security options and allow you to test for DOM based XSS.
Kali Install Chromium Browser
Chromium exists within the Kali repositories and can be installed using:
Chromium Won’t Launch on Kali
By default chromium won’t launch on Kali Linux, this is due to chromium running as the root user. You can fix this by opening /etc/chromium.d/default-flags in vim and adding the following lines:
# Run as root Kali export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --password-store=detect --no-sandbox --user-data-dir"
This disables the user-data-dir and sandboxing , disabling sandboxing will have some obvious security issues but this browser is for web application penetration testing only.
Chromium Setup for Web Application Testing
In order to use chromium for Web Application Penetration Testing you need to disable all the security features, allowing for DOM based XSS testing in chromium.
# Disable Chromium security features for web app testing export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --disable-web-security"
Complete Chromium Config
What my entire Chromium config looks like:
# A set of command line flags that we want to set by default. # Do not hide any extensions in the about:extensions dialog export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --show-component-extension-options" # Don't use the GPU blacklist (bug #802933) export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --ignore-gpu-blacklist" # Run as root Kali export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --password-store=detect --no-sandbox --user-data-dir" # Disable Chromium security features for web app testing export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --disable-web-security"
Kali Chromium Error: You Are using an Unsupported Command line flag –disable-web-security. Security and Stability will suffer
Ignore the following error, Chromium still process DOM based XSS. The same error occurs in Google Chrome.
How to Install Google Chrome & Chromium on Kali Linux [Official Method]
Google Chrome is one of the most used web browser in the browser’s industry developed by Google. Google Chrome is fast, stable and cross platform. Chrome has big number of extensions that makes our life easier.
In our this article we are going to discuss how to install Google Chrome on our Kali Linux system. Also we talk about Chromium browser installation. Chromium is an open-source alternative of Google Chrome browser.
Downloading Google Chrome on Kali Linux
Now we download Google Chrome from the official website https://www.google.com/intl/en_us/chrome/. We can navigate this website from our Kali Linux’s default Firefox browser.
Here we can see the download button. After clicking on the download button we got a pop-up window in front of us just like the following screenshot:
Here we can see we need to download the 64 bit .deb for Debian/Ubuntu.We click on the «Accept and Install» then the download started.
The deb file is approximately 70MB in size. After download complete, it will stored on the «Downloads» folder.
Other Method to Download the Same
Or we can simply use following command to download Chrome .deb file on our current directory:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
Installing Google Chrome on Kali Linux
Fire up our terminal and run following command to install gdebi. gdebi will automatically download all depended packages. We can install it by using following command:
sudo apt-get install gdebi
Now we can install Google Chrome from it’s .deb file. If we downloaded it from website then we need to change our directory to Downloads by using cd Downloads command. If we downloaded the deb file from command line then it is on our current directory and we don’t need to change it and move to next step.
Now we install the .deb file by using following command:
sudo gdebi google-chrome-stable_current_amd64.deb
It will prompt for install the software packages we type «y» and press enter.
After this our chromium will be installed.
Now we can run Google Chrome by using following command:
It will open in front of us. We have opened our website on this browser in the following screenshot:
This is how we can install Google Chrome on our Kali Linux.
Installing Chromium on Kali Linux
Chromium is a web browser based on Google Chrome. Chromium is open-source and fast and secure. It is a good alternative for Chrome it looks and feels just like the Google Chrome and all browser extensions for Google Chrome also works on Chromium.
To install Chromium on our Kali Linux we can run following command:
sudo apt-get install chromium
This will prompt for asking disk space (57MB download and 180MB disk space).
Now it will install, the installation time will depend on our internet speed and system performance.
After this we can run the chromium browser by just running following command:
Or we can search on our Application menu
Adding Chrome or Chromium on Panel
If we wish we can add this on our panel. To do that we need to open Panel>Panel preference.
Then we navigate to «Items«.
«+Add» an «Launcher«.
Then we come to the launcher and click on ≣. Then a box will appear we need to right click there, and select «Add Application«.
Now we search for chrome and select it.
Then we can «Close» this and we can move the Chrome Launcher upper to get the correct position.
Then we can place it where we want.
This is the detailed guide that how we can install Google Chrome and Chromium on our Kali Linux system.
Liked our article? Then make sure to follow our e-mail subscription for free, then our new articles directly reached in inbox. We also have a Telegram Group to discuss things related Kali Linux and cyber security. To get our article and other updates follow our Twitter and GitHub.
For anything comment down in the comment section. We read each comment and we always reply.