Exploit-Discord-Cache-System-PoC
Exploit-Discord-Cache-System-PoC copied to clipboard
victim.py not working
When i run the victim.py that make an error : ValueError: source code string cannot contain null bytes
That's strange. What does the payload look like? Make sure it's a Python script.
For test i just make a payload like print("Hello")
What version of Python are you using? I used Python 3.9 for the demonstration.
Me i use Python 3.8.2 version
What version of Python are you using? I used Python 3.9 for the demonstration.
it doesn't work for me either i used the same version
Make sure the encoding format for the payload is UTF-8. This can be changed in the text editor you're using.
i have the same error, and on the same version
Now when i execute the victim.py, that's make nothing.
yeah it doesnt do anything at all for me
same
Proposal
Something to keep in mind, Discord will modify an image if its too big or whatever. This is how they attempt to equalize sizing in the emojis you send. So a way to play ball with this may be to upload your emoji, then re-download the image from discord and remake your payload with that.
Steps
- Upload emoji image to discord
- Right click and re-download the image
- Create your payload with the new image
- Re-upload
Keep in mind you can also check if the payload was successfully written to the file by running the strings
command in Linux or could just run type
in Windows to see if you can see your payload in plain-text