✉️💣 LetterBomb
Table of Contents
Installation
PyPi: (recommended)
python3 -m pip install -U letterbomb
Manual: (web server, development)
git clone https://gitlab.com/whoatemybutter/letterbomb.git
cd letterbomb
python -m build
Improvements over original
| WhoAteMyButter's | fail0verflow's | |
|---|---|---|
| Networking | Optional | Required |
| CLI | Yes | No |
| OS support | Linux, Windows, Mac | Linux |
| Logging | Yes | Yes, dependent on Flask |
| API | Yes | No |
| Exceptions | Yes | No |
| Packaging | GitLab, PyPI | Git |
| Dependencies | None (Flask for web) | Flask, geoip2 |
| Pylint | 10.00/10.00 | 4.65/10.00 |
| Python version | 3.10+ | 2.7 only |
| License | MIT | MIT |
| Documentation | Yes | No |
Usage
Python
import letterbomb
# Write to file, include HackMii:
letterbomb.write(mac="mac address", region="region letter", output_file="letterbomb.zip")
# Write to file, exclude HackMii:
letterbomb.write(mac="mac address", region="region letter", pack_bundle=False, output_file="letterbomb.zip")
# Write to stream, include HackMii:
letterbomb.write(mac="mac address", region="region letter")
# Write to stream, exclude HackMii:
letterbomb.write(mac="mac address", region="region letter", pack_bundle=False)
# To log debug messages
letterbomb.LOGGING_LEVEL = letterbomb.logging.DEBUG
# To log output to a file
letterbomb.LOGGING_FILE = "log.txt"
CLI
# Help
python3 -m letterbomb -h
# To include HackMii, output and create a ZIP
python3 -m letterbomb MAC REGION -b -o output.zip
# To enable debug logging
python3 -m letterbomb MAC REGION -g debug -o output.zip
# To use a file for logging output instead
python3 -m letterbomb MAC REGION -l logfile.txt -o output.zip
# To stream bytes instead, and include HackMii (-b)
python3 -m letterbomb MAC REGION -b
# To stream bytes instead, and exclude HackMii
python3 -m letterbomb MAC REGION
Web service
python -m pip install letterbomb[web]
# Or...
python -m pip install letterbomb_web
See https://gitlab.com/whoatemybutter/letterbomb_web.
Documentation
Most casual users should refer to the ReadTheDocs page.
Some may want to build the documentation manually. To do this:
git clone https://gitlab.com/whoatemybutter/letterbomb.git
cd letterbomb/docs
make html
xdg-open _build/html/index.html
If you prefer one-liners, there is one below:
git clone https://gitlab.com/whoatemybutter/letterbomb.git && cd letterbomb/docs && make html && xdg-open _build/html/index.html
Before re-building the documentation, you should also run make clean to prevent stale files from remaining in newer builds.
To read about the exploit itself in more detail, please read this article.
Original source code
- The original source code can be found at https://github.com/fail0verflow/letterbomb.
- The original website can be found at https://please.hackmii.com.
Note: Original code likely will not work out-of-the-box.
License
LetterBomb is licensed under the MIT license. (included file)
Metadata
Release files for letterbomb 4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| letterbomb-4.1.tar.gz | 4.7 MB | Without provenance | Details for letterbomb-4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| letterbomb-4.1-py3-none-any.whl | Python 3 | none | any | Details for letterbomb-4.1-py3-none-any.whl |
Total release size: 9.3 MB
Release files / letterbomb-4.1.tar.gz
| Download URL | letterbomb-4.1.tar.gz |
|---|---|
| Size | 4.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c351260cffe3325f5faf4c13dae54f43cde911902bdd02ea639b71ef24234d00
|
|
BLAKE2b-256 checksum How to use checksums |
4a63056afbcbb83dd1dce8228ec8f64a6659497c138d79b1341ae009675fcaa3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|
Release files / letterbomb-4.1-py3-none-any.whl
| Download URL | letterbomb-4.1-py3-none-any.whl |
|---|---|
| Size | 4.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9a51f4f4cf0f93616dfca2775a23a477b985e3c38326a71387a3b27528d2c7d
|
|
BLAKE2b-256 checksum How to use checksums |
2f9677e23e0a5a2e922c9ce16e4e4db2c6773d20ca0153679463bc7f89124edf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|
Security for letterbomb 4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.