A sysPassTool

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
infratec
Always Here
Always Here
Posts: 7695
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

A sysPassTool

Post by infratec »

We use sysPass in our company.

https://github.com/nuxsmin/sysPass
(unfortunatelly not longer active supported, but still a very good solution)

To make it faster and easier to login on all our servers I wrote a 'small' tool: the sysPassTool

It gets all stuff from sysPass via https API calls.
You need to create 6 kinds of API rights per user.
Then you can login via telnet, ssh, http, https and rdp.
In Windows also with autotyping if the website allows this.
Also TOTP is included, because sometimes we use one account for more users, like in github for the development team.
So not each person needs to install the code in the authenticator app on a smartphone.
All additional infos are stored in the note section of the syspass entry like:
autologin:s2000:d100
Which means sleep 2000ms after start the program before autotype starts and use a delay of 100ms between every 'keypress'
As url in syspass I use space separated entries like:
https://sssss ssh://ssss tel://ssss rdp://ssss

A few images:

username is always an e-mail address. An e-mail is send with a 6 digit pin.
After 60 seconds without 2FA pin, program closes.
The token is the syspass API token.
Username and token are stored crypted in an ini file.
Image

Showing 2 entries out of 4028. Automatic logout after 10 minutes without a keypress or mouse move in the OS.
Window comes to front if the last 10 seconds are reached.
Image

Image

You can reload the entries, if something is changed in syspass.
You can copy or show (right click and with consolas as font) username and password.
You can execute the URLs (also rdp is possible) or copy the entries.
You can also show the notices from syspass by right click on the entry.
For searching you can also use regex.
In the first combobox you can select customers.
With 2FA QR-Code you can enable a OTP view like for github.

During a day this reduces the needed time for opening connections a lot. :wink:

I already offered some code int Tips and Tricks section which was needed for this project:

QR code decoder
viewtopic.php?t=76669

OTP stuff
viewtopic.php?p=625776

Keyboard and mouse moves crossplatform
viewtopic.php?p=615498