Giter Club home page Giter Club logo

csrf-coursework's Introduction

CSRF-coursework

CSRF coursework

When the user creates a new account, there is some code that will capture the user name and password as well as the email address. And it does, into a register.txt file in the backend. To actually counter this problem, the password can be hashed so it cannot be read. This can be seen on line ten, In the register.php file. The login function should work but it doesnt for some reason. To run this site locally, open terminal and run this php "-S localhost:8000" and it should run and you can test it yourself.

Counter measure is hashing the password or as much of it as you can. Make sure the site is SSL protected and alsways look out for fake websites, such as banking websites pretending, as they can fake with css and javascript, and if the user takes the data just how I did, it can be worse.

To run the code: php -S localhost:8000

You need php installed, its a lightweight site, the code has comments all round to describe what is happening.

https://github.com/Raheemshah2809/CSRF-coursework this is public to download

csrf-coursework's People

Contributors

raheemshah2809 avatar

Watchers

 avatar

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.