Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aybabtme/bitflip
Flip bits in files.
https://github.com/aybabtme/bitflip
Last synced: 18 days ago
JSON representation
Flip bits in files.
- Host: GitHub
- URL: https://github.com/aybabtme/bitflip
- Owner: aybabtme
- License: mit
- Created: 2020-04-09T19:05:11.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-10T00:15:53.000Z (over 3 years ago)
- Last Synced: 2024-10-14T18:08:12.254Z (about 1 month ago)
- Language: Go
- Size: 231 KB
- Stars: 61
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bitflip
Flip bits in files.
# example
```bash
$ echo hello world > /tmp/hello.world
$ cat < /tmp/hello.world
hello world
$ bitflip random /tmp/hello.world
2020/04/09 17:40:55 flipping 2th bit of byte 6 in file "/tmp/hello.world"
$ cat < /tmp/hello.world
hello sorld
```From here, sky is the limit!
Why not flip 0.1% of the bits in your MySQL DB file?
```
$ bitflip spray percent:0.1 /var/lib/mysql/mydb.idb
```## tldr
If you want to flip bits in files, this utility has got you covered. Flip specific bits, randomly flip a single bit, or spray hell all around..! Whatever rocks your boat, as long as you need some bits flipped.
## installation
### Debian/Ubuntu
```bash
wget https://github.com/aybabtme/bitflip/releases/download/v0.2.0/bitflip_0.2.0_linux_amd64.deb
dpkg -i bitflip_0.2.0_linux_amd64.deb
```### darwin
```bash
brew install aybabtme/homebrew-tap/bitflip
```