Download the PHP package krzychu12350/phpmetasploit without Composer

On this page you can find all versions of the php package krzychu12350/phpmetasploit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package phpmetasploit

Php Metasploit Library

The PHP library whose code is automatically generated based on the Metasploit framework documentation.

Table of Contents

Documentation of standard methods

Link to documentation

Class diagram

Library class structure

Prerequisites

  1. PHP 8.1.2 minimum
  2. Composer 2.5.5 minimum

Installing and running the library

1. Metasploit RPC server initialization

- via msgrpc plugin

To start the server through the msgrpc plugin, execute the following command in the Metasploit framework default console:

The command has the following parameters:

An example command might be as follows:

- via msfrpcd demon

To start the RPC server through the msfrpcd daemon, launch the system terminal and then execute the following command:

where is the defined password for access to the server, this parameter is required

The above command has the following parameters:

In each of the parameters, means that the value of the parameter must be provided.

An example command might be as follows:

2. Library installation

Before installation, make sure that the Composer package manager is installed in the operating system.

Then run the following command to install the library:

During the library installation process, allow the library to dynamically generate the code by pressing the y key and then the key confirming the selection of this option.

3. Launching the library

To start using the library, initialize the MsfRpcClient class object, and then call the msfAuth method to obtain the authentication token. As a result, you get a token that allow you to execute all functions available in the library.

Run unit tests

To run unit tests launch the system terminal and go to root directory of the library and type in following command:

License

All Rights Reserved

Copyright (c) 2022 Krzysztof Karaś

Created by Krzysztof Karaś


All versions of phpmetasploit with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1.2
ext-curl Version *
lib-curl-zlib Version ^1.2
curl/curl Version ^2.3
rybakit/msgpack Version ^0.9.1
nette/php-generator Version ^4.0
fabpot/goutte Version v4.0.2
composer-plugin-api Version ^2.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package krzychu12350/phpmetasploit contains the following files

Loading the files please wait ....