Skip to content

Instantly share code, notes, and snippets.

View rssowmiyan's full-sized avatar
😉
Be happy

sowmiyan rssowmiyan

😉
Be happy
  • Tamil Nadu
  • 22:14 (UTC +05:30)
View GitHub Profile
@rssowmiyan
rssowmiyan / payload.py
Last active May 25, 2023 11:33
base64 payload sample
import base64
with open("image.png", "rb") as image_file:
encoded_image_string = base64.b64encode(image_file.read())
payload = {
"mime" : "image/png",
"image": encoded_image_string,
"some_other_data": None
}