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
4
votes
0 answers

How to add custom data into laravel-passport's JWT payload?

Is there a way to add custom data into the payload in Laravel/Passport? When im using tymondesigns/jwt-auth, You usually just add this in the model: public function getJWTCustomClaims() { return [ 'id' =>…
Nic.cu
  • 43
  • 2
4
votes
5 answers

i get an error: "MetaMask - RPC Error: Error: Error: [ethjs-rpc] rpc error with payload"

I send the transaction from my JavaScript Metamask opens the transfer-dialog I confirm I get an error message in metamask (inpage.js:1 MetaMask - RPC Error: Error: Error: [ethjs-rpc] rpc error with payload…
krungle mataman
  • 41
  • 1
  • 1
  • 5
4
votes
2 answers

How to handle JSON request body with the Starlette framework

I am moving my API framework from an older version of ApiStar to Starlette and am having trouble correctly accessing the HTTP body which, in this case, is a JSON payload, in the functions that I am routing to. This is what was working for me with…
jpjenk
  • 459
  • 2
  • 8
  • 14
4
votes
2 answers

Segmentation Fault shell code testing kali 2018

I've read many articles and examples but I have no idea what I can do now. So, I want to test a shellcode for this vulnerable program: #include #include void main(int argc, char *argv[]) { copier(argv[1]); …
Shirakumo
  • 182
  • 1
  • 1
  • 10
4
votes
1 answer

How to send Push Notification With Custom Click Action From Firebase Console

I'm going to send push notification with custom click action to set onClick of notification to open an exact Activity in my project when the app is in foreground or background. In all posts and comments it is written that it is impossible to send…
4
votes
3 answers

Payload in React & React Native

When Redux is used to incorporate the apps state in React & React Native, why is a type required in an action creator but a payload is not required? What purpose does an action creator serve if no payload is attached to the action?
Kelvan Ince
  • 88
  • 1
  • 6
4
votes
1 answer

How to send "Raw XML" inside an XML soap message; C#, .Net Web Service

(I'm using a .Net 2.0 Web Service instead of WCF, because my needs are simple and I want full Mono compatibility...) Ok, I'm a C#/Visual Studio novice, so I apologize for the basic question. The SOAP service I'm communicating with provides a WSDL,…
Joshua Pruitt
  • 134
  • 2
  • 11
4
votes
0 answers

Swift| How To change the sound of Push notification to other system sound?

I'm kind of stuck with this issue. I have a working Push Notification in my app, and i'm trying to let the user to choose his own sound (All sounds are from iPhone built in sounds - kind of 'whatsapp') for a specific push notification. the Payload…
XcodeNOOB
  • 2,135
  • 4
  • 23
  • 29
4
votes
2 answers

PUT object to S3 using v4 authentication without hashing the payload

I am working on a project to upload objects to S3 using java code. There are some external restrictions that limit my implementation and overall I'm not sure if S3 supports what I'm trying to do. The restrictions are: Use V4…
Joe Meadows
  • 61
  • 2
  • 6
4
votes
1 answer

NFC NDEF message formatting : payload size (ISO 15693 header, NfcV)

"Hey bro, what's up ?" I'm in trouble with NDEF message formatting. I went through the NFC forum to know how to build a NDEF message with a single NDEF record (text RTD) with a payload, so I can program my tag (M24LR16E) through I2c. In addition to…
Oswin
  • 539
  • 1
  • 6
  • 20
4
votes
1 answer

which way for RESTful webservice, Spring-WS payloads or Spring 3 MVC REST Controllers?

Im beginner for Spring Webservices. Im trying to create contract-first web services using spring-ws 2.0. I have done web.xml (MessageDispatcherServlet) configurations, my contract-design (XSD), generated JAXB classes and service implementations. Im…
Sridhar
  • 1,832
  • 3
  • 23
  • 44
4
votes
0 answers

request payload versus query string parameters

I am absolutely in the dark when it comes to this request payload that I'm seeing in my Chrome browser. A Query string will have a variable attached like session:2g0SoEE but this payload has just one long string I'm guessing is in base64. I do…
Sarah Sides
  • 41
  • 1
  • 3
4
votes
3 answers

PHP: extracting packed hexadecimal numbers from a string

I'm trying to extract packed hexadecimal numbers from a string. My application is communicating with a server which sends a string with a header followed by 2 byte packed hexadecimal numbers. There are thousands of numbers in this string. What I…
Gregory Peck
  • 636
  • 7
  • 22
4
votes
6 answers

Multiple Defer Loading instances | Javascript

I'm currently reading this article on Deferring the loading of Javascript: https://developers.google.com/speed/docs/best-practices/payload#DeferLoadingJS They use this script: