-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bnet: Add support for SHA1 pw auth (used in old PvPGN servers)
- Loading branch information
Showing
5 changed files
with
118 additions
and
40 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 |
---|---|---|
|
@@ -23,12 +23,15 @@ Usage | |
|`-roc` |`string`|ROC CD-key| | ||
|`-tft` |`string`|TFT CD-key| | ||
|`-verify` |`bool` |Verify server signature| | ||
|`-sha1` |`bool` |SHA1 password authentication (used in old PvPGN servers)| | ||
|`-create` |`bool` |Create account| | ||
|`-changepass`|`bool` |Change password| | ||
|
||
Example | ||
------- | ||
|
||
Loading version and CD-key info from the default Warcraft III installation directory: | ||
|
||
```bash | ||
➜ ./bncsclient -u niels europe.battle.net | ||
Enter password: | ||
|
@@ -42,6 +45,17 @@ Enter password: | |
12:00:05 [INFO] No one hears you. | ||
``` | ||
|
||
Preset version and CD-key info, SHA1 (PvPGN) password authentication: | ||
|
||
```bash | ||
➜ ./bncsclient -sha1 -u niels -roc FFFFFFFFFFFFFFFFFFFFFFFFFF -tft FFFFFFFFFFFFFFFFFFFFFFFFFF -ev 0x011b01ad -eh 0xaaaba048 rubattle.net | ||
12:00:00 Succesfully logged onto [email protected]:6112 | ||
12:00:00 Joined channel 'Warcraft III RUS-1' | ||
12:00:00 niels has joined the channel (ping: 41ms) | ||
12:00:00 [INFO] Obey the law, rules are the law! | ||
12:00:00 [INFO] Hello niels, welcome to Rubattle.net! | ||
``` | ||
|
||
Download | ||
-------- | ||
|
||
|
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
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
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
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