Skip to content

Commit

Permalink
Add register_command calls for md5 and sha1
Browse files Browse the repository at this point in the history
  • Loading branch information
egypt committed May 9, 2012
1 parent dbd52c5 commit 6a3ad1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions data/meterpreter/ext_server_stdapi.php
Expand Up @@ -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']);
Expand All @@ -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']);
Expand Down

0 comments on commit 6a3ad1d

Please sign in to comment.