linsql2 is an updated version of the command line client for MS-SQL that can execute arbitrary SQL queries and OS commands, when the username/password of the MS-SQL server is known. This version supports the API of the latest freetds library.
4a7f09b14553a97a9a8574a315ad5054939fcc9f829e00560c83fedc1daeea48
Linsql is a simple command-line client for MS SQL server which can execute arbitrary SQL queries and OS commands on an MS-SQL hosts that uses a blank 'sa' password, a common default configuration.
8c9396b46daebd7ef569ec0f947a5ed309df55823876b48edcb9daffb8a5e521