All posts tagged linux

Project taken from:

https://www.hackster.io/shiva-siddharth/simultaneously-run-alexa-and-google-assistant-on-pi-12e8df

 

Specially for hackers : You can now run Kali Pentesting OS in your web browser

This bit of news is going to elate hackers and security researchers. Kali Linux is one of the most loved distros by the security community and it is now coming to in your browser.

Network security specialist Jerry Gamblin has created a project called KaliBrowser which allows you to run the world’s best loved Kali Linux operating system on a web browser. Gamblin has used Kali Linux Docker image, Openbox window manager, and NoVNC HTML5-based VNC client to bring Kali OS to your browser.

For the uninitiated, Kali Linux is often heralded as a must have Linux distro for hackers, security researchers and pentesters. It is one of the best security auditing operating systems based on the Linux kernel and the successor of the popular BackTrack. The Kali Linux has itself been upgraded to 2016.1, based on Debian GNU/Linux 8 “Jessie,” and that there’s an official Kali Linux Docker image that lets users run the distro on any platform.

Here’s how to get started with KaliBrowser right now

Those familiar with Kali Linux can use the Docker Linux container engine to run the penetration testing operating system on your web browser. The KaliBrowser can run on all operating systems including Microsoft’s latest Windows 10, by running the following command below in a terminal emulator.

sudo docker run -d -t -i -p 6080:6080 jgamblin/kalibrowser

Once that command finishes downloading and extracting all the files, all you have to do is to open your favorite web browser and point it to http://localhost:6080.

However, please note that this is a basic Kali Linux installation,  so you will need to add additional tools you want. It can be done by installing via the command-line.

The tutorial once again :

It runs the following packages:
Kali Docker
OpenBox
NoVNC

Getting started is as easy as:
docker run -d -t -i -p 6080:6080 jgamblin/kalibrowser

and then point your favorite browser to:
http://ip:6080

To keep this image as small  Gamblin has included only the base Linux (it is still 841MB) A bit advanced version is available here jgamblin/kalibrowser-top10 (2GB) that has the Kali Top 10 metapackage pre installed so if you want that  run:
docker run -d -t -i -p 6080:6080 jgamblin/kalibrowser-top10 

 

This tutorial is applicable to LinuxMint Debian Edition for it doesn’t come with the Hardware Driver option (System->Administration->Hardware Drivers) found in Ubuntu and LinuxMint. Installing LMDE will not automatically install the driver for you so you have to manually do it from the Terminal.

Steps are outlined below:

You are required to connect to the Internet with the LAN interface before proceeding.

1.) After successfully installing LMDE, you have to update it first prior to installing the driver.
sudo apt-get update && sudo apt-get upgrade

2.) After a successful update, we can now install the desired driver for our Broadcom wireless card:

sudo apt-get install b43-fwcutter firmware-b43-installer

All you have to do is wait for the installation to finish and you will be able to use the Broadcom wifi card after a restart.

 

This was one of the easiest fix I’ve ever encountered on a linux machine.

 

If you haven’t tried out Nano editior in linux, please give it a go! It’s brilliant.

Here’s how to search within the file:

 

Ctrl + W is the shortcut for searching. After entering the search term, press Enter. To repeat the search, issue Alt + W. In this menu, you can select earlier searches using the arrow up/ down keys.

To toggle backwards searching, you need to press Alt + B in the search dialog.

For more shortcuts, press F1

 

Happy Searching!

To restart Apache from the command line from a Amazon EC2 Instance simply type:

In case you get “permission denied” errors, you should try adding a sudo in front of the line, e.g.:

sudo /sbin/service httpd restart

These commands are no different. If you remember anything from your linux days. Just don’t be afraid and try it out.