• Categories
  • Recent
  • Popular
  • Users
  • Search
  • FingerprintSwitcher
  • CustomServers
  • AutomationPlugins
Skins
  • Light
  • Default
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Quartz
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Slate
  • Solar
  • Superhero
  • Vapor
Collapse

Bablosoft

Upload image via multipart/form-data

Scheduled Pinned Locked Moved Support
14 Posts 3 Posters 2427 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    basmail
    replied to Fox on last edited by basmail
    #5

    @Fox said in Upload image via multipart/form-data:

    @basmail said in Upload image via multipart/form-data:

    Any idea why this happens?

    Sniff the requests from the browser and from the BAS, then compare them. This way you can find the cause.

    Yes I did this already, but BAS is just not sending the full request?? Of 10 parameters only 3 are sent?
    If you look at the constructed request and compare it to the sent post request you will notice the difference.
    Is there any way to fix this?

    FoxF 1 Reply Last reply
    0
  • FoxF Offline
    FoxF Offline
    Fox Bablosoft Team
    replied to basmail on last edited by
    #6

    @basmail said in Upload image via multipart/form-data:

    @Fox said in Upload image via multipart/form-data:

    @basmail said in Upload image via multipart/form-data:

    Any idea why this happens?

    Sniff the requests from the browser and from the BAS, then compare them. This way you can find the cause.

    Yes I did this already, but BAS is just not sending the full request?? Of 10 parameters only 3 are sent?
    If you look at the constructed request and compare it to the sent post request you will notice the difference.
    Is there any way to fix this?

    Sometimes the sniffer BAS may not show all the data it sends. Try using Fiddler to analyze the BAS request and analyze the browser request

    B 2 Replies Last reply
    0
  • B Offline
    B Offline
    basmail
    replied to Fox on last edited by
    #7

    @Fox said in Upload image via multipart/form-data:

    Sometimes the sniffer BAS may not show all the data it sends. Try using Fiddler to analyze the BAS request and analyze the browser request

    Dont have to do this because the post response is "Bucket POST must contain a field named 'key'. If it is specified, please check the order of the fields."
    Its just not getting sent.

    Seems to be a BAS Bug then?!

    FoxF 1 Reply Last reply
    0
  • FoxF Offline
    FoxF Offline
    Fox Bablosoft Team
    replied to basmail on last edited by
    #8

    @basmail said in Upload image via multipart/form-data:

    @Fox said in Upload image via multipart/form-data:

    Sometimes the sniffer BAS may not show all the data it sends. Try using Fiddler to analyze the BAS request and analyze the browser request

    Dont have to do this because the post response is "Bucket POST must contain a field named 'key'. If it is specified, please check the order of the fields."
    Its just not getting sent.

    Seems to be a BAS Bug then?!

    OK, you don't have to do what I say

    1 Reply Last reply
    0
  • m4zuperM Offline
    m4zuperM Offline
    m4zuper Bablosoft Team
    wrote on last edited by
    #9

    Which site and which query are we talking about specifically? You can send it in private messages.

    1 Reply Last reply
    0
  • B Offline
    B Offline
    basmail
    replied to Fox on last edited by
    #10

    @Fox said in Upload image via multipart/form-data:

    Sometimes the sniffer BAS may not show all the data it sends. Try using Fiddler to analyze the BAS request and analyze the browser request

    bf74cfa5-32d1-40f9-b4ec-bf567b476677-grafik.png

    But the constructed request looks like this:

    "x-amz-date",[[AMZ_DATE]],"x-amz-credential",[[AMZ_CRED]],"x-amz-algorithm",[[AMZ_ALGO]],"x-amz-signature",[[AMZ_SEG]],"Content-Type","image/jpeg","policy",[[AMZ_POLICY]],"x-amz-meta-user-id",[[AMZ_UID]],"key",[[AMZ_KEY]],"acl","public-read","file","base64://" + [[BASE64]]
    

    Does anyone know why there is so much missing in the request?

    FoxF 1 Reply Last reply
    0
  • FoxF Offline
    FoxF Offline
    Fox Bablosoft Team
    replied to basmail on last edited by
    #11

    @basmail said in Upload image via multipart/form-data:

    @Fox said in Upload image via multipart/form-data:

    Sometimes the sniffer BAS may not show all the data it sends. Try using Fiddler to analyze the BAS request and analyze the browser request

    But the constructed request looks like this:

    "x-amz-date",[[AMZ_DATE]],"x-amz-credential",[[AMZ_CRED]],"x-amz-algorithm",[[AMZ_ALGO]],"x-amz-signature",[[AMZ_SEG]],"Content-Type","image/jpeg","policy",[[AMZ_POLICY]],"x-amz-meta-user-id",[[AMZ_UID]],"key",[[AMZ_KEY]],"acl","public-read","file","base64://" + [[BASE64]]
    

    Does anyone know why there is so much missing in the request?

    open the request completely, make sure that there is no data being sent after the image data

    7cd24f49-0b63-46b0-9c0e-6ecec879f4c6-изображение.png

    B 1 Reply Last reply
    1
  • B Offline
    B Offline
    basmail
    replied to Fox on last edited by
    #12

    @Fox

    wtf you are right, there is data after the image?

    grafik.png

    How is it possible to prevent this wrong order?

    FoxF 1 Reply Last reply
    0
  • FoxF Offline
    FoxF Offline
    Fox Bablosoft Team
    replied to basmail on last edited by
    #13

    @basmail said in Upload image via multipart/form-data:

    @Fox

    wtf you are right, there is data after the image?

    How is it possible to prevent this wrong order?

    The server should accept data in any order, are you sure there are no more differences and the problem is only in the order of the data?

    B 1 Reply Last reply
    0
  • B Offline
    B Offline
    basmail
    replied to Fox on last edited by
    #14

    @Fox said in Upload image via multipart/form-data:

    The server should accept data in any order, are you sure there are no more differences and the problem is only in the order of the data?

    Everything else is the same, only the order is different when using constructed requests.
    I mean the response is even "Bucket POST must contain a field named 'key'" but when you look at the image its here:
    1da06b99-1deb-49b7-8d1b-b343a9f5aa12-grafik.png
    Before I grabbed the same value:
    1ea9cc85-469d-4662-afd6-cafbb107d105-grafik.png

    Even when I'm sending a invalid random key its the same responsee6f702b2-a19c-403f-8bbf-176b14232ccd-grafik.png

    1 Reply Last reply
    0

  • H

    How to optimize the loading speed and capacity of a website containing many images?

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    526 Views
    No one has replied
  • P

    What is the quickest way to extract data from a single column on Database ?

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    555 Views
    No one has replied
  • H

    can't upload script

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    455 Views
    No one has replied
  • R

    Downloaded image is malformed

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    503 Views
    No one has replied
  • A

    Help - How to scrape data from Multiple New Email - from same sender address

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    1202 Views
    No one has replied
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Popular
  • Users
  • Search
  • FingerprintSwitcher
  • CustomServers
  • AutomationPlugins
  • Login

  • Don't have an account? Register

  • Login or register to search.