Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.
/ Shop4Free Public archive

An applications security project focused on tackling common vulnerabilities present in e-commerce sites.

License

Notifications You must be signed in to change notification settings

adoreblvnk/Shop4Free

Repository files navigation

Shop4Free

An applications security project focused on tackling common vulnerabilities present in e-commerce sites.

Built With: Flask • Wamp64 • Twilio • Stripe


Table of Contents

Demo

Failed Login Attempts

failed login attempts

Custom error page after 3 failed logins.

2FA

2FA

Built with Twilio.

Payment

payment

Built with Stripe.

Admin Logging

admin

Detecting attempted SQL injections, and highlighting them in red.

Getting Started

Prerequisites

  • OpenSSL

Installation

SSL

  • The PEM password for running Shop4Free is rnndmm.

reCaptcha

  1. Sign up @ reCaptcha.
  2. Select v2 Tickbox as the reCaptcha type.
  3. Type 127.0.0.1 as the domain.
  4. Save.
  5. Copy the private & public keys into RECAPTCHA_PRIVATE_KEY & RECAPTCHA_PUBLIC_KEY respectively.
  6. Run the application.

Stripe

Stripe is a 3rd-party payment processor & payment gateway. Stripe composes of an API & CLI.

Stripe Cards:

  1. Success: 4000 0027 6000 3184
  2. Decline: 4000 0000 0000 0002

Steps to Generate Endpoint Secret in Stripe:

  1. From terminal (where stripe.exe is located), generate command stripe listen --forward-to 127.0.0.1:5000/stripe_webhook to get endpoint secret.
  2. Login into Stripe if necessary.
  3. Paste endpoint secret into Stripe webhook function in app.py.

Execution

py app.py

License

This project is licensed under the terms of the MIT license.

Credits

  • Joseph
  • Aden
  • Hao Yu
  • Jayden
  • blvnk

About

An applications security project focused on tackling common vulnerabilities present in e-commerce sites.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published