NullCode1337 / NullRAT

Your next stealthy Remote Access Trojan
239 stars 51 forks source link

[Issue] Compiler not working #30

Closed Jamster707 closed 2 years ago

Jamster707 commented 2 years ago

when trying to compile it, it says:

Capture

it still makes a file, but the file doesn't do anything when opened

ghost commented 2 years ago

as I said back in #27

The error is because the compiler failed to delete a directory, I programmed those that are assured to be there, strange, ignore it, it won't cause an issue, I will add a try catch block to catch the exception

I've not done it since I've tried to make the compiler code cleaner than it's now, that error is normal, since it fails to delete the folder. If NullRAT Compiler compiled the RAT in practically nothing, then it's broken. If such case presents, please, notify me.

Jamster707 commented 2 years ago

as I said back in #27

The error is because the compiler failed to delete a directory, I programmed those that are assured to be there, strange, ignore it, it won't cause an issue, I will add a try catch block to catch the exception

I've not done it since I've tried to make the compiler code cleaner than it's now, that error is normal, since it fails to delete the folder. If NullRAT Compiler compiled the RAT in practically nothing, then it's broken. If such case presents, please, notify me.

what do you mean by "compiled the RAT in practically nothing"?

ghost commented 2 years ago

I mean that if it compiled in a very short time span, then it's likely broken, this might happen because PyArmor and/or PyInstaller refuse to work, as such the compilation will go real fast in a matter of less than 5 seconds, which is an indicator that it didn't compile

Jamster707 commented 2 years ago

I mean that if it compiled in a very short time span, then it's likely broken, this might happen because PyArmor and/or PyInstaller refuse to work, as such the compilation will go real fast in a matter of less than 5 seconds, which is an indicator that it didn't compile

it doesn't do that, but it does create a file that does nothing when opened, and im not sure what i'm doing wrong

ghost commented 2 years ago

I mean that if it compiled in a very short time span, then it's likely broken, this might happen because PyArmor and/or PyInstaller refuse to work, as such the compilation will go real fast in a matter of less than 5 seconds, which is an indicator that it didn't compile

it doesn't do that, but it does create a file that does nothing when opened, and im not sure what i'm doing wrong

Huh, then check if you declared the variables correctly, token, server id, notification channel id, when you execute the RAT it should send a notification to the Discord server you prepared, if you are still lost, and/or don't know what to do, I recommend you check out this tutorial that NullCode made, you may want to tune volume down a bit for it.

NullCode1337 commented 2 years ago

you may want to tune volume down a bit for it.

LMAO

LilCrabby commented 2 years ago

as I said back in #27

The error is because the compiler failed to delete a directory, I programmed those that are assured to be there, strange, ignore it, it won't cause an issue, I will add a try catch block to catch the exception

I've not done it since I've tried to make the compiler code cleaner than it's now, that error is normal, since it fails to delete the folder. If NullRAT Compiler compiled the RAT in practically nothing, then it's broken. If such case presents, please, notify me.

This is what happens to me i get this error message : image

and it would just close without making the file like it did in @NullCode1337 's video.

ghost commented 2 years ago

as I said back in #27

The error is because the compiler failed to delete a directory, I programmed those that are assured to be there, strange, ignore it, it won't cause an issue, I will add a try catch block to catch the exception

I've not done it since I've tried to make the compiler code cleaner than it's now, that error is normal, since it fails to delete the folder. If NullRAT Compiler compiled the RAT in practically nothing, then it's broken. If such case presents, please, notify me.

This is what happens to me i get this error message : image

and it would just close without making the file like it did in @NullCode1337 's video.

Did you add the folder NullCode added to path and signed out as the tutorial said?

LilCrabby commented 2 years ago

as I said back in #27

The error is because the compiler failed to delete a directory, I programmed those that are assured to be there, strange, ignore it, it won't cause an issue, I will add a try catch block to catch the exception

I've not done it since I've tried to make the compiler code cleaner than it's now, that error is normal, since it fails to delete the folder. If NullRAT Compiler compiled the RAT in practically nothing, then it's broken. If such case presents, please, notify me.

