S12cybersecurity / RedNeuron

RedNeuron - Framework Creator of Malware focused in attacking Windows but created to execute framework in Linux 👾
67 stars 9 forks source link

Error Creating shell #1

Closed Yaliance closed 1 year ago

Yaliance commented 1 year ago

So I tried using the tool to create a reverse shell and it is showing this error:

`RedNeuron@create-> revshell

[+] Create Undetectable Windows Reverse Shell Provide the following information about YOUR attacker machine

IP = 172.18.178.220 PORT = 5002 PATH to save shell = /home/User

[-] No platform was selected, choosing Msf::Module::Platform::Windows from the payload [-] No arch selected, selecting arch: x64 from the payload No encoder specified, outputting raw payload Payload size: 460 bytes Saved as: /home/User/temp.raw Traceback (most recent call last): File "/home/User/toolkit/RedNeuron/code/aesencrypt.py", line 30, in ciphertext = aesenc(plaintext, KEY) File "/home/User/toolkit/RedNeuron/code/aesencrypt.py", line 15, in aesenc plaintext = pad(plaintext) File "/home/User/toolkit/RedNeuron/code/aesencrypt.py", line 9, in pad return s + (AES.block_size - len(s) % AES.block_size) * chr(AES.block_size - len(s) % AES.block_size) TypeError: can't concat str to bytes

ls: cannot access '/home/User/shell.exe': No such file or directory [-] Error Creating Shell`

I tried taking a look a the aesencrypt.py file to see if there was any errors but everything looks okay

S12cybersecurity commented 1 year ago

It's solved, sorry for late response!

Yaliance commented 1 year ago

Thank you. It works now! I just had to install pycrypto manually since python2 pip doesn't work with Debian, you may want to add that to your readme file :)