Request Example shell 1 pro.register,, ProductKey Response Example json 1 2 result success, 3 productkey XXXX-XXXX-XXXX-XXXX, 4 productserial 4dde9e80-c0b2cb0b-6d31b554, 5 producttype Metasploit Pro, 6 productversion 4.11.0, 7 productrevision 1, 8 registered true, 9 activated false, 10 expiration 0, 11 person, 12 organization, 13 email, 14 users 1, 15 hardware true 16 pro.activate The pro.activate method causes the Metasploit Pro installation to attempt an online activation with the previously registered product key and the specified ActivationOptions.If a productkey element is provided in the ActivationOptions hash, this key will be registered prior to the activation process.
![]()
![]() The response to the activate call will either contain a hash of license information, as the pro.register method does, or a hash containing a result element with the value set to failure, and a second element, reason, indicating the reason for this failure. ![]() In the event that activation limit has been reached, Rapid7 Support must be contacted to reset the activation count. Metasploit Offline Activation File Offline Activation FilesOffline activation files are reserved for customers with network isolation requirements and are available through Rapid7 Support. Metasploit Offline Activation File Zip Response ExampleRequest Example shell 1 pro.activateoffline,,, tmpmetasploitproactivation.zip Response Example json 1 2 result success, 3 productkey XXXX-XXXX-XXXX-XXXX, 4 productserial 4dde9e80-c0b2cb0b-6d31b554, 5 producttype Metasploit Pro, 6 productversion 4.11.0, 7 productrevision 1, 8 registered true, 9 activated true, 10 expiration 1325376000, 11 person Licensed Person, 12 organization Licensed Organization, 13 email bobadminexample.org, 14 users 2, 15 hardware true 16 pro.license The pro.license method will return a hash indicating the current Metasploit Pro license. Request Example shell 1 pro.license, Response Example json 1 2 result success, 3 productkey XXXX-XXXX-XXXX-XXXX, 4 productserial 4dde9e80-c0b2cb0b-6d31b554, 5 producttype Metasploit Pro, 6 productversion 4.11.0, 7 productrevision 1, 8 registered true, 9 activated true, 10 expiration 1325376000, 11 person Licensed Person, 12 organization Licensed Organization, 13 email bobadminexample.org, 14 users 2, 15 hardware true 16 pro.revertlicense The pro.revertlicense method attempts to switch to the last successfully activated product license before the current one. Only one backup license copy is kept and this method does nothing if there is no backup license available when it is called. The return value is identical to the pro.license call in that it provides the newly chosen license information as a hash. This method is used to temporarily use a license that may provide more users or other capabilities and then fall back to the original license when that temporary license expires. Request Example shell 1 pro.license, Response Example json 1 2 result success, 3 productkey XXXX-XXXX-XXXX-XXXX, 4 productserial 4dde9e80-c0b2cb0b-6d31b554, 5 producttype Metasploit Pro, 6 productversion 4.11.0, 7 productrevision 1, 8 registered true, 9 activated true, 10 expiration 1325376000, 11 person Licensed Person, 12 organization Licensed Organization, 13 email bobadminexample.org, 14 users 5, 15 hardware false 16 Did this page help you Yes No Using APIs Pro General API Using APIs Pro Updates API.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |