Questions tagged [payload]

The part of the packet, message or code that carries the data. In information security, the term payload generally refers to the part of malicious code that performs the destructive operation.

(1) Refers to the actual data in a packet or file minus all headers attached for transport and minus all descriptive meta-data. In a network packet, headers are appended to the payload for transport and then discarded at their destination. In a key-length-value structure, the key and length are descriptive data about the value (the payload).

(2) In the analysis of malicious software such as worms, viruses and Trojans, it refers to the software's harmful results. Examples of payloads include data destruction, messages with insulting text or spurious e-mail messages sent to a large number of people.

861 questions
6
votes
2 answers

Amazon Simple Notification Service with custom iOS payload not so simple

Sending a plain text notification is easy and well documented. But I've been pulling my hair today regarding sending a custom notification for iOS that has the alert and some fields like userId. I started with this help page and implemented…
victorvartan
  • 1,002
  • 2
  • 11
  • 31
6
votes
1 answer

Unable with a Trello webhook to get infos card after card creation

According to the Trello official documentation (https://trello.com/c/IMVYmVG1/1458-webhooks), about webhook payloads, "when an event triggers, you will receive a JSON payload in the following form : { action: { ... } model: { ... } } But my…
krichtof
  • 83
  • 8
6
votes
2 answers

Invalid Bundle Structure - Does not include a Payload Directory

After I've uploaded binary to iTunes, I got "Invalid Binary" and this mail: Dear Developer, We have discovered one or more issue with your recent delivery. To process your delivery, the following issue must be corrected: Invalid Bundle Structure -…
Bharath Raj
  • 61
  • 1
  • 2
6
votes
2 answers

how to count android gcm payload length

In the android GCM document, it is said the payload has a limit of 4096 bytes. However, I found that I can send a payload with 16834 byes. Did I make a mistake? I computed the length as follows: Map jsonRequest = new…
6
votes
3 answers

size of ICMP type 11 packet payload

What's the size of the ICMP packet payload when the type is 11, i.e. time exceeded? Since it contains an IP header and the first 8 Bytes of the IP packet payload generating the ICMP message, I thought its size was 20 + 8 = 28. I'm replaying some…
Ricky Robinson
  • 21,798
  • 42
  • 129
  • 185
5
votes
3 answers

Updating Configuration Profile installed in iOS device in MDM

I want to send a configuration payload to a device. Eg. I want to send a restriction payload (Disallow safari) to a particular device. i.e. I want to update the configuration profile installed on the device. Do I need to send this configuration…
Manmay
  • 539
  • 2
  • 12
  • 28
5
votes
1 answer

MDM DeviceLock Payload Error

After sending the DeviceLock Payload, I get the below error: : : Failed to parse JSON message payload for topic 'com.apple.mgmt.mycomp.mdm': Unexpected end of input while parsing string at line number 1, column 116
Manmay
  • 539
  • 2
  • 12
  • 28
5
votes
3 answers

Delivering MDM DeviceLock Payload

We were able to get an response with Status as Idle after send the first payload as mdm:. Now we want to send a simple device lock payload. we followed the exact same process to send the payload but the response returned was blank. We are following…
Manmay
  • 539
  • 2
  • 12
  • 28
5
votes
4 answers

Whatsapp API (#132000) Number of parameters does not match the expected number of params

I created below template in Whatsapp API. And I want to set the parameter value in the API call. What is the correct payload ? I have been following the Meta docs and trying but everytime I get error. Please Help. Template: You order # {{1}} is…
5
votes
1 answer

APNS Content Available Push not working in iOS 15

APNS Content available push not received in iOS 15 device when app builds with Xcode 13.0,iOS 15 SDK. Push payload data with content available:1 not working {"aps":{"content-available":1},"update":"2|1"} but normal notification message push…
5
votes
1 answer

nuxt generate payload undefined

I have a Nuxt project, in nuxt.config.js file, I have a function like this: generate: { async routes() { function postRoutes() { return axios .post('https://my-server.com/api/posts') .then((r) =>…
jellytran
  • 61
  • 1
  • 5
5
votes
2 answers

How to receive request payload in service worker?

I've used service worker to intercept HTTP requests to a secure resource and add authorization header to the request (if the the user is already logged in). Now, I have a scenario where a service worker intercepts a POST request to inject…
5
votes
1 answer

How to get sha256 hash output as binary data instead of hex using powershell?

Is there an in-built method to generate SHA256 as a binary data for a given string ? Basically, I am using below bash script to first generate a hash as a binary data and then do a base64 encoding. All I want to have is the exact thing in Powershell…
aashleo
  • 63
  • 1
  • 5
5
votes
1 answer

How to get (binary) payload from actix_web::HttpRequest

I'm writing some web api in Rust. I send Unit8Array from JavaScript with XMLHttpRequest, and I need to read them in server as Bytes. Declaration of my service method is: pub fn user_login_bin(mut req: HttpRequest) { println!("{:?}", req); let mut…
Piotr Płaczek
  • 530
  • 1
  • 8
  • 20
5
votes
4 answers

Passing a Python string into JSON payload

I have this in my code: targetTemp = 17 ... payload = "{\n \"nodes\": [{\n \"attributes\": {\n \"targetHeatTemperature\": {\n \"targetValue\": '+ targetTemp +',\n }\n }\n }]\n}" I've tried a…
AndyJ
  • 133
  • 1
  • 3
  • 13
1 2
3
57 58