{"id":16492591,"url":"https://github.com/sandoche/terminhack","last_synced_at":"2026-03-01T16:04:08.579Z","repository":{"id":90580381,"uuid":"290534663","full_name":"sandoche/Terminhack","owner":"sandoche","description":"👨‍💻 Impress your friends by pretending to be a real hacker","archived":false,"fork":false,"pushed_at":"2021-04-15T17:31:04.000Z","size":333,"stargazers_count":84,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-15T20:32:47.339Z","etag":null,"topics":["fake-hacking","hack","hacking","kali-linux","metasploit","movie-hacker","nmap","simulation"],"latest_commit_sha":null,"homepage":"https://terminhack.learn.uno","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sandoche.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":null,"patreon":"sandoche","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"https://www.paypal.me/kanbanote"}},"created_at":"2020-08-26T15:29:32.000Z","updated_at":"2025-02-23T06:14:17.000Z","dependencies_parsed_at":"2023-03-09T23:15:18.235Z","dependency_job_id":null,"html_url":"https://github.com/sandoche/Terminhack","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sandoche/Terminhack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandoche%2FTerminhack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandoche%2FTerminhack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandoche%2FTerminhack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandoche%2FTerminhack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sandoche","download_url":"https://codeload.github.com/sandoche/Terminhack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandoche%2FTerminhack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29974332,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T15:41:30.362Z","status":"ssl_error","status_checked_at":"2026-03-01T15:37:07.343Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fake-hacking","hack","hacking","kali-linux","metasploit","movie-hacker","nmap","simulation"],"created_at":"2024-10-11T14:06:28.750Z","updated_at":"2026-03-01T16:04:08.562Z","avatar_url":"https://github.com/sandoche.png","language":"JavaScript","funding_links":["https://patreon.com/sandoche","https://www.paypal.me/kanbanote","https://www.patreon.com/sandoche"],"categories":[],"sub_categories":[],"readme":"# Terminhack\n\n[![License][license-src]][license-href]\n[![Medium Badge](https://badgen.net/badge/icon/medium?icon=medium\u0026label)](https://medium.com/@sandoche)\n[![Twitter: sandochee](https://img.shields.io/twitter/follow/sandochee.svg?style=social)](https://twitter.com/sandochee)\n\n👨‍💻 Impress your friends by pretending to be a real hacker (works directly from the terminal)\n\nUnlike 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!\n\nI made this little website for fun, while doing my learning month about penetration testing.\n\n### 👉 [Read more](https://medium.com/learning-lab/getting-started-with-ethical-hacking-1aa6401355fa)\n\n\u003chr\u003e\n\u003cem\u003eTerminhack 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.\nTerminhack has been built for educational purposes to remember the steps of penetration testing.\u003c/em\u003e\n\u003chr\u003e\n\n\n## 📖 How to use\n\n### From the browser\nGo to https://terminhack.learn.uno and click on the \"Run this command from my browser\"\n\n### From the terminal\n```sh\ncurl https://terminhack.srv.learn.uno/hack/sandoche.com -N\n# or use the alternative url\n# curl https://terminhack.herokuapp.com/hack/sandoche.com -N\n\n# you can replace sandoche.com by any domain name or IP address to prentend hacking a specific target\n```\n\n## ⚙️ Create your own script\n\n### Run the dev server\n```sh\n# install the project\nnpm install\n\n# run the dev server\nnpm run dev\n```\n\n### Add a script\n1. Go to the `src/data` folder\n2. You will find the default script `hack.yml`\n3. Duplicate it and rename it\n4. 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\n5. Edit your yaml file you will see a structure like this\n```yaml\n- type: (char | line | block | linebreak | pause)\n  value: host $target\n  prefix: default\n\n## Type\n# - char: shows your message character after character\n# - line: shows your message line after line\n# - block: shows your message in one block\n# - linebreak: to create a line break in the result\n# - pause: will pause the script for the amount of time defined in value\n\n## Value\n# Here goes your message or the time of your pauses\n# Note that $target will be replaced by the \u003ctarget\u003e in the url\n\n## Prefix\n# Setting a prefix to default will display root@kali:~$ before the message\n# You can also put the value of your prefix to replace root@kali:~$\n# Or disable it by not specifying prefix\n```\n6. Test your script by running  `curl http://localhost:3000/\u003chack-id\u003e/\u003ctarget\u003e -N` or by opening this url in your browser `http://localhost:3000/\u003chack-id\u003e/\u003ctarget\u003e`\n\n### Run with docker\n```sh\ndocker build . -t terminhack\ndocker run -p 3000:80 terminhack\n```\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome!\n\n## ⭐️ Show your support\n\nPlease ⭐️ this repository if this project helped you!\n\n\u003ca href=\"https://www.patreon.com/sandoche\"\u003e[![patreon.png](https://c5.patreon.com/external/logo/become_a_patron_button.png)](https://www.patreon.com/sandoche)\u003c/a\u003e\n\n## 🍺 Buy me a beer\n\nIf you like this project, feel free to donate:\n\n- PayPal: https://www.paypal.me/kanbanote\n- Bitcoin: 19JiNZ1LkMaz57tewqJaTg2hQWH4RgW4Yp\n- Ethereum: 0xded81fa4624e05339924355fe3504ba9587d5419\n- Monero: 43jqzMquW2q989UKSrB2YbeffhmJhbYb2Yxu289bv7pLRh4xVgMKj5yTd52iL6x1dvCYs9ERg5biHYxMjGkpSTs6S2jMyJn\n- Motive: MOTIV-25T5-SD65-V7LJ-BBWRD (Get Motive Now: https://motive.network)\n\n## 📄 License\n\n[MIT License](./LICENSE)\n\nCopyright (c) Sandoche Adittane\n\n\u003c!-- Badges --\u003e\n\n[license-src]: https://img.shields.io/npm/l/darkmode-js.svg\n[license-href]: ./LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandoche%2Fterminhack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsandoche%2Fterminhack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandoche%2Fterminhack/lists"}