Permalink
Browse files

Add register_command calls for md5 and sha1

  • Loading branch information...
1 parent dbd52c5 commit 6a3ad1d887df9d277e4878de94f8700ed8e404f9 @egypt egypt committed May 9, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 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']);

0 comments on commit 6a3ad1d

Please sign in to comment.