Jump to content
Tuts 4 You

Edit History

Please note that revisions older than -1 days are pruned and will no longer show here
JMC31337

JMC31337

“ai_protocol = IPPROTO_ICMP ? <-- why this?“

0316F8A4 will hold all the data returned back from your PARAM3 however you showed me the wrong memory buffer 

“ADDRINFOA struct paramter 4 $ ==> 02B596D0 00000000

$+4 02B596D4 00000000

$+8 02B596D8 00000000

$+C 02B596DC 00000001 ai_protocol = IPPROTO_ICMP ? <-- why this?”


The right param4 buffer -> 0316F8A0 0316F8A4

 

which is why in your second example:

“here I just entered a free address in parm 4 which points to just zero bytes”

You manually changed the pointer to point to a memory buffer that will hold all those returned bytes - in your case they were already 00’s 

Why curl did the icmp I dunno ... does it ping a port before the GET I dunno and I haven’t looked at it’s source code sorry 

 

 

 

 

 

JMC31337

JMC31337

“ai_protocol = IPPROTO_ICMP ? <-- why this?“

0316F8A4 will hold all the data returned back from your PARAM3 however you showed me the wrong memory buffer 

“ADDRINFOA struct paramter 4 $ ==> 02B596D0 00000000

$+4 02B596D4 00000000

$+8 02B596D8 00000000

$+C 02B596DC 00000001 ai_protocol = IPPROTO_ICMP ? <-- why this?”


The right param4 buffer -> 0316F8A0 0316F8A4

 

which is why in your second example:

“here I just entered a free address in parm 4 which points to just zero bytes”

You manually changed the pointer to point to a memory buffer that will hold all those returned bytes - in your case they were already 00’s 

 

 

 

 

 

 

×
×
  • Create New...