mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-03-30 22:19:17 +02:00
Include the direction in the log message
This commit is contained in:
parent
2153df9f64
commit
82631e898b
@ -302,16 +302,16 @@ static DWORD packet_transmit_http(Remote *remote, LPBYTE rawPacket, DWORD rawPac
|
|||||||
hReq = ctx->create_req(ctx, FALSE, "PACKET TRANSMIT");
|
hReq = ctx->create_req(ctx, FALSE, "PACKET TRANSMIT");
|
||||||
if (hReq == NULL)
|
if (hReq == NULL)
|
||||||
{
|
{
|
||||||
BREAK_ON_ERROR("[PACKET TRANSMIT] Failed create_req");
|
BREAK_ON_ERROR("[PACKET TRANSMIT HTTP] Failed create_req");
|
||||||
}
|
}
|
||||||
|
|
||||||
res = ctx->send_req(ctx, hReq, rawPacket, rawPacketLength);
|
res = ctx->send_req(ctx, hReq, rawPacket, rawPacketLength);
|
||||||
if (!res)
|
if (!res)
|
||||||
{
|
{
|
||||||
BREAK_ON_ERROR("[PACKET TRANSMIT] Failed send_req");
|
BREAK_ON_ERROR("[PACKET TRANSMIT HTTP] Failed send_req");
|
||||||
}
|
}
|
||||||
|
|
||||||
dprintf("[PACKET TRANSMIT] request sent.. apparently");
|
dprintf("[PACKET TRANSMIT HTTP] request sent.. apparently");
|
||||||
} while(0);
|
} while(0);
|
||||||
|
|
||||||
ctx->close_req(hReq);
|
ctx->close_req(hReq);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user