Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add register_command calls for md5 and sha1

  • Loading branch information...
commit 6a3ad1d887df9d277e4878de94f8700ed8e404f9 1 parent dbd52c5
@egypt egypt authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  data/meterpreter/ext_server_stdapi.php
View
2  data/meterpreter/ext_server_stdapi.php
@@ -514,6 +514,7 @@ function stdapi_fs_search($req, &$pkt) {
if (!function_exists('stdapi_fs_md5')) {
+register_command("stdapi_fs_md5");
function stdapi_fs_md5($req, &$pkt) {
$path_tlv = packet_get_tlv($req, TLV_TYPE_FILE_PATH);
$path = cononicalize_path($path_tlv['value']);
@@ -532,6 +533,7 @@ function stdapi_fs_md5($req, &$pkt) {
if (!function_exists('stdapi_fs_sha1')) {
+register_command("stdapi_fs_sha1");
function stdapi_fs_sha1($req, &$pkt) {
$path_tlv = packet_get_tlv($req, TLV_TYPE_FILE_PATH);
$path = cononicalize_path($path_tlv['value']);
Please sign in to comment.
Something went wrong with that request. Please try again.