https://github.com/anjupriya-v/web-phishing-detection
Web based machine learning project which will detect whether the web link is malicious or not - Team Project
https://github.com/anjupriya-v/web-phishing-detection
css flask html ibm-db2 javascript machine-learning
Last synced: 3 months ago
JSON representation
Web based machine learning project which will detect whether the web link is malicious or not - Team Project
- Host: GitHub
- URL: https://github.com/anjupriya-v/web-phishing-detection
- Owner: anjupriya-v
- Created: 2023-03-28T15:16:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-02T04:53:01.000Z (over 3 years ago)
- Last Synced: 2025-03-17T10:12:22.986Z (over 1 year ago)
- Topics: css, flask, html, ibm-db2, javascript, machine-learning
- Language: HTML
- Homepage:
- Size: 1.65 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Web Phishing Detection - Team Project
## Team Members
- Anju Priya V
- Sree Lakshmi G
- Saadhana G
- Venkatachalam M
## Demo Video
https://user-images.githubusercontent.com/84177086/228294560-6992908b-8467-4b71-8499-990644c11721.mp4
## Tech Stacks Used
- HTML
- CSS
- Javascript
- Flask
- IBM Db2 on cloud
### Procedure to Run this application
- Clone this repository
```
$ git clone https://github.com/IBM-EPBL/IBM-Project-44647-1660725800.git
```
- Navigate to `Final_Deliverables/Source_Code/Flask` directory
- Open the cmd or terminal and install all the packages in the requirements.txt. To do that, run
```
pip install -r requirements.txt
```
- Then Create the IBM Cloud account and in that, create the IBM Db 2 Cloud Service
- Then download the digital signature file from ibm cloud db 2 service and put it in flask folder root directory
- create the .env file in the flask folder root directory. Then insert the db credentials in the following link and add this link to .env file,
```
IBMDB_URL='DATABASE=DATABASE_NAME;HOSTNAME=HOST_NAME;PORT=PORT_NUMBER;SECURITY=SSL;SSLServerCertificate=DigiCertGlobalRootCA.crt;UID=USER_ID;PWD=PASSWORD'
```
- To create the secret key, open the terminal, type the following and you will get the secret key
```
>>> import os
>>> os.urandom(24)
```
- Then insert the secret key in .env file.
```
SECRET_KEY= SECRET_KEY_VALUE
```
- Then, In IBM Db2 Cloud service, create the table and it's scheme like the following:



- For the contact form to send the queries, use the service called email.js.
- Create the account on email.js (https://www.emailjs.com/)
- Then create the mail service and template on email.js
- Then take the service id, template id and user id and paste it in contact.js (/static/js/contact.js)
- To run the application,
```
flask --app app --debug run
```