hping wiki

Differences for page hpingstdlib.htcl

Current version compared with version Wed Nov 24 01:46:02 GMT 2004

...
- hpingstdlib.htcl is the hping3 standard library that is inlcuded with hping3, starting in the alpha-2 version.
+ hpingstdlib.htcl is the hping3 standard library.
  
  
- In order to use the standard library functions in your own hping3 script, add the following line to the script:
+ In order to use the standard library functions, insert the following line in your own hping3 script:
   source hpingstdlib.htcl
- 
  hpingstdlib.htcl contains the following helper functions:
- ->[outifname]+ ->[outifname]
+ ->[GetApdField]
+ ->[SetApdField]
+ ->[DelApdField]
+ ->[GetIpSaddr]
+ ->[GetIpDaddr]
+ ->[GetIpTtl]
+ ->[GetIpProto]
+ ->[GetTcpSport]
+ ->[GetTcpDport]
+ ->[GetTcpSeq]
+ ->[GetTcpAck]
+ ->[GetTcpTimestampVal]
+ ->[GetTcpTimestampEcr]
+ ->[GetIcmpType]
+ ->[GetIcmpCode]
+ ->[GetIcmpId]
+ ->[GetIcmpSeq]
+ ->[GetDataHex]
+ ->[apd2list]
+ ->[list2apd]
+ ->[isawake]
+ ->[DropOutgoingResets]
+ ->[isempty]
+ ->[haskey]
+ 

The following is the old page content