mategol / PySilon-malware

Advanced RAT written in Python language, fully controllable through Discord with dedicated GUI builder to make preparation easier.
https://pysilon.net
MIT License
818 stars 136 forks source link

Error #3

Closed rohanraj-aipro closed 1 year ago

rohanraj-aipro commented 1 year ago

Traceback (most recent call last): File "C:\Users\kanch\OneDrive\Desktop\PySilon-malware-main\compiler.py", line 71, in with open('main.py', 'r') as copy_source_code: source_code = copy_source_code.readlines() File "C:\Users\kanch\AppData\Local\Programs\Python\Python310\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 1516: character maps to

Process finished with exit code 1

mategol commented 1 year ago

try replacing line 71 of compiler.py with: with open('main.py', 'r', encoding='utf-8') as copy_source_code: source_code = copy_source_code.readlines() and let me know if it worked

rohanraj-aipro commented 1 year ago

Traceback (most recent call last): File "C:\Users\kanch\OneDrive\Desktop\PySilon-malware-main\compiler.py", line 87, in case _: edit_source_code.write(source_code[line]) File "C:\Users\kanch\AppData\Local\Programs\Python\Python310\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f4cc' in position 195: character maps to

mategol commented 1 year ago

It's strange. Everything works fine for me

rohanraj-aipro commented 1 year ago

i am keeping the Software Registry name blank.

rohanraj-aipro commented 1 year ago

do you mind solving this issue ? :-

https://github.com/moom825/Discord-RAT/issues/46

By the Way, when will you release another version with camera support ? :) Just asking

mategol commented 1 year ago

video stream through Discord is unfortunately impossible. I would have to make this by using external website or something

rohanraj-aipro commented 1 year ago

no, i was just asking to take camera picture and then the .png/.jpeg to be uploaded in the discord

rohanraj-aipro commented 1 year ago

by the way, i fexed the error.

by changing to :-

with open('main.py', 'rb') as copy_source_code: source_code = copy_source_code.readlines()

it was supporting binary format.

mategol commented 1 year ago

oh, so I will probably take care of this feature asap, but for now I'm wondering why the hell using pywin32 package completely messes up pyinstaller (at least for me, but I checked on different devices and same problem)

mategol commented 1 year ago

right now its impossible (at least for me) to build executable with script that uses pypiwin32 (win32com for password stealer/grabber), and when I uninstall pypiwin32 and pywin32 with pip, every error is gone xd

rohanraj-aipro commented 1 year ago

New error.

File "C:\Users\kanch\OneDrive\Desktop\PySilon-malware-main\main.py", line 24, in from resources.misc import * ModuleNotFoundError: No module named 'resources.misc'

rohanraj-aipro commented 1 year ago

the resources folder is literally there is the same folder as main.py. but it ain't working

mategol commented 1 year ago

damn i love computer science soo much

mategol commented 1 year ago

do you have misc.py in the resources directory?

rohanraj-aipro commented 1 year ago

:) me too

rohanraj-aipro commented 1 year ago

ofc i have

mategol commented 1 year ago

xd

mategol commented 1 year ago

chcek out last release

rohanraj-aipro commented 1 year ago

Thanks

mategol commented 1 year ago

No problem. Have fun :)