This article describes, based on example, approaches to automate metasploit attacks using Python. As known metasploit is written in Ruby and doesn’t support scripts written in python, however metasploit has RPC (Remote Procedure Call) interface through which it is possible to run jobs. On the internet i found two libraries written in Python to interact