Skip to content

command line interface to mBank online banking system

License

Notifications You must be signed in to change notification settings

jwilk/mbank-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is mbank-cli, a basic command-line interface to the online banking system of mBank.

Warning: You use mbank-cli on your own risk! The software is provided “as is”, without warranty of any kind.

Warning: mbank-cli uses the web interface at https://online.mbank.pl/ (or https://online.mbank.cz/, or https://online.mbank.sk/) which is subject to change unexpectedly.

Requirements

  • Perl (≥ 5.14) with the following Perl modules:
    • HTML::Form
    • HTML::TreeBuilder (≥ 5)
    • IO::Socket::SSL (≥ 1.81)
    • IPC::Run (optional: for password encryption, or for password manager support)
    • LWP::UserAgent (≥ 6)
    • LWP::Protocol::https
    • Net::HTTPS
    • Net::SSLeay (≥ 1.43)
    • Term::ReadLine::Gnu (optional: for account password prompt)
  • the Time Zone Database
  • GnuPG (optional: for password encryption)

Cheat sheet for free software distributions

Arch Linux:

pacman -S perl-html-form perl-html-tree perl-lwp-protocol-https
pacman -S perl-term-readline-gnu  # for account password prompt
pacman -S perl-ipc-run  # for password management
pacman -S gnupg  # for password encryption

CentOS 7:

yum install epel-release  # some packages are only in EPEL
yum install perl-core perl-LWP-Protocol-https perl-HTML-Form perl-HTML-Tree
yum install perl-Term-ReadLine-Gnu  # for account password prompt
yum install perl-IPC-Run  # for password management

Debian 8 (jessie) or newer; Ubuntu 14.04 (trusty) or newer:

apt-get install libwww-perl libhtml-form-perl tzdata
apt-get install libterm-readline-gnu-perl  # for account password prompt
apt-get install libipc-run-perl  # for password management
apt-get install gnupg  # for password encryption

Cheat sheet for cpanm(1)

cpanm HTML::Form HTML::TreeBuilder IO::Socket::SSL LWP::UserAgent LWP::Protocol::https Net::HTTPS Net::SSLeay UUID::Tiny
cpanm Term::ReadLine::Gnu  # for account password prompt
cpanm IPC::Run  # for password management