Browse Source

small changes

aidmar.wainakh 7 năm trước cách đây
mục cha
commit
d2c73512ce
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      code/Attack/PortscanAttack.py

+ 1 - 2
code/Attack/PortscanAttack.py

@@ -300,8 +300,7 @@ class PortscanAttack(BaseAttack.BaseAttack):
                                     options=[('MSS', mss_dst)])
                 reply = (reply_ether / reply_ip / reply_tcp)
                 # Aidmar - edit name timestamp_reply
-                timestamp_reply = update_timestamp(timestamp_next_pkt, pps, maxdelay) # TO-DO
-
+                timestamp_reply = timestamp_next_pkt + maxdelay # TO-DO
 
                 if len(replies) > 0:
                     last_reply_timestamp = replies[-1].time