Git Product home page Git Product logo

thug's Introduction

Thug

version badge travis badge Code Health codefactor badge codecov badge

The number of client-side attacks has grown significantly in the past few years shifting focus on poorly protected vulnerable clients. Just as the most known honeypot technologies enable research into server-side attacks, honeyclients allow the study of client-side attacks.

A complement to honeypots, a honeyclient is a tool designed to mimic the behavior of a user-driven network client application, such as a web browser, and be exploited by an attacker's content.

Thug is a Python low-interaction honeyclient aimed at mimicing the behavior of a web browser in order to detect and emulate malicious contents.

Documentation

docs badge

Documentation about Thug installation and usage can be found at http://thug-honeyclient.readthedocs.io/.

Contributions

donate badge

Thug is open source and we welcome contributions in all forms!

Thug is free to use for any purpose (even commercial ones). If you use and appreciate Thug, please consider supporting the project with a donation using Paypal.

Development Setup

To setup a development environment, follow the steps:

git clone https://github.com/buffer/thug.git
cd thug
./dev/dev.sh

The dev script will create a virtualenv environment in a directory called "venv" and install all the mandatory and optional dependencies into it. Thug is installed as a permanent package and the package needs to be installed again executing pip install . in order to compile all the changes.

If you want to install Thug as an "editable", please replace line 11 in dev.sh by the following line and re-run dev.sh

pip2 install -e .

Installing Thug as an "editable" allows changes to the source in the repository to be reflected in the virtualenv.

Make sure that you successfully installed Thug by running the following commands:

. venv/bin/activate
thug --version

Testing

To run the full test suite using tox, run the command:

tox

Since tox builds and installs dependencies from scratch, using pytest for faster testing is recommended:

pytest --cov thug

Support

Thanks to JetBrains for free PyCharm licenses!

License information

Copyright (C) 2011-2019 Angelo Dell'Aera <[email protected]>

License: GNU General Public License, version 2

thug's People

Contributors

adepasquale avatar andrewsmhay avatar armudgal avatar buffer avatar chusta avatar ctsung avatar evilscheme avatar fedelemantuano avatar florianschmitt avatar g4l4drim avatar glaslos avatar katkad avatar kevthehermit avatar mcm avatar nilp0inter avatar nsmfoo avatar pdelsante avatar qistoph avatar redspot avatar rep avatar sroberts avatar tjemg avatar tweemeterjop avatar

Watchers

 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.