Giter VIP home page Giter VIP logo

pylogin's Introduction

PyLogin

2022 CSHS Cybersecurity

Python Webscraping Login Bot, and NodeJS / MySQL Login page

Rubric (50/50)

  • Writeup: Research (15)

  • Writeup: Works Cited (5)

  • Presentation: Well-designed slides (10)

  • Presentation: Engaging, does not read off slides (5)

  • Presentation: Responds to questions well (5)

  • Demonstration of Program (10)

Write-up

My research for this project started a few months ago when i started a web development course with FreeCodeCamp. I only made it about halfway through the course but i learned alot about basic HTML and CSS. I began by making a static website that could be used as a fake login form, where the login is set by the user then the program could attempt to login. However I wanted to go a step further and learn basic back end development, so I took the challenge and remade the website using NodeJS and MySql to create a dynamic login form, with the ability to register accounts as well. I think the best way to learn something new is to follow a tutorial first, and do your best to understand what they do, then go a step further and add something on your own (in my case the register function / basic home page). I am not a backend developer at all yet, but this project was a good learning expeirence that taught me alot about how the backend of websites and servers are handled. The actual LoginBot was a quick add, and only took a short while after I learned how to make POST Requests with the Requests library. While its not amazing that I made a loginBot that breaks into my own website comapred to a real bot capable of stealing logins from something such as RuneScape or Minecraft, I'm still proud I was able to make a non-static working login page with a language I'm not familiar with.

Sources

Use

First you need to have an sql database setup with an accounts table (cols: username, password), then change the nodelogin/login.py to reflect the accurate host and password for sql.

First start your sql server

$ brew services start mysql

Next

$ node nodelogin/login.js

Now the site is hosted at http://localhost:3000/login!

once you have the site running and some accounts registered you can just do

$ python3 loginBot.py 

this will run the python script and give you a list of all found login credientials from the site.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.