Skip to content

DeerHacks-2024/catPhish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typing SVG

catPhish

catPhish is a chrome extension made in React and Python, using several APIs services allowing the user to detect whether a page is possible phishing or not.

Usage

  • Git Clone the repository or simply download and extract the zip.
  • cd Frontend
  • npm install & npm install @types/chrome & npm install ts-loader & npm install style-loader & npm install css-loader
  • Python requirements:
pip install Flask
pip install openAI
pip install CORS
pip install requests

Initialization

Using the FireBase Auth & FireStore. Simply replace authentication/firebase.js with the required FireBase configs :

import { initializeApp } from "firebase/app";
import { getAuth } from "firebase/auth";
import { getFirestore } from "firebase/firestore"; 
import { getStorage } from "firebase/storage"; 


const firebaseConfig = {
  apiKey: "API KEY",
  authDomain: "AUTH DOMAIN",
  projectId: "PROJECT ID",
  storageBucket: "STORAGE BUCKET",
  messagingSenderId: "MESSAGE SENDER ID",
  appId: "APP ID"
};

const app = initializeApp(firebaseConfig);

export const auth = getAuth(app);

export const firestore = getFirestore(app);

export const storage = getStorage(app); 

Deployement

  • Deploy On Web: npm run dev
  • Deploy on google extensions:
    • npm run build -> output -> Dist folder
    • Visit chrome://extensions/
    • Enable developer Mode
    • Select Upload Package
    • Select the dist directory & upload.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •