Browse Author: dayz

Hey welcome to my lab! My name is Kamil and I do a lot of repetitive things when it comes to my projects. I decided to make a blog about the things I do, so that I can find the things I do constantly easier. Since this is on the web you all will be able to benefit from this and learn news things as I learn them. The site will focus on arduino and raspberry pi tutorials as well as some basic hacking and programming. Thanks for visiting!

How to Build a Raspberry Pi TorrentBox

If you already use your Raspberry Pi as a server then you’ll want to add some torrent capabilities to it. Even if you are not using your Raspberry Pi as a server you can turn your Raspberry Pi into a torrent box using a very popular torrent program called Transmission. You may have heard of Transmission before, it comes pre-installed on many popular Debian based Linux distro’s.

Transmission is usually a standalone program you can use to manage your torrents but today I will be showing your how to install Transmission on your Raspberry Pi and run and manage your torrents from your browser. This is beneficial because you can download torrents from anywhere in your house and connect your Raspberry Pi to a Network Attached Storage and store your files there. If you have a VPN at home you can even connect to your network and tell your Raspberry Pi TorrentBox what to download.

I currently have my Raspberry Pi running a network wide adblocker, Kodi, and a Raspberry Pi VPN and found that it can handle running a torrent client like Transmission with ease. Transmission really doesn’t take up to much process power and the Raspberry Pi runs the web GUI with ease.


To install a torrent client onto our Raspberry Pi and turn our Raspberry Pi into a TorrentBox


You will need the following:


I will assume you are running Raspbian on your Raspberry Pi. You can also follow this tutorial for any Debian based Linux distro. I have Rasbian Jessie Lite installed on my Raspberry Pi and will be connecting to my Pi over SSH to install Transmission.

Continue Reading

How to Crack WPA2 WiFi Networks using the Raspberry Pi

Cracking WPA and WPA 2 networks is still very difficult and solely dependent on using a brute force attack with a good dictonary. Depending on the word-list that you use will improve the success rate of cracking WPA2 WiFi networks. In this tutorial I will be showing you how to grab the 4-Way handshake from a WPA2 WiFi network and how to do an offline brute-force cracking attempt at find the password for the WiFi network. The Raspberry Pi 3 can check around 500 keys per second which is not really fast when you have a word-list with over 10 millions passwords to check.

The Raspberry Pi 3 can check around 1.8 million passwords an hour which again it doesn’t gurantee that it will be able to find the correct password for a WPA2 WiFi network. The best use of the Raspberry Pi in hacking WiFi networks is that you can use it to collect a 4-Way handshake and then transfer the handshake for cracking to a more powerful computer. The reason the Raspberry Pi is good for a scenrio like this is because of its mobility. You can easilly attach a battery to your Pi and put it in a backback and walk around collecting handshakes to crack.

Today’s tutorial will show you how to capture a 4-Way Handshake and then use our Raspberry Pi 3 to crack the password. We will be using the aircrack-ng suite to collect the handshake and then to crack the password. You will need a good word-list for cracking. There are many word-lists out there. One of the biggest word-lists I have seen is the CrackStation Wordlist which has over 1.5 Billion passwords that have been put together from many data breaches like Linked In and MySpace. Let’s get started.


To capture a 4-Way Handshake from a WPA2 WiFi network and crack the password using a brute-force method


You will need the following:


I will be running a freshly installed version of Raspbian Jessie on my Raspberry Pi. You can use Rasbian Jessie Lite on your Raspberry Pi since we will just needing the terminal and I will be using SSH to run all my commands. Go ahead and connect to your Raspberry Pi and lets begin by installing the aircrack-ng suite on our Raspberry Pi. Run the following command to install the dependencies for the aircrack-ng suite: Continue Reading

How to Install Wifite on the Raspberry Pi

