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.
- Have python3 installed
- clone the repo
- pip install -r requirements.txt
- python shutdown.py
- shutdown
- restart
- grab screenshot
- show fake pop ups
- control mouse
- control keyboard, alt f4 and the best stuff
- TTS, Text To Speach. I am using google variant gTTS
/
[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)