GSoC/Meterpreter_Web_Console
William Vu 2018-07-17 12:59:00 -05:00
parent 6cd1593061
commit f93e4a24a9
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ class SnifferURL < BaseProtocolParser
end
def parse(pkt)
# We want to return immediatly if we do not have a packet which is handled by us
# We want to return immediately if we do not have a packet which is handled by us
return unless pkt.is_tcp?
return if (pkt.tcp_sport != 80 && pkt.tcp_dport != 80)
s = find_session((pkt.tcp_sport == 80) ? get_session_src(pkt) : get_session_dst(pkt))