Today I will be introducing you to a python script software that make WiFi hacking a piece of cake. The program is called Wifite and it aim’s at being an all-in-one WiFi hacking tool that uses the set it and forget philosophy. Wifite is just a python script that automates other tools WiFi tools like: aircrack-ng, reaver, cowpatty, and pyrit. Cowpatty and Pyrit are not required to run Wifite but aircrack-ng and reaver are needed to perform WPS attacks as well as WPA cracking and attacks. Wifite allows you to crack WEP, WPA/2 and WPS enabled networks with just a few commands and will do all the dirty work for you.

The main features Wifite is that it will automatically try to crack or hack selected SSID’s using different methods like Pixie Dust attacks or attempting to crack WPA2 passwords with the word-list you provide. Remember that the cracker is only as strong as the word-list you provide.

I will be installing Wifite on a clean install of Raspbian Jessie Lite, you can use the GUI version if you like but I will be running all the commands from an SSH connection. I will assume you have Raspbian running on your Raspberry Pi but the tutorial should work for any Debian based Linux Distro.


To install Wifite on a Raspberry Pi 3 running Raspbian Jessie


You will need the following:


I will be installing Wifite on a clean version of Raspbian on my Raspberry Pi 3. We will first need to install the aircrack-ng suite onto our Raspberry Pi 3 so let’s begin by installing the libraries that are needed to get aircrack-ng to work on the Raspberry Pi. Type in the following command: Continue Reading

How to Setup a Raspberry Pi Plex Server

In this tutorial I will be showing how to turn your Raspberry Pi into a Plex Media Server. Plex is a Client/Software media player which organizes all your TV Shows, Movies, and Music and allows you play them on any of your devices. The Plex Server will store all your media and will transmit the media to your client, which can be your Phone, TV, Tablet, XBox, Chromecast or even your Raspberry Pi running RasPlex, the possibilities are endless since the Plex Client is available for almost every device. You can also setup your Raspberry Pi Plex Server to allow you to take your media anywhere by setting it up to be available outside of your network.

The Plex Media Server will also trans-code your media on the fly so that you can play any media file on any device, even if the client device doesn’t support the media file. This is why I recommend loading the Plex Server on the Raspberry Pi 3, it will work on the Raspberry Pi 2 as well. The Raspberry Pi 3 will work the best since it has the fastest processor, I would not recommend running the Plex Server on the original Raspberry Pi.


To install the Plex Media Server on our Raspberry Pi 3


You will need the following:


I will be installing the Raspberry Pi Plex Server remotely to my Raspberry Pi over SSH. I will be running my Raspberry Pi as a server without a monitor which will allow me to control it from any other computer over SSH. I will assume you know how to SSH into your Raspberry Pi server.

Install the Raspberry Pi Plex Server

SSH into your Raspberry Pi and run the apt-get update and upgrade commands to get our Raspberry Pi software up to date before we start installing our Plex Server. Run the following commands: Continue Reading

3 Must Have Raspberry Pi 3 Accessories

The Raspberry Pi 3 has been released for a while now and there are many accessories that you can purchase for it: camera’s, wifi adapters, case’s, LCD screens. Today I want to list the 3 must have Raspberry Pi 3 accessories that I think every user needs. I will be discussing my favorite Raspberry Pi 3 case, Add-On WiFi adapter and my favorite Raspberry Pi 3 camera.

Raspberry Pi 3 Case

Official Raspberry Pi 3 Case

Might as well start the list off with the Official Raspberry Pi 3 case. This case is the official case from the Raspberry Pi Foundation and comes with a removable top lid and side panels. The removable top lid will give you easy access to the camera and display ports. The official Raspberry Pi case comes in multiple colors and the one I have pictured is a White/Red combination which really pops out and has a modern feel to it. Since this was designed by the Raspberry Pi Foundation your Pi will fit perfectly in the bottom and will be a snug fit. Unlike some of other cases which screw the Pi down, this one just pops into the plastic inserts.

