PHP Base64 Encoder - Metasploit
This page contains detailed information about how to use the encoder/php/base64 metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.
Module Overview
Name: PHP Base64 Encoder
Module: encoder/php/base64
Source code: modules/encoders/php/base64.rb
Disclosure date: -
Last modification time: 2018-07-12 17:59:12 +0000
Supported architecture(s): php
Supported platform(s): All
Target service / protocol: -
Target network port(s): -
List of CVEs: -
This encoder returns a base64 string encapsulated in eval(base64_decode()), increasing the size by a bit more than one third.
Module Ranking and Traits
Module Ranking:
- great: The exploit has a default target AND either auto-detects the appropriate target or uses an application-specific return address AFTER a version check. More information about ranking can be found here.
Basic Usage
msf > use encoder/php/base64
msf encoder(base64) > show targets
... a list of targets ...
msf encoder(base64) > set TARGET target-id
msf encoder(base64) > show options
... show and set options ...
msf encoder(base64) > exploit
Go back to menu.
Msfconsole Usage
Here is how the encoder/php/base64 module looks in the msfconsole:
msf6 > use encoder/php/base64
msf6 encoder(php/base64) > show info
Name: PHP Base64 Encoder
Module: encoder/php/base64
Platform: All
Arch: php
Rank: Great
Provided by:
egypt <[email protected]>
Description:
This encoder returns a base64 string encapsulated in
eval(base64_decode()), increasing the size by a bit more than one
third.
Module Options
This is a complete list of options available in the encoder/php/base64 module:
msf6 encoder(php/base64) > show options
Module options (encoder/php/base64):
Name Current Setting Required Description
---- --------------- -------- -----------
Advanced Options
Here is a complete list of advanced options supported by the encoder/php/base64 module:
msf6 encoder(php/base64) > show advanced
Module advanced options (encoder/php/base64):
Name Current Setting Required Description
---- --------------- -------- -----------
VERBOSE false no Enable detailed status messages
WORKSPACE no Specify the workspace for this module
Go back to menu.
Related Pull Requests
- #10293 Merged Pull Request: Fixups for php/base64 and cmd/unix/reverse_bash
- #8716 Merged Pull Request: Print_Status -> Print_Good (And OCD bits 'n bobs)
- #8338 Merged Pull Request: Fix msf/core and self.class msftidy warnings
- #6655 Merged Pull Request: use MetasploitModule as a class name
- #6648 Merged Pull Request: Change metasploit class names
- #5374 Merged Pull Request: Implements msfvenom --smallest
- #2525 Merged Pull Request: Change module boilerplate
- #1241 Merged Pull Request: Removed all $Id$ and $Revision$ occurences
- #674 Merged Pull Request: Comply with msftidy
Go back to menu.
See Also
Check also the following modules related to this module:
Authors
egypt
Version
This page has been produced using Metasploit Framework version 6.1.24-dev. For more modules, visit the Metasploit Module Library.
Go back to menu.