This is what happens to me i get this error message : image and it would just close without making the file like it did in @NullCode1337 's video.

Did you add the folder NullCode added to path and signed out as the tutorial said?

I did add the folder and after i just restarted my pc instead of signing out.

NullCode1337 commented 2 years ago

send the full directory you added to path also did you run dependencies installer after adding to path, or before? in the video I do it after

LilCrabby commented 2 years ago

send the full directory you added to path also did you run dependencies installer after adding to path, or before? in the video I do it after

So i got it to work 1 step further, apparently for some reason there were 2 different paths for an install of python with the \scripts folder. So i tried to add the other path and it worked but now i have this message : image

But when i look at the folder it has no RAT.exe in it.

The only one that works it when i select NO for all the build options so without (Custom icon, Comprression and without Obfuscating) that is the only way i get the working exe.

few points of notice. 1) i did run the NullRAT Dependencies again to be sure. 2) i selected yes for al the build options 3) if i select any of the build options it compiles in less then 5 seconds as @usrDottik mentioned here and i get the message in the screenshot.

ghost commented 2 years ago

send the full directory you added to path also did you run dependencies installer after adding to path, or before? in the video I do it after

So i got it to work 1 step further, apparently for some reason there were 2 different paths for an install of python with the \scripts folder. So i tried to add the other path and it worked but now i have this message : image

But when i look at the folder it has no RAT.exe in it.

The only one that works it when i select NO for all the build options so without (Custom icon, Comprression and without Obfuscating) that is the only way i get the working exe.

few points of notice.

  1. i did run the NullRAT Dependencies again to be sure.
  2. i selected yes for al the build options
  3. if i select any of the build options it compiles in less then 5 seconds as @usrDottik mentioned here and i get the message in the screenshot.

