Awesome Open Source
Awesome Open Source

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 [email protected]:~$ before the message
# You can also put the value of your prefix to replace [email protected]:~$
# 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


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Javascript (1,555,308) 
Simulation (3,942) 
Hack (2,916) 
Hacking (2,441) 
Kali Linux (501) 
Nmap (381) 
Metasploit (211) 
Related Projects
Advertising 📦 9
All Projects
Application Programming Interfaces 📦 120
Applications 📦 181
Artificial Intelligence 📦 72
Blockchain 📦 70
Build Tools 📦 111
Cloud Computing 📦 79
Code Quality 📦 28
Collaboration 📦 30
Command Line Interface 📦 48
Community 📦 81
Companies 📦 60
Compilers 📦 60
Computer Science 📦 74
Configuration Management 📦 39
Content Management 📦 167
Control Flow 📦 197
Data Formats 📦 77
Data Processing 📦 266
Data Storage 📦 132
Economics 📦 60
Frameworks 📦 198
Games 📦 122
Graphics 📦 103
Hardware 📦 148
Integrated Development Environments 📦 47
Learning Resources 📦 147
Legal 📦 28
Libraries 📦 119
Lists Of Projects 📦 21
Machine Learning 📦 336
Mapping 📦 61
Marketing 📦 15
Mathematics 📦 55
Media 📦 228
Messaging 📦 97
Networking 📦 304
Operating Systems 📦 84
Operations 📦 120
Package Managers 📦 52
Programming Languages 📦 229
Runtime Environments 📦 96
Science 📦 42
Security 📦 375
Social Media 📦 26
Software Architecture 📦 70
Software Development 📦 68
Software Performance 📦 57
Software Quality 📦 127
Text Editors 📦 45
Text Processing 📦 131
User Interface 📦 310
User Interface Components 📦 465
Version Control 📦 29
Virtualization 📦 68
Web Browsers 📦 38
Web Servers 📦 25
Web User Interface 📦 194