The one downside is the ventilation isn’t the best. This case doesn’t include any heat-sinks and you might want to invest in some heat-sinks to put over the two processors on the board to help dissipate some of the heat that is generated when using the Pi. If you are just using your Raspberry Pi as a small server or not doing any crazy computing on it, which will use a lot of power and generate more heat, then I think you will be okay with the heat. If you are worried about ventilation you can pop off the removable side panels to get the air flowing inside of the case.

Another complaint about this case is that it does not have key-slots on the bottom of the case for wall-mounting. If you don’t plan on hanging the Raspberry Pi on the wall then this really isn’t an issue. You can also just use some Velcro and it will hang on the wall with no issues. This is what I ended up doing for my Raspberry Pi server and it works with no issues.

Overall, I think if you are looking for a cheap case and like the White/Red combination then this is a decent Raspberry Pi case. It may not be the coolest case on the block but it gets the job done and will protect your project from getting damaged.

Click here for more information about the Official Raspberry Pi 3 Case

Raspberry Pi 3 Extended WiFi Adapter

Alfa Wifi Adapter

I know what you are thinking, the Raspberry Pi 3 comes with an onboard WiFi adapter, why would I need another one? The answer is because it sucks, or I should say the range is not the best. The onboard Wifi adapter on the Raspberry Pi 3 works great for when your Raspberry Pi is close to your network router but if you plan on putting your Raspberry Pi 3 on the other side of your house you may need to get a WiFi adapter.

The Alpha AWUS036H WiFi adapter is one of the most popular choices for pen-testing and connecting to your WIFi at home. It has great range and can pick up signals up to a block away without much loss. It also includes settings for increasing the power of the WiFi signal to connect to networks further away.

When you purchase from Amazon there are a few choices that you can buy. Some of them come with a holder and flex cable which are not necessary. I bought the model that comes with the 5dBi and 7dBi antennas. The 7dBi antenna is a directional antenna meaning it can get better signals depending on which way it’s facing. The reviews for the 9dBi antenna are not the best, so I personally wouldn’t recommend it. The only other downfall with the Alfa AWUS036H is it is not compatible is 802.11 N signals, which may be an issue if a network is setup for only 802.11N

If you are looking for a WiFi adapter that works perfectly on the Raspberry Pi and has great reviews then you can’t go wrong with the Alfa AWUS036H WiFi adapter

Click here for more information about the Alfa AWUS036H WiFi Adapter

Raspberry Pi 3 Camera Module

Pixy Camera Module

The Pixy camera module has been getting very popular lately and there has been many write-ups about it. It has a button you can push to “teach” it objects which you can program your projects to either follow the object or identify it. It includes libraries for the Arduino and Raspberry Pi. The Pixy camera includes mounting hardware to attach Pixy to your robot creation. The firmware, software and hardware are open source and constantly updated.

There are many mounting options. One of them is this which has a servo for pan/tilt. I think this camera is very neat and the resolution is okay for a basic robot. I would use this camera module for more advanced projects which include project tracking or avoidance especially since it includes libraries for the Arduino and Raspberry Pi. Definitely check this camera out if you are making any type of robot project.

Click here for more information about the Pixy Raspberry Pi 3 Camera Module

How to Perform a Quiet Boot on the Raspberry Pi

If you plan on using your Raspberry Pi as a Retro gaming station or are using it in a setting where you want to remove the boot text from being displayed on the Raspberry Pi then you need to make your Raspberry Pi perform a quiet boot. A quiet boot will remove the rows of text that are displayed during a boot (also called verbose boot) and can be replaced with a logo. This can come in handy if you are making your own arcade machine or a commercial product with the Raspberry Pi.


To perform a quiet boot on the Raspberry Pi and remove the boot text


You will need the following:


Performing a quiet boot on your Raspberry Pi is very easy and it will only take us a view steps. I wrote these instructions on the official Raspbian Jessie distro but if you are running any other Raspberry Pi distro it should work the same way. Continue Reading