anape03 / OpenSSL-SQL_Injection

Set up server and database for a simple website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Projects' Description

These are 2 projects regarding "OpenSSL" and "SQL Injection", created as part of the course "Network Security".

The goal was to set up a CentOS7 VM on the course's project on okeanos, access it using an ssh client (ex. PuTTY), and then set it up as requested, using information we could find ourselves on online sources and/or books.

"OpenSSL" Project:

  • Create user "teacher" with appropriate permissions
  • Set up Apache server
  • Set up firewall
  • Create CA, CSR, SSL certificate
  • Create simple login page

"SQL Injection" Project:

  • Create database "GDPR" and tables "users", "logging", using MariaDB
  • Explain how to store passwords in database
  • Set up simple website with signup/login using PHP, protected against SQL Injection
    • Includes pages:
      • home
      • sign up
      • login
    • User is locked and required to change password after:
      • 3 consecutive wrong login attempts (for the same user)
      • 5 minutes have passed since last password change Note: password change wasn't implemented

What was implemented

The commands that were used, as well as further details, can be found on the respective markdown files of each project:

  • OpenSSL
    The code (simple html) for the website created in this part can be found here in the markdown file mentioned above.
  • SQL Injection
    All the files used to create the website for this part can be found in the folder /source.

About

Set up server and database for a simple website


Languages

Language:PHP 59.3%Language:HTML 23.0%Language:CSS 11.8%Language:JavaScript 5.8%