![]() |
|
[C#] A problem with gigajew's runpe (ProjectorPE) - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [C#] A problem with gigajew's runpe (ProjectorPE) (/showthread.php?tid=6009708) Pages: Pages
1
2
|
A problem with gigajew's runpe (ProjectorPE) - hdfdunn12 - Sep 20, 2019 So i have been using his code for a while, it was nice and simple Code using System;i was doing everything basic Code ProjectorPE.Run(Convert.FromBase64String(base64payload)but now it just doesnt work, its not the framework version i used this 3 months ago since i was busy with college stuff could you guys tell me where i messed up? I don't want to make myself an idiot. RE: A problem with gigajew's runpe (ProjectorPE) - gigajew - Sep 20, 2019 I accidentally reversed the if-statement about the MTA and STA. Just reverse it and you’ll be good. Like if Arguments > 0 then it should be MTA otherwise STA. However you do need to post your error stack trace so we can actually see whats going on. Also specify your executable architecture etc. RE: A problem with gigajew's runpe (ProjectorPE) - hdfdunn12 - Sep 20, 2019 (Sep 20, 2019 08:42 PM)gigajew Wrote: I accidentally reversed the if-statement about the MTA and STA. Just reverse it and you’ll be good. Like if Arguments > 0 then it should be MTA otherwise STA. However you do need to post your error stack trace so we can actually see whats going on. Also specify your executable architecture etc. well, if you did reverse that accidentally i wonder how did it work in the past it's a x86 executable this is the error i get Code Unhandled Exception: System.BadImageFormatException: Could not load file or assembly '122368 bytes loaded from ConsoleApp3, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format. ---> System.BadImageFormatException: Operation did not complete successfully because the file contains a virus or potentially unwanted software. (Exception from HRESULT: 0x800700E1)also all the firewalls, antiviruses are turned off from gpedit RE: A problem with gigajew's runpe (ProjectorPE) - n0s1eep - Sep 21, 2019 The error message means that Windows Defender, or some other antimalware tool, blocked access to the code in realtime. You probably still have some protections running in the background even if you think you disabled them. RE: A problem with gigajew's runpe (ProjectorPE) - hdfdunn12 - Sep 21, 2019 i tried running it on an rdp too. RE: A problem with gigajew's runpe (ProjectorPE) - n0s1eep - Sep 21, 2019 And did you make sure that all malware protecions were disabled on the RDP machine? RE: A problem with gigajew's runpe (ProjectorPE) - NYANxCAT - Sep 21, 2019 (Sep 20, 2019 11:09 PM)hdfdunn12 Wrote: well, if you did reverse that accidentally i wonder how did it work in the past "did not complete successfully because the file contains a virus or potentially unwanted software." You are using win10 right? RE: A problem with gigajew's runpe (ProjectorPE) - hdfdunn12 - Sep 21, 2019 yep i'm using windows 10, but if the windows 10 antivrius gives me this error " did not complete successfully because the file contains a virus or potentially unwanted software " how could i make it undetected, since i completely renamed the methods, strings, added fake functions, added fake methods RE: A problem with gigajew's runpe (ProjectorPE) - NYANxCAT - Sep 21, 2019 (Sep 21, 2019 09:02 AM)hdfdunn12 Wrote: yep i'm using windows 10, but if the windows 10 antivrius gives me this error " did not complete successfully because the file contains a virus or potentially unwanted software " how could i make it undetected, since i completely renamed the methods, strings, added fake functions, added fake methods There are many methods/tricks to bypass wd win10. One of them is to make your file/rat 2.0 framework. You need to search for other methods. GL RE: A problem with gigajew's runpe (ProjectorPE) - Washi - Sep 21, 2019 (Sep 20, 2019 08:42 PM)gigajew Wrote: I accidentally reversed the if-statement about the MTA and STA. Just reverse it and you’ll be good. Like if Arguments > 0 then it should be MTA otherwise STA. However you do need to post your error stack trace so we can actually see whats going on. Also specify your executable architecture etc. You do realize that the thread apartment state has nothing to do with the number of arguments that the main method defines, right? ❓ RE: A problem with gigajew's runpe (ProjectorPE) - gigajew - Sep 21, 2019 (Sep 21, 2019 09:39 AM)Washi Wrote: You do realize that the thread apartment state has nothing to do with the number of arguments that the main method defines, right? ❓ Not really but in a default scenario the console app would have arguments and the win forms would not RE: A problem with gigajew's runpe (ProjectorPE) - 0xDEAD10CC - Sep 21, 2019 (Sep 21, 2019 10:04 AM)gigajew Wrote: Not really but in a default scenario the console app would have arguments and the win forms would not Hmm?A winforms app can always have arguments, it just depends on if they're processed or not. How do you think notepad opens a file if you specify it as a command line argument? https://docs.microsoft.com/en-us/dotnet/api/system.environment.getcommandlineargs?view=netframework-4.8 But this has nothing to do with thread apartment state either. RE: A problem with gigajew's runpe (ProjectorPE) - gigajew - Sep 21, 2019 (Sep 21, 2019 06:49 PM)0xDEAD10CC Wrote: Hmm?A winforms app can always have arguments, it just depends on if they're processed or not. How do you think notepad opens a file if you specify it as a command line argument? Visual studio by default makes an ep with no arguments for winforms RE: A problem with gigajew's runpe (ProjectorPE) - hdfdunn12 - Sep 22, 2019 dont argue pls just help me RE: A problem with gigajew's runpe (ProjectorPE) - MavenGradle - Sep 22, 2019 (Sep 21, 2019 10:04 AM)gigajew Wrote: Not really but in a default scenario the console app would have arguments and the win forms would not It's not really that hard to turn this: Code static void Main()Into this: Code static void Main(string[] args) |