- 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
- Packages and Binaries:
- chromium-common
- chromium-driver
- chromium-l10n
- chromium-sandbox
- chromium-shell
- 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 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.
Packages and Binaries:
Web browser that aims to build a safer, faster, and more stable internet browsing experience.
This package contains the web browser component.
Installed size: 210.67 MB
How to install: sudo apt install chromium
- chromium-common
- libasound2
- libatk-bridge2.0-0
- libatk1.0-0
- libatomic1
- libatspi2.0-0
- libbrotli1
- libc6
- libcairo2
- libcups2
- libdbus-1-3
- libdouble-conversion3
- libdrm2
- libevent-2.1-7
- libflac12
- libfontconfig1
- libfreetype6
- libgbm1
- libgcc-s1
- libglib2.0-0
- libgtk-3-0 | xdg-desktop-portal-backend
- libjpeg62-turbo
- libjsoncpp25
- liblcms2-2
- libminizip1
- libnspr4
- libnss3
- libopenh264-7
- libopenjp2-7
- libopus0
- libpango-1.0-0
- libpng16-16
- libpulse0
- libre2-9
- libsnappy1v5
- libstdc++6
- libwebp7
- libwebpdemux2
- libwebpmux3
- libwoff1
- libx11-6
- libxcb1
- libxcomposite1
- libxdamage1
- libxext6
- libxfixes3
- libxkbcommon0
- libxml2
- libxnvctrl0
- libxrandr2
- libxslt1.1
- zlib1g
chromium
The web browser from Google
[email protected]:~# chromium -h chromium [-h|--help] [-g|--debug] [--temp-profile] [options] [URL] -g or --debug Start within /usr/bin/gdb -h or --help This help screen --temp-profile Start with a new and temporary profile --enable-remote-extensions Allow extensions from remote sites Other supported options are: chromium has hundreds of undocumented command-line flags that are added and removed at the whim of the developers. Here, we document rela- tively stable flags. -h or --help Show help output. -g or --debug Start a debugging session within /usr/bin/gdb. --temp-profile Use a throw-away/temporary profile for this session. This cre- ates an entirely new user profile temporarily. It is not the same as incognito mode. --enable-remote-extensions Allow installation and updates of remote extensions. --user-data-dir=DIR Specifies the directory that user data (your "profile") is kept in. Defaults to $HOME/.config/chromium . Separate instances of chromium must use separate user data directories; repeated invo- cations of chromium will reuse an existing process for a given user data directory. --incognito Open in incognito mode. --new-window If PATH or URL is given, open it in a new window. --proxy-server=host:port Specify the HTTP/SOCKS4/SOCKS5 proxy server to use for requests. This overrides any environment variables or settings picked via the options dialog. An individual proxy server is specified us- ing the format: [://][:] Where is the protocol of the proxy server, and is one of: "http", "socks", "socks4", "socks5". If the is omitted, it defaults to "http". Also note that "socks" is equivalent to "socks5". Examples: --proxy-server="foopy:99" Use the HTTP proxy "foopy:99" to load all URLs. --proxy-server="socks://foobar:1080" Use the SOCKS v5 proxy "foobar:1080" to load all URLs. --proxy-server="socks4://foobar:1080" Use the SOCKS v4 proxy "foobar:1080" to load all URLs. --proxy-server="socks5://foobar:66" Use the SOCKS v5 proxy "foobar:66" to load all URLs. It is also possible to specify a separate proxy server for dif- ferent URL types, by prefixing the proxy server specifier with a URL specifier: Example: --proxy-server="https=proxy1:80;http=socks4://baz:1080" Load https://* URLs using the HTTP proxy "proxy1:80". And load http://* URLs using the SOCKS v4 proxy "baz:1080". --no-proxy-server Disables the proxy server. Overrides any environment variables or settings picked via the options dialog. --proxy-auto-detect Autodetect proxy configuration. Overrides any environment vari- ables or settings picked via the options dialog. --proxy-pac-url=URL Specify proxy autoconfiguration URL. Overrides any environment variables or settings picked via the options dialog. --password-store= Set the password store to use. The default is to automatically detect based on the desktop environment. basic selects the built in, unencrypted password store. gnome selects Gnome keyring. kwallet selects (KDE) KWallet. (Note that KWallet may not work reliably outside KDE.) --version Show version information. As a GTK+ app, chromium also obeys GTK+ command-line flags, such as --display. See the GTK documentation for more: See 'man chromium' for more details
chromium-common
Web browser that aims to build a safer, faster, and more stable internet browsing experience.
This package contains resources that are in common to different chromium packages.
Installed size: 16.67 MB
How to install: sudo apt install chromium-common
- libc6
- libdouble-conversion3
- libjsoncpp25
- libstdc++6
- libx11-6
- libxnvctrl0
- x11-utils
- xdg-utils
- zlib1g
chromium-driver
Web browser that aims to build a safer, faster, and more stable internet browsing experience.
This package provides a bridge between the browser component and the selenium automatic webdriver.
Installed size: 13.40 MB
How to install: sudo apt install chromium-driver
- chromium
- libatomic1
- libbrotli1
- libc6
- libdouble-conversion3
- libevent-2.1-7
- libgcc-s1
- libglib2.0-0
- libjsoncpp25
- libminizip1
- libnspr4
- libnss3
- libre2-9
- libstdc++6
- libxcb1
- zlib1g
chromedriver
[email protected]:~# chromedriver -h Usage: chromedriver [OPTIONS] Options --port=PORT port to listen on --adb-port=PORT adb server port --log-path=FILE write server log to file instead of stderr, increases log level to INFO --log-level=LEVEL set log level: ALL, DEBUG, INFO, WARNING, SEVERE, OFF --verbose log verbosely (equivalent to --log-level=ALL) --silent log nothing (equivalent to --log-level=OFF) --append-log append log file instead of rewriting --replayable (experimental) log verbosely and don't truncate long strings so that the log can be replayed. --version print the version number and exit --url-base base URL path prefix for commands, e.g. wd/url --readable-timestamp add readable timestamps to log --enable-chrome-logs show logs from the browser (overrides other logging options) --bidi-mapper-path custom bidi mapper path --disable-dev-shm-usage do not use /dev/shm (add this switch if seeing errors related to shared memory) --allowed-ips=LIST comma-separated allowlist of remote IP addresses which are allowed to connect to ChromeDriver --allowed-origins=LIST comma-separated allowlist of request origins which are allowed to connect to ChromeDriver. Using `*` to allow any host origin is dangerous!
chromium-l10n
Web browser that aims to build a safer, faster, and more stable internet browsing experience.
This package contains language packages for: am, ar, bg, bn, ca, cs, da, de, el, en-GB, es-419, es, et, fi, fil, fr, gu, he, hi, hr, hu, id, it, ja, kn, ko, lt, lv, ml, mr, nb, nl, pl, pt-BR, pt-PT, ro, ru, sk, sl, sr, sv, sw, ta, te, th, tr, uk, vi, zh-CN, zh-TW
Installed size: 77.59 MB
How to install: sudo apt install chromium-l10n
chromium-sandbox
Web browser that aims to build a safer, faster, and more stable internet browsing experience.
This package contains the setuid chromium sandbox.
Installed size: 336 KB
How to install: sudo apt install chromium-sandbox
chromium-shell
Web browser that aims to build a safer, faster, and more stable internet browsing experience.
This package provides a minimal version of the chromium user interface (the content shell).
Installed size: 151.89 MB
How to install: sudo apt install chromium-shell
- chromium-common
- libasound2
- libatk-bridge2.0-0
- libatk1.0-0
- libatomic1
- libatspi2.0-0
- libbrotli1
- libc6
- libcairo2
- libdbus-1-3
- libdouble-conversion3
- libdrm2
- libevent-2.1-7
- libflac12
- libfontconfig1
- libfreetype6
- libgbm1
- libgcc-s1
- libglib2.0-0
- libjpeg62-turbo
- libjsoncpp25
- libminizip1
- libnspr4
- libnss3
- libopenh264-7
- libopus0
- libpango-1.0-0
- libpng16-16
- libpulse0
- libre2-9
- libsnappy1v5
- libstdc++6
- libwebp7
- libwebpdemux2
- libwebpmux3
- libwoff1
- libx11-6
- libxcb1
- libxcomposite1
- libxdamage1
- libxext6
- libxfixes3
- libxkbcommon0
- libxml2
- libxnvctrl0
- libxrandr2
- libxslt1.1
- zlib1g
chromium-shell
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.