Giter Club home page Giter Club logo

volkansah / poisonivory-lite Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 4.0 2.79 MB

DANGER! DO NOT USE IT! I WARN YOU BEFORE! This script monitors and intercepts Tor traffic to detect and handle malicious activity. It utilizes the Scapy and Stem libraries to analyze network packets and interact with the Tor network.

Home Page: https://github.com/VolkanSah/PoisonIvory-lite

Python 100.00%
black-hat-python blackhat blackhat-python blackhathacking hacking redteam-tools tor against hidden-service sniffing

poisonivory-lite's Introduction

PoisonIvory (lite)

Black Python Scripts for EDU by Volkan Sah - simple codings for 'Offensive Security' (updated 5/2023)

ChatGPT Security

PoisonIvory (lite)

Is a small creative Python script that demonstrates how to intercept requests and execute additional actions when accessed through the Tor network. The script is designed to showcase the interception capability and provides a template for further customization. However, it is important to note that engaging in such activities can have serious legal and ethical implications.

Tor Traffic Monitoring Script

This script monitors and intercepts Tor traffic to detect and handle malicious activity. It utilizes the Scapy and Stem libraries to analyze network packets and interact with the Tor network.

Features

  • Monitors and intercepts Tor traffic in real-time.
  • Detects malicious traffic based on specified keywords.
  • Executes an external script for further analysis or actions like attacks
  • Excludes Tor relays from the circuit.

Prerequisites

  • Python 3.x
  • Scapy library (pip install scapy)
  • Stem library (pip install stem)

Usage

  1. Set the desired .onion address to monitor in the onion_address variable.
  2. Customize the keywords for detecting malicious traffic in the MaliciousTrafficListener class.
  3. Run the script and observe the output for detected malicious traffic.
  4. Customize the intercept_api_requests function to handle intercepted API requests.
  5. Adjust the local address or URL of the external script as needed.
  6. Execute the exclude_malicious_relays function to add malicious relays to the circuit blacklist or create a whitelist with it ๐Ÿ˜…

Important!

WARNING: USE AT YOUR OWN RISK!

Please read the following warnings and considerations carefully before proceeding:

  • Legal Compliance: Interfering with network traffic and executing external scripts without proper authorization can be illegal in many jurisdictions. Ensure that you fully understand and comply with the laws and regulations of your country or region before using this script.
  • Ethical Responsibility: Respect the privacy and security of others. Do not use this script for malicious purposes, personal gain, or any activity that could cause harm or violate the rights of individuals or organizations. It is crucial to conduct ethical testing and obtain appropriate consent before performing any actions that may impact systems or networks.
  • Personal Liability: The author of this script cannot be held responsible for any misuse, damages, legal issues, or consequences resulting from the use of this script. By using PoisonIvory (lite), you assume full responsibility for your actions and any outcomes that may arise.

Notes

  • This script is intended for educational and informational purposes only. It serves as a starting point for understanding API interception techniques and should be used responsibly and legally.
  • Executing code fetched from the internet or local sources can be risky.
  • Ensure that you trust the source and contents of the external script before loading and executing it.

How it Works

PoisonIvory (lite) utilizes the power of Python, Scapy, and Stem libraries to intercept API requests and perform additional actions. When accessed through the Tor network, the script can load and run an external script from a specified URL. It provides a basic framework that can be customized to meet specific requirements or integrate with other security tools.

Acknowledgements

  • This script utilizes the Scapy and Stem libraries.
  • Thanks to the open-source community for their contributions.

issues

Issues to this script are not accepted as it is intended for educational purposes only and not for production use.

Thank you for your support!

  • If you appreciate my work, please consider becoming a 'Sponsor', giving a โญ to my projects, or following me.

Copyright

Disclaimer

This script is provided as-is, without any warranties or guarantees. The author cannot be held responsible for any damages, legal consequences, or misuse arising from the use of this script. Use it responsibly, respect the law, and always consider the potential impact on privacy, security, and the rights of others.

Remember: Be a responsible developer and prioritize the security and well-being of others!

poisonivory-lite's People

Contributors

volkansah avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.