If you twist it hard enough, mcbash will stand for Yet Another MAC Scanner.
$ wget https://raw.githubusercontent.com/dougy147/mcbash/refs/heads/master/bin/mcbash
$ chmod +x ./mcbash
$ ./mcbashmcbash --help displays most common options.
| Option | Functionality |
|---|---|
-u, --url |
Server's URL/IP |
-w, --wait |
Wait X seconds between each requests |
-b, --break |
Make a break every X requests |
-d, --pause-for |
Break duration (in seconds) |
-s, --stop |
Stop McBash after X tested MACs |
-t, --timeout |
Consider request a timeout after X seconds |
-P, --proxy |
Set the proxy URL (any authentication method supported) |
-pu, --proxy-user |
Set your proxy credentials user:password |
--proxy-file |
Read proxy IPs from a file. Rotation when request timeout |
-EA, --enhanced-auth |
Add SN and DevID1 to GET request (and save them if match) |
| Option | Functionality |
|---|---|
--mac-file |
Choose a file to read MACs from (MACs should be line by line) |
--seq |
Check MACs in sequential order (--range is forced) |
--range |
Set a range for checked MACs |
-F, --from |
Set range lower boundary (lowest MAC value to check) |
-L, --to |
Set range higher boundary (highest MAC value to check) |
--prefix |
Select MACs prefix when screening in random mode |
| Option | Functionality |
|---|---|
--genre-regex |
Ensure specified genre exists (accepts regular expressions) |
--playable |
Ensure stream/channels are playable (requires ffprobe) |
| Option | Functionality |
|---|---|
-k, --keep |
Store expired MACs (valid addresses but expired accounts) |
-np, --default |
Don't ask for parameters. Use default configuration |
--show-only-mac |
Only outputs found MACs |
--no-checkpoint |
Don't store checkpoints |
For advanced settings, read the manual : man mcbash.
To change default options, simply edit $HOME/.config/mcbash/mcbash.conf.
Scan sequentially from 00:1A:79:00:00:00 to 00:1A:79:00:11:11 :
$ mcbash -F 00:1A:79:00:00:00 -L 00:1A:79:00:11:11 --seqUse proxy http://localhost:12345 and user:pwd as username and password :
$ mcbash --proxy http://localhost:12345 --proxy-user user:pwdUse proxies listed in a text file (format must be IP[:PORT], one line = one proxy). Auto-rotation if current proxy fails :
$ mcbash --proxy-file /path/to/proxies-list.txtScan using your own MACs list (one line = one MAC) :
$ mcbash --mac-file ./path/to/your-MACs-list.txtKeep MAC only if a genre containing "4K" or "HEVC" exists, and if channels can be played :
$ mcbash --genre-regex "(4K|HEVC)" --playable$ git clone https://github.com/dougy147/mcbash
$ cd ./mcbash
$ make install$ yay -S mcbashbla bla bla don't hurt anyone with this tool, including yourself 3;)
If mcbash has been of any help to you, I'd be glad and thankful !
BTC : bc1q4cflj0e3hwcn5edut654je86upn37p37gut5yk
