Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* d. mocek */
- char raw_packet[] = {
- /**/
- 0x01, 0x01, 0x00, 0x64, 0x00, 0x08, 0x00, 0x00,/**/0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
- /* S C R I P T */
- 0x01, 0x04, 0x00, 0x64, 0x00, 0x50, 0x00, 0x00, 0x0b, 0x07, 0x53, 0x43, 0x52, 0x49, 0x50, 0x54,
- /* _ N A M E / s t a t u s S C */
- 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x0f, 0x07, 0x53, 0x43,
- /**/
- 0x52, 0x49, 0x50, 0x54, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x4e, 0x41, 0x4d, 0x45, 0x2f, 0x73, 0x74,
- /**/
- 0x61, 0x74, 0x75, 0x73, 0x0e, 0x03, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x4d, 0x45,
- /**/
- 0x54, 0x48, 0x4f, 0x44, 0x47, 0x45, 0x54, 0x0c, 0x03, 0x51, 0x55, 0x45, 0x52, 0x59, 0x5f, 0x53,
- /**/
- 0x54, 0x52, 0x49, 0x4e, 0x47, 0x78, 0x6d, 0x6c, 0x01, 0x04, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00
- };
- FCGI_Header(8):
- header.version = 0x01 (FCGI_VERSION_1)
- header.type = 0x01 (FCGI_BEGIN_REQUEST)
- header.requestIdB1 = 0x00 requestID = 100 <=> (100 >> 8) & 0xff = 0
- header.requestIdB0 = 0x64 requestID = 100 <=> (100 ) & 0xff = 64
- header.contentLengthB1 = 0x00 sizeof(beginRecord.body) = 8 <=> (8 >> 8) & 0xff = 0
- header.contentLengthB0 = 0x08 sizeof(beginRecord.body) = 8 <=> (8 ) & 0xff = 8
- header.paddingLength = 0x00 0
- header.reserved = 0x00 0
- FCGI_BeginRequestBody(8):
- body.roleB1 = 0x00 FCGI_RESPONDER <=> (FCGI_RESPONDER >> 8) & 0xff = 0
- body.roleB0 = 0x01 FCGI_RESPONDER <=> (FCGI_RESPONDER ) & 0xff = 1
- body.flags = 0x01 FCGI_KEEP_CONN
- body.reserved = 0x00 memset(body.reserved, 0, ...)
- 0x00 memset(body.reserved, 0, ...)
- 0x00 memset(body.reserved, 0, ...)
- 0x00 memset(body.reserved, 0, ...)
- 0x00 memset(body.reserved, 0, ...)
- 0x01 FCGI_BEGIN_REQUEST
- 0x04 FCGI_PARAMS
- 0x00
- 0x64 requestID
- 0x00
- 0x50 FCGI_STDIN
- 0x00
- 0x00
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement