Skip to content

A Cross-Site Request Forgery demo application built for ITIS 3200.

License

Notifications You must be signed in to change notification settings

csrf-demo/csrf-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSRF Demo

A Cross-Site Request Forgery demo application built for ITIS 3200.

❗ Discalaimer

This application was built under an enourmous time constraint during finals week.

It does not represent our ability to properly structure a web application.

Credentials

Functions

Create a new directory under functions/ called credentials/.

In credentials/ make three files firebase.json, gmail.json, and service-account.json.

Populate these files with the following corresponding data.

firebase.json

{
  "auth_domain": "XXX.firebaseapp.com",
  "database_url": "https:/XXX.firebaseio.com",
  "web_api_key": ""
}

The web_api_key can be found here.

gmail.json

{
  "user": "XXX@gmail.com",
  "pass": ""
}

service-account.json

This file can be downloaded from the Service Accounts tab.