Damn it, NullRAT Compiler seems to be broken. I guess we will bring back the batch file, and the Compiler will just be a variable setter for NullRAT, unless I change a bit how the compilation works with Obfuscation, testing the code through PowerShell or CMD will compile it right away, I have my suspicion why (It's regarding spec files btw)

LilCrabby commented 2 years ago

send the full directory you added to path also did you run dependencies installer after adding to path, or before? in the video I do it after

So i got it to work 1 step further, apparently for some reason there were 2 different paths for an install of python with the \scripts folder. So i tried to add the other path and it worked but now i have this message : image But when i look at the folder it has no RAT.exe in it. The only one that works it when i select NO for all the build options so without (Custom icon, Comprression and without Obfuscating) that is the only way i get the working exe. few points of notice.

  1. i did run the NullRAT Dependencies again to be sure.
  2. i selected yes for al the build options
  3. if i select any of the build options it compiles in less then 5 seconds as @usrDottik mentioned here and i get the message in the screenshot.

Damn it, NullRAT Compiler seems to be broken. I guess we will bring back the batch file, and the Compiler will just be a variable setter for NullRAT, unless I change a bit how the compilation works with Obfuscation, testing the code through PowerShell or CMD will compile it right away, I have my suspicion why (It's regarding spec files btw)

if i can help with any more info you need or anything let me know

NullCode1337 commented 2 years ago

alright so since the compiler is broken, I'm gonna bring back the batch one (except there'll be a twist)

please hold on for a moment, and thanks for the intel!

ghost commented 2 years ago

NullRAT Compiler, may now rest in peace. in commit 1058ca9598acfc5b943ef2782f915cfb3af13f55 I removed Compiler, so now @NullCode1337, you need to create your batch magic

NullCode1337 commented 2 years ago

please try out new release of NullRAT, it has fixed compiler https://github.com/NullCode1337/NullRAT/releases/download/v8.0/NullRAT-Release-x86.7z

kakakas33 commented 2 years ago

INFO ==================== Run command ==================== 98 INFO: PyInstaller: 5.0 99 INFO: Python: 3.10.4 112 INFO: Platform: Windows-10-10.0.20348-SP0 option(s) not allowed: --onedir/--onefile --console/--nowindowed/--windowed/--noconsole makespec options not valid when a .spec file is given ERROR Run command failed The system cannot find the file specified. Press any key to continue . . .

LilCrabby commented 2 years ago

please try out new release of NullRAT, it has fixed compiler https://github.com/NullCode1337/NullRAT/releases/download/v8.0/NullRAT-Release-x86.7z

@NullCode1337 cant seem to get it to work (i might not have done it right), should i run the files in order 1,2,3? or is it just 1 and 3 ?

image

NullCode1337 commented 2 years ago

Yup. 1,2,3

LilCrabby commented 2 years ago

Yup. 1,2,3

so i ran nr 1 that went fine, then i ran 2 and it said that the source code needed to be updated and asked if i wanted to update(i chose yes) and then i filled in the info. after filing in the info i think it said something like updating variables and it closed that window. Last i opened 3 and used yes on all except the custom image and after confirming the options the window closed but nothing changed in the folder

i tried all the options on separately but it did not work for me, i also tried running it as admin but that did not change anything for me.

i also tried without updating the source but that also didn't work for me.

NullCode1337 commented 2 years ago

yeah just hold on. I've noticed a lot of problems in the code dottik manages im deleting all of them and rewriting it in batch

oh btw, dont use the microsoft store version of python, pwease

NullCode1337 commented 2 years ago

@LilCrabby @kakakas33 @Jamster707 try out the new new 7.5 release lmao

LilCrabby commented 2 years ago

@LilCrabby @kakakas33 @Jamster707 try out the new new 7.5 release lmao

i might be doing something wrong, After running al 3 i did get an new file named (Variables.py) after running the 2nd file but after i run the 3rd one nothing changed in the files.

NullCode1337 commented 2 years ago

yeah you're probably doing something wrong at this point

nullrat works on both my vm and main host

NullCode1337 commented 2 years ago

it is, and as such I'm making my own well I've already finished making one

ghost commented 2 years ago

yeah just hold on. I've noticed a lot of problems in the code dottik manages im deleting all of them and rewriting it in batch

oh btw, dont use the microsoft store version of python, pwease

The compiler was having problems, I removed it entirely, now it's up to you Null

NullCode1337 commented 2 years ago

yeah just hold on. I've noticed a lot of problems in the code dottik manages im deleting all of them and rewriting it in batch oh btw, dont use the microsoft store version of python, pwease

The compiler was having problems, I removed it entirely, now it's up to you Null

your depinst code was also broken, it wasnt installing pyinstaller and stuff really messed up, so i ended up removing it entirely

ghost commented 2 years ago

yeah just hold on. I've noticed a lot of problems in the code dottik manages im deleting all of them and rewriting it in batch oh btw, dont use the microsoft store version of python, pwease

The compiler was having problems, I removed it entirely, now it's up to you Null

your depinst code was also broken, it wasnt installing pyinstaller and stuff really messed up, so i ended up removing it entirely

But if you want to replace all tools, do it, less work for me :p

NullCode1337 commented 2 years ago

no work for you :P no C# code exists anymore

ghost commented 2 years ago

no work for you :P no C# code exists anymore

😎 Perfect.

ghost commented 2 years ago

So, NullRAT Tools are no more, now u do ur job and code all, imma remove the current src for them

NullCode1337 commented 2 years ago

yes

anyways guys i can't sleep at night if nobody tells me NullRAT works please test!!!

NullCode1337 commented 2 years ago

image a friend got this weird asf "vmware" error wtf. does anyone have ideas as to what it is

oh btw, this is my pc: image

NullCode1337 commented 2 years ago

dont close it, others might still have problems

mfn003 commented 2 years ago

image a friend got this weird asf "vmware" error wtf. does anyone have ideas as to what it is

oh btw, this is my pc: image

maybe path is being parsed wrong? idk im not sure.

NullCode1337 commented 2 years ago

image a friend got this weird asf "vmware" error wtf. does anyone have ideas as to what it is oh btw, this is my pc: image

maybe path is being parsed wrong? idk im not sure.

yeah no idea

anyway issue closing, it's been resolved for 4 people. if you have any further problems create a new issue