Giter VIP home page Giter VIP logo

python-troll-server's Introduction

Python-Troll-Server

An API server designed for trolling the user who uses a pc with this installed. Written in python. This can be used remotely if you port forward port 80 in your router. You can ofcourse change the port to whatever you like.

Installation

  1. Have python3 installed
  2. clone the repo
  3. pip install -r requirements.txt
  4. python shutdown.py

Demo

Demo video

Features

  1. shutdown
  2. restart
  3. grab screenshot
  4. show fake pop ups
  5. control mouse
  6. control keyboard, alt f4 and the best stuff
  7. TTS, Text To Speach. I am using google variant gTTS

routes

/ [GET] (test if server is up)
/shutdown [GET] (shuts down the pc)
/restart [GET] (restarts the pc)
/alt_f4 [GET] (presses alt f4)
/move_mouse [GET] (moves mouse to corner)
/mouse_spaz [GET] (moves mouse in a square around the screen)
/showerror_spam [GET] (creates multiple fake pop ups)
/screenshot [GET] (takes a screenshot and sends the image)

/showerror [POST]{title}{message} (create fake popup with title and message)
/text [POST]{text}{use_enter} (type text on screen and press enter if use_enter is true)
/speak [POST]{text}{language}{slow} (speak the text using language as dialect and speak slower if slow is true)

python-troll-server's People

Contributors

artiomsu 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.