Twitterbot Teacher

DISCLAIMER

Any actions and or activities related to the material contained within this Website is solely your responsibility. The misuse of the information in this website can result in criminal charges brought against the persons in question. Cyber Security Associates Limited, will not be held responsible for any criminal charges brought against any individuals misusing the information in these projects to break the law.

Teacher Overview

Kali Linux is an operating system (OS) which can be used for ethical hacking and digital forensics. It is loaded with numerous tools, such as nmap and metasploit. Kali Linux also has a range of security tools and digital forensic applications that can be applied to many situations and currently is one of the most popular OS for cyber security specialists. The advantage of using Linux for most of these powerful tools is the ability to load onto any Linux version. There are other OS made for penetration testing such as Parrot OS and Black Arch but generally it is easier to access Kali Linux than these alternatives.

The Internet of Things (IoT) is a system of interrelated computing devices, mechanical and digital machines, objects, animals or people that are provided with unique identifiers (UIDs) that have the ability to transfer data over a network without requiring human-to-human or human-to-computer interaction.

An entity within the IoT can be a person with a heart monitor implant, a farm animal with a biochip transponder, an automobile that has built-in sensors to alert the driver when tire pressure is low or any other natural or man-made object that can be assigned an IP address and is able to transfer data over a network. Increasingly, organisations in a variety of industries are using IoT to operate more efficiently, better understand customers to deliver enhanced customer service, improve decision-making and increase the value of the business.

Twitter is a wonderful communication and social media platform. It has everything: breaking news, political opinion, humour, celebrities, entertainment, special interest chat, and, well, anything. Individuals, companies, departments, projects, and more really anyone or anything can have a Twitter account. Some Twitter accounts are not even run manually by a person or a group of people they're automated bots. It's very simple to write a Twitter bot using Python and a Raspberry Pi is the perfect tool to run the code; rather leaving a PC or laptop switched on permanently, you can leave your Raspberry Pi running 24/7 and hardly any power will be used.

Twitter is a popular communication and social media platform used for breaking news, political opinion, humour, celebrities, entertainment, special interest chat and just about everything!! Individuals, companies, departments, projects, and more really anyone or anything can own or be assigned a Twitter account. Moreover, some Twitter accounts are not even run manually by a person or a group of people they're in fact automated bots. It's very simple to write a Twitter bot using Python, and the Raspberry Pi is the perfect tool to run the code. Hence, rather than leaving a PC or laptop switched on permanently, you can use your Raspberry Pi operating 24/7 using a fraction of the power.

In this project the students will be making a twitter account and generating API keys. Additionally, they will be learning how to write a simple python script and by combining that with Twython they will be able to tweet from the Raspberry Pi whatever they want without having to be on the twitter app. This project will require one of the students in each of the groups or pairs to have a mobile phone to verify their account.

Suggested Year Group

The suggested age group is 16+, due to the nature of this project and the skills it requires to implement it.

 

Learning Outcomes

  1. Explain the basic principles of IoT;

  2. Explain to the student what a twitterbot is and how to create one;

  3. Teach the students how a twitterbot can be used

 

HARDWARE REQUIRED

Component Number (Peli Case) 

Slot 4 + 5 

Slot 5 

Slot 9 

Slot 3 

Slot 3 

Slot 5 

Slot 1 

Component Number (Box Case) 

Slot 1 

Slot 10 

Slot 2 

Slot 11 

Slot 11 

Slot 12 

Slot 13 

Component 

Raspberry Pi + Case 

Kali Linux SD Card 

TFT Screen 

HDMI 

Wireless Keyboard 

Wireless Mouse 

Power Supply Unit 

 

VIDEO GUIDE

 

conclusion

This project is designed to introduce the students to a twitterbot and API keys and the applications they have within IoT. The students will have made a twitter account and obtained API keys then used the Raspberry Pi to write a python script to tweet randomly out of a list without having to be on the twitter app. Twitterbots are extremely powerful tools, and this tutorial is just scratching the surface of what you can achieve with it. Keep in mind that the Raspberry is limited in processing power and will not be able to handle large volumes of traffic accurately.