Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/weilbyte/steamcmd-2fa
Tool for steamcmd that automatically generates and uses a Steam Guard code during login
https://github.com/weilbyte/steamcmd-2fa
steam steam-guard steam-workshop steamcmd
Last synced: about 2 months ago
JSON representation
Tool for steamcmd that automatically generates and uses a Steam Guard code during login
- Host: GitHub
- URL: https://github.com/weilbyte/steamcmd-2fa
- Owner: Weilbyte
- License: mit
- Created: 2020-09-13T17:07:45.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-03T22:56:30.000Z (almost 2 years ago)
- Last Synced: 2023-03-03T00:56:56.533Z (almost 2 years ago)
- Topics: steam, steam-guard, steam-workshop, steamcmd
- Language: Rust
- Homepage:
- Size: 20.5 KB
- Stars: 7
- Watchers: 2
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# steamcmd-2fa
A simple tool that automatically generates a 2FA Steam Guard code and then runs `steamcmd` with that login and the rest of your arguments.
## Installation
You can either clone this and build it yourself or use the supplied binaries for both Windows and Linux.
```bash
git clone https://github.com/weilbyte/steamcmd-2fa
cd steamcmd-2fa
cargo build
```## Usage
```
USAGE:
steamcmd-2fa --path --username --password --secret --argsOPTIONS:
-a, --args Arguments to pass to steamcmd
-h, --help Print help information
-p, --password Password to log in with
--path Path to steamcmd binary
-s, --secret 2FA shared_secret (must be base64 encoded)
-u, --username Username to log in with
```For example, instead of running `steamcmd +login exampleuser examplepass +quit`, you would run `steamcmd-2fa --path /home/steam/steamcmd --username exampleuser --password examplepass --secret YOURSECRET --args "+quit"`.
You can get your 2FA seed by [various methods](https://github.com/SteamTimeIdler/stidler/wiki/Getting-your-%27shared_secret%27-code-for-use-with-Auto-Restarter-on-Mobile-Authentication). Your seed here is the `shared_secret`.
**Please keep your seed/secret VERY safe as people with your seed can easily bypass your 2FA by simply generating the Steam Guard codes themselves!**
*I am not responsible if you somehow manage to lose/get yourself locked out of your account.*## Contributing
Pull requests are welcome.
## License
[MIT](https://choosealicense.com/licenses/mit/)