Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🚨 Phishing Detection using Machine Learning πŸ€–

🌐 Overview

This repository contains a Python script for phishing detection using machine learning techniques. The script leverages a dataset of URLs labeled as either legitimate or phishing and employs a Decision Tree Classifier to identify potential phishing URLs.

πŸ“Š Dataset

The dataset (malicious_phish.csv) includes URLs along with their corresponding labels indicating whether they are benign or malicious (phishing). The dataset is loaded into a Pandas DataFrame for analysis and model training.

πŸ› οΈ Features

The script extracts various features from the URLs, including domain characteristics, URL length, redirection, presence of IP address, and more. These features are used as inputs to the machine learning model.

πŸš€ Usage

  1. Open the Jupyter notebook (phishing_detection.ipynb) in an environment that supports execution (e.g., Google Colab).
  2. Execute the notebook cells to load the dataset, extract features, and train the Decision Tree Classifier.
  3. The script splits the dataset into training and testing sets, trains the model, and evaluates its performance.
  4. Review the accuracy of the model on the testing set to assess its effectiveness in phishing detection.

πŸ“ Files

  • malicious_phish.csv: Dataset containing URLs labeled as either benign or phishing.
  • phishing_detection.ipynb: Jupyter notebook containing the script for phishing detection.

πŸ“ˆ Results

The trained model's accuracy on the testing set is computed and displayed. This information helps evaluate the effectiveness of the model in identifying phishing URLs.

πŸ™Œ Acknowledgments

The project uses Python, Pandas, scikit-learn, and other libraries for data manipulation, machine learning, and feature extraction. The dataset source is credited within the script.

Feel free to customize this template further based on your project's specific details or any additional information you'd like to include.

About

This repository hosts a powerful Python script dedicated to phishing detection using cutting-edge machine learning techniques. By harnessing a meticulously curated dataset of URLs classified as either legitimate or phishing, the script leverages a robust XGBooster. Its primary goal is to effectively pinpoint potential phishing URLs

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages