steps required to replicate the Check.Point. login mechanism.
Feel free to reuse this and package into an app, daemons, or if you're feeling bored, try brute forcing someone's password.
This is a very domain specific project written out of boredom. For a more serious (probably works for you) alternative, see https://github.com/felixb/cpfw-login