Skip to content

DevLeague-Cyber-Prep/python-security-eight-ball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

python-security-eight-ball

In this exercise you'll be creating a simple client/server socket based game to demonstrate the basics of socket server communication.

Instructions

  1. Clone this repository from your personal Github account:
    • Copy the HTTPS or SSH address on the page.
    • Run the command $ git clone [SSH or HTTP address] in your terminal to clone this repository into your DevLeague folder in your computer (you don't need to type the "$"; this is the command prompt, and is used to signify your terminal is ready for commands).
  2. From your terminal navigate to your DevLeague folder and into the python-security-eight-ball assignment:
    • $ cd DevLeague
    • $ ls
    • cd python-security-eight-ball
  3. Open the python-security-eight-ball assignment in text editor and write your code in the client.py and server.py files.
  4. You'll need to run your python files in two different terminals to test your code:
    • $ cd python-security-eight-ball
    • $ python server.py
    • $ python client.py
  5. Using the examples covered in class, make your server answer questions that people would ask about the security of their computers/homes/offices, etc.....
  6. You will likely need to use a List of strings and randomly select elements from the list
  7. BOSS LEVEL: Log all of the data that gets sent to your server in a file called audit.log.
  8. SUPER BOSS LEVEL: Keep a count of the number of requests that get sent to your server and print the count after every response.

Example

Is my Bitcoin wallet secure?

Not likely...

Should I turn on antivirus on my Windows laptop?

Bruh...

About

Basics of socket programming in Python with security fortune telling

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages