Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/someshkar/colabcat
:smiley_cat: Running Hashcat on Google Colab with session backup and restore.
https://github.com/someshkar/colabcat
colabcat google-colab google-colab-notebook hashcat password-cracker password-cracking
Last synced: 19 days ago
JSON representation
:smiley_cat: Running Hashcat on Google Colab with session backup and restore.
- Host: GitHub
- URL: https://github.com/someshkar/colabcat
- Owner: someshkar
- License: mit
- Created: 2020-06-08T12:04:04.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-14T19:24:02.000Z (almost 3 years ago)
- Last Synced: 2024-11-08T22:37:05.439Z (about 1 month ago)
- Topics: colabcat, google-colab, google-colab-notebook, hashcat, password-cracker, password-cracking
- Language: Jupyter Notebook
- Homepage: https://somesh.co/colabcat
- Size: 43.9 KB
- Stars: 721
- Watchers: 26
- Forks: 107
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - someshkar/colabcat - :smiley_cat: Running Hashcat on Google Colab with session backup and restore. (Jupyter Notebook)
README
# Colabcat
Run [Hashcat](https://hashcat.net) on [Google Colab](https://colab.research.google.com) with session restore capabilities with Google Drive.
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/someshkar/colabcat/blob/master/colabcat.ipynb)
## Usage
- Go to the link below to open a copy of the `colabcat.ipynb` file in Google Colab:
https://colab.research.google.com/github/someshkar/colabcat/blob/master/colabcat.ipynb
- Click on `Runtime`, `Change runtime type`, and set `Hardware accelerator` to GPU.
- Go to your Google Drive and create a directory called `dothashcat`, with a `hashes` subdirectory where you can store hashes.
- Come back to Google Colab, click on `Runtime` and then `Run all`.
- When it asks for a Google Drive token, go to the link it provides and authenticate with your Google Account to get the token.
- You can edit the last few cells in the notebook to customize the wordlists it downloads and the type of hash it cracks. A full list of these can be found [here](https://hashcat.net/wiki/doku.php?id=example_hashes).
- If needed, simply type `!bash` in a new cell to get access to an interactive shell on the Google Colab instance.## How it works
Colabcat creates a symbolic link between the `dothashcat` folder in your Google Drive and the `/root/.hashcat` folder on the Google Colab session.
This enables seamless session restore even if your Google Colab gets disconnected or you hit the time limit for a single session, by syncing the `.restore`, `.log` and the `.potfile` files across Google Colab sessions by storing them in your Google Drive.
## Benchmarks
The `benchmarks` directory in this repository lists `.txt` files with hashcat benchmarks run with `hashcat -b`. The list of known Google Colab GPUs are listed below. An up to date list can be found in the [Colab FAQ](https://research.google.com/colaboratory/faq.html).
- Nvidia Tesla K80
- Nvidia Tesla T4
- Nvidia Tesla P4
- Nvidia Tesla P100## Similar projects
- [mxrch/penglab](https://github.com/mxrch/penglab) : This is great if you're looking to use other tools like John and Hydra on Colab too.
## Contributing
Issues and Pull Requests are always welcome. Feel free to contribute new Colab GPU benchmarks and features.