09-02-2016, 12:58 PM
here is the string im left with
example:
icmp 1 29 src=192.168.1.1 dst=10.10.12.134 type=8 code=0 id=3 src=10.10.12.134 dst=192.168.1.1 type=0 code=0 id=3 use=1
i need to get only the ip out of this part of string "dst=10.10.12.134 type=8 code=0" and assign the ip to another string.
example:
icmp 1 29 src=192.168.1.1 dst=10.10.12.134 type=8 code=0 id=3 src=10.10.12.134 dst=192.168.1.1 type=0 code=0 id=3 use=1
i need to get only the ip out of this part of string "dst=10.10.12.134 type=8 code=0" and assign the ip to another string.
