Giter Site home page Giter Site logo

toxnet's Introduction

Toxnet

Warning: Only use this software according to your current legislation. Misuse of this software can raise legal and ethical issues which I don't support nor can be held responsible for.

Description

Toxnet is a proof-of-concept E2EE P2P C2.
Thanks to xbee and the developers of TokTok this project was simple to create.
The Toxnet code has been commented and is very easy to understand.
This project works by setting up a C2 and having it act as a relay for incoming and outgoing messages.
A better explanation and more features are yet to come! It's getting late, I'll do this tomorrow. ๐Ÿ˜…

C2 is written in Go and uses go-toxcore-c.
Client is written in C and uses c-toxcore.

Setup

Installation is straight forward on Debian-based Linux distributions:

  • sudo apt install libsodium-dev libtoxcore-dev golang -y
  • go get github.com/TokTok/go-toxcore-c
  • Download qTox
  • Place your Tox-ID (from qTox) into net/config.go in the "Admins" array on line 4. View
  • Run go run main.go
  • Upon starting the C2, this will present a "TOX-ID", add this Tox-ID using qTox.
  • Once the server has accepted the incoming friend request and establishes a connection, send "help" as a message to the server.
  • This will send instructions on how to use Toxnet. Example
Generate Linux payload: go run main.go -t linux

toxnet's People

Contributors

0x4meliorate avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

toxnet's Issues

memory leaks in client.c

checked with valgrind:
LEAK SUMMARY:
==6119== definitely lost: 173 bytes in 4 blocks
==6119== indirectly lost: 0 bytes in 0 blocks
==6119== possibly lost: 5 bytes in 1 blocks
==6119== still reachable: 1,720,496 bytes in 34 blocks
==6119== suppressed: 0 bytes in 0 blocks

Compiling statically causes core dump related to 'getaddrinfo'

/usr/bin/ld: /usr/local/lib/libtoxcore.a(network.c.o): in function `addr_resolve':
network.c:(.text+0x2aa3): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

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.