hping wiki

Differences for page hpingstdlib.htcl

Current version compared with version Wed Nov 24 04:56:34 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:
- ->[hping outifname]
- ->[hping GetApdField]
- ->[hping SetApdField]
- ->[hping DelApdField]
- ->[hping GetIpSaddr]
- ->[hping GetIpDaddr]
- ->[hping GetIpTtl]
- ->[hping GetIpProto]
- ->[hping GetTcpSport]
- ->[hping GetTcpDport]
- ->[hping GetTcpSeq]
- ->[hping GetTcpAck]
- ->[hping GetTcpTimestampVal]
- ->[hping GetTcpTimestampEcr]
- ->[hping GetIcmpType]
- ->[hping GetIcmpCode]
- ->[hping GetIcmpId]
- ->[hping GetIcmpSeq]
- ->[hping GetDataHex]
- ->[hping apd2list]
- ->[hping list2apd]
- ->[hping isawake]
- ->[hping DropOutgoingResets]
- ->[hping isempty]
- ->[hping haskey]
+ ->[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