Aux doesn't have rand_text_alpha

bug/bundler_fix
Meatballs 2014-04-05 19:28:35 +01:00
parent 5fccf986f8
commit 48a88c91d9
No known key found for this signature in database
GPG Key ID: 5380EAF01F2F8B38
1 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ module Exploit::Remote::SMB::Psexec
# @return service_name [String] the name of the service.
def service_name
@service_name ||= datastore['SERVICE_NAME']
@service_name ||= rand_text_alpha(8)
@service_name ||= Rex::Text.rand_text_alpha(8)
end
# Retrieve the SERVICE_DISPLAY_NAME option, generate a random
@ -45,7 +45,7 @@ module Exploit::Remote::SMB::Psexec
# @return service_display_name [String] the display name of the service.
def display_name
@display_name ||= datastore['SERVICE_DISPLAY_NAME']
@display_name ||= rand_text_alpha(16)
@display_name ||= Rex::Text.rand_text_alpha(16)
end
# Retrieve the SERVICE_DESCRIPTION option