changed strerr to boost::system::error
[anytun.git] / scapy-screenshot
blobb1300ff016a35f6e00ce4775a1fffcd08015275a
1 1 otti@vilap ~/anytun % sudo ./satp.py
2 INFO: did not find python gnuplot wrapper . Won't be able to plot
3 INFO: Can't import PyX. Won't be able to use psdump() or pdfdump()
4 INFO: Can't find Crypto python lib. Won't be able to decrypt WEP
5 INFO: Can't open /etc/ethertypes file
6 Welcome to Scapy (1.0.4.1beta)
7 Test add-on v3.14
8 >>> pkts = rdpcap
9 rdpcap
10 >>> pkts = rdpcap("/home/otti/anytun/nullcypher.pcap")
11 >>> pkts
12 <nullcypher.pcap: UDP:62 TCP:0 ICMP:16 Other:0>
13 >>> pkts[6]
14 <Ether  dst=00:15:0c:33:13:98 src=00:15:58:30:fb:95 type=0x800 |<IP  version=4L ihl=5L tos=0x0 len=138 id=0 flags=DF frag=0L ttl=64 proto=UDP chksum=0x5546 src=192.168.1.24 dst=83.64.208.28 options='' |<UDP  sport=4444 dport=4444 len=118 chksum=0xe5a4 |<SATP  seq=826L id=0 |<Raw  load='B,\xa1lx\x8fR\xdd\xb5\x1c"\x9c\x08\x00E\x00\x00T\x00\x00@\x00@\x01)T\xc0\xa8\xc8\x02\xc0\xa8\xc8\x01\x08\x004r\x1f\x12\x02\xc8\x08\xad\xa4F\xfc\xbc\r\x00\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !"#$%&\'()*+,-./01234567eX\x00\x00\x00\x00' |>>>>>
15 >>> pkts[6].show2()
16 ###[ Ethernet ]###
17   dst= 00:15:0c:33:13:98
18   src= 00:15:58:30:fb:95
19   type= 0x800
20 ###[ IP ]###
21      version= 4L
22      ihl= 5L
23      tos= 0x0
24      len= 138
25      id= 0
26      flags= DF
27      frag= 0L
28      ttl= 64
29      proto= UDP
30      chksum= 0x5546
31      src= 192.168.1.24
32      dst= 83.64.208.28
33      options= ''
34 ###[ UDP ]###
35         sport= 4444
36         dport= 4444
37         len= 118
38         chksum= 0xe5a4
39 ###[ SATP ]###
40            seq= 826L
41            id= 0
42 ###[ Raw ]###
43               load= 'B,\xa1lx\x8fR\xdd\xb5\x1c"\x9c\x08\x00E\x00\x00T\x00\x00@\x00@\x01)T\xc0\xa8\xc8\x02\xc0\xa8\xc8\x01\x08\x004r\x1f\x12\x02\xc8\x08\xad\xa4F\xfc\xbc\r\x00\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !"#$%&\'()*+,-./01234567eX\x00\x00\x00\x00'
44 >>>