Include diff complement
This commit is contained in:
parent
046bb21bbb
commit
5a093cf0cf
3 changed files with 12 additions and 4 deletions
|
|
@ -3,6 +3,8 @@
|
|||
import sys
|
||||
from scapy.all import *
|
||||
|
||||
import checksum_from_scapy
|
||||
|
||||
if __name__ == '__main__':
|
||||
iface = sys.argv[1]
|
||||
|
||||
|
|
@ -25,5 +27,7 @@ if __name__ == '__main__':
|
|||
v6_rebuild = pkg_v6.__class__(str(pkg_v6))
|
||||
print("v6: {} - {}".format(v6_rebuild.__repr__(), v6_rebuild[UDP].chksum))
|
||||
|
||||
checksum_from_scapy.checksum()
|
||||
|
||||
|
||||
sendp(pkg, iface=iface, verbose=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue