Giter Club home page Giter Club logo

terminhack's Introduction

Terminhack

License Medium Badge Twitter: sandochee

๐Ÿ‘จโ€๐Ÿ’ป Impress your friends by pretending to be a real hacker (works directly from the terminal)

Unlike many websites like Geektyper or Hackertyper, Terminhack shows real hacking tools in action and their possible outcome following a real penetration testing process. It can be used through the website or direcly from the terminal!

I made this little website for fun, while doing my learning month about penetration testing.

๐Ÿ‘‰ Read more


Terminhack is a web service that lets you pretend to be a hacker running real penetration testing tools. Even though it shows the real commands and their response, it does not perform any of these actions for real, it is only faking it. Remember that running any of these commands displayed in Terminhack, for real, against a target or performing hack attempts against a target without their explicit permission is illegal. We are not responsible for any trouble you may get into with this. Terminhack has been built for educational purposes to remember the steps of penetration testing.

๐Ÿ“– How to use

From the browser

Go to https://terminhack.learn.uno and click on the "Run this command from my browser"

From the terminal

curl https://terminhack.srv.learn.uno/hack/sandoche.com -N
# or use the alternative url
# curl https://terminhack.herokuapp.com/hack/sandoche.com -N

# you can replace sandoche.com by any domain name or IP address to prentend hacking a specific target

โš™๏ธ Create your own script

Run the dev server

# install the project
npm install

# run the dev server
npm run dev

Add a script

  1. Go to the src/data folder
  2. You will find the default script hack.yml
  3. Duplicate it and rename it
  4. Edit src/config add another array like this ['hack-id', 'filename.yml'] to the hacksMap Map constructor replace hack-id by the id you want to give to your script and filename.yml by the name you decided on the previous step
  5. Edit your yaml file you will see a structure like this
- type: (char | line | block | linebreak | pause)
  value: host $target
  prefix: default

## Type
# - char: shows your message character after character
# - line: shows your message line after line
# - block: shows your message in one block
# - linebreak: to create a line break in the result
# - pause: will pause the script for the amount of time defined in value

## Value
# Here goes your message or the time of your pauses
# Note that $target will be replaced by the <target> in the url

## Prefix
# Setting a prefix to default will display root@kali:~$ before the message
# You can also put the value of your prefix to replace root@kali:~$
# Or disable it by not specifying prefix
  1. Test your script by running curl http://localhost:3000/<hack-id>/<target> -N or by opening this url in your browser http://localhost:3000/<hack-id>/<target>

Run with docker

docker build . -t terminhack
docker run -p 3000:80 terminhack

๐Ÿค Contributing

Contributions, issues and feature requests are welcome!

โญ๏ธ Show your support

Please โญ๏ธ this repository if this project helped you!

patreon.png

๐Ÿบ Buy me a beer

If you like this project, feel free to donate:

  • PayPal: https://www.paypal.me/kanbanote
  • Bitcoin: 19JiNZ1LkMaz57tewqJaTg2hQWH4RgW4Yp
  • Ethereum: 0xded81fa4624e05339924355fe3504ba9587d5419
  • Monero: 43jqzMquW2q989UKSrB2YbeffhmJhbYb2Yxu289bv7pLRh4xVgMKj5yTd52iL6x1dvCYs9ERg5biHYxMjGkpSTs6S2jMyJn
  • Motive: MOTIV-25T5-SD65-V7LJ-BBWRD (Get Motive Now: https://motive.network)

๐Ÿ“„ License

MIT License

Copyright (c) Sandoche Adittane

terminhack's People

Contributors

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