This repository has been archived by the owner on May 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
393cbae
commit 8501a4e
Showing
3 changed files
with
84 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2016 SuperFashi | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,52 @@ | ||
# Yun-Brute | ||
[![rcard](https://goreportcard.com/badge/github.com/hanbang-wang/Yun-Brute)](https://goreportcard.com/report/github.com/hanbang-wang/Yun-Brute) | ||
|
||
A working brute-force machine for BaiduYun private share links. | ||
|
||
# Example | ||
![Example-GIF](https://superfashi.b0.upaiyun.com/wp-content/uploads/2016/11/a.gif) | ||
|
||
Try running this link on your own computer/server! | ||
|
||
# Compilation | ||
|
||
Firstly you have to `go get -u` two packages I used in this projext: | ||
|
||
- `gopkg.in/alecthomas/kingpin.v2` | ||
- `gopkg.in/cheggaaa/pb.v1` | ||
|
||
Then clone this project to run. | ||
```bash | ||
git clone https://github.com/hanbang-wang/Yun-Brute | ||
go run brute.go | ||
``` | ||
Or simply uses pre-compiled binaries downloaded [here](https://github.com/hanbang-wang/Yun-Brute/releases). | ||
|
||
# Usage | ||
```bash | ||
brute [<flags>] <link> | ||
|
||
Flags: | ||
-h, --help Show context-sensitive help. | ||
-p, --preset="0000" The preset start of key to brute. | ||
-t, --thread=1000 Number of threads. | ||
|
||
Args: | ||
<link> URL of BaiduYun file you want to get. | ||
``` | ||
|
||
# Feature | ||
- **Resolver** | ||
You can use 2 types of BaiduYun links in the out-of-the-box version. If there's more types of private share links, you can add the resolver yourself, or let me know by sending a PR or taking an issue. | ||
|
||
- **Interrupt-friendly:** | ||
When you press `Ctrl-C` to interrupt the program, it will output the current progress, which allow you to use `-p` flag to continue working later. | ||
|
||
- **Logging:** | ||
Unfortunately the logging would mess up with the progress bar, use `2> /dev/null` to disable logging, or you can try `1>&2`. | ||
|
||
- **Proxying:** | ||
This program contains 4 methods of acquiring proxies, with repetition and failure proxies correction. When there're no proxies left, threads will auto hang up to wait for more proxies to come in. And you can add your own source of proxies easily. | ||
|
||
# License | ||
This little project uses `MIT License`, for more info please visit [LICENSE](LICENSE). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters