Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 --args

OPTIONS:
-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/)