![]() |
|
[.NET] [Tut] bypass any login form [[ with Assembly & Activator ]] - 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: [.NET] [Tut] bypass any login form [[ with Assembly & Activator ]] (/showthread.php?tid=1410171) Pages: Pages
1
2
|
[Tut] bypass any login form [[ with Assembly & Activator ]] - Manager - Jun 23, 2011 want to learn how to bypass login forms ? and such things ? you came to the best place. it work on protected .net files too. EXPLAIN :: with this methood we can pass on all .net file 'Forms' so if we have an application with login form. we can use this methood to bypass the 'login' form. Code code was update'd// lets create a form list. Code var formList = new List<Form>();// let create assembly Code var asm = Assembly.LoadFile(@"youFileHere");// get all types Code var types = asm.GetTypes();// move on all the types and check what is form // add it to the list Code for (int i = 0; i < typeList.Length; i++)// now all you have to do is this. Code for (int i = 0; i < formList.Count; i++)&&& FUll code &&& [img]http://lulzimg.com/i23/55b109.png[/img] * - .bLaZeD - Jun 23, 2011 I have no idea what this is supposed to do. Please explain more. * - Krizz - Jun 23, 2011 ye... i agree with the post above. * - Banksу - Jun 23, 2011 I kind of get it (i think), well at least the first part... It's getting the amount of forms in a file? * - KingCobraXD - Jun 23, 2011 (Jun 23, 2011 02:13 PM).bLaZeD Wrote: I have no idea what this is supposed to do. Please explain more. I think he's using reflection to load the main form of an application. That way, you don't need to login.... EDIT: It gets all the forms and shows all of them =) * - Manager - Jun 23, 2011 (Jun 23, 2011 02:15 PM)Banksy™ Wrote: I kind of get it (i think), well at least the first part... It's getting the amount of forms in a file? you can get all forms of the .net file and with showDialog. you see them one by one. (Jun 23, 2011 02:15 PM)KingCobraXD Wrote: I think he's using reflection to load the main form of an application. That way, you don't need to login.... no no no. see what i coded. i dont see here any 'methoodInfo' (Jun 23, 2011 02:13 PM).bLaZeD Wrote: I have no idea what this is supposed to do. Please explain more. you can see all forms of any .net file. and its allow you to pass on any login form. * - KingCobraXD - Jun 23, 2011 There is an easy way to prevent this and i've done it with my keylogger. =) * - tflo - Jun 23, 2011 It appears he is loading all forms in the executable. Which is why in a login/verify form you should pass a value to the main form to be used as a key. * - FileX - Jun 23, 2011 I don't understand it =/ Here's VB.NET code (credits to Manager (I think) ): Code Private Sub GetAllForm(file As String)* - Vysse - Jun 23, 2011 (Jun 23, 2011 02:19 PM)KingCobraXD Wrote: There is an easy way to prevent this and i've done it with my keylogger. =) Doesn't obfuscation prevent Reflection?? * - Manager - Jun 23, 2011 (Jun 23, 2011 02:53 PM)Vysse Wrote: Doesn't obfuscation prevent Reflection?? if it change the file to c \ c+ \ delphi and load the base code into memory. but its not happen. 🤝 * - Vysse - Jun 23, 2011 (Jun 23, 2011 02:57 PM)Manager Wrote: if it change the file to c \ c+ \ delphi and load the base code into memory. No I know for a fact that certain obfuscation measures will prevent reflection based loading... * - .bLaZeD - Jun 23, 2011 Ahh, now I understand. But, cant you do this with reflexil in reflector? * - .bLaZeD - Jun 23, 2011 (Jun 23, 2011 03:05 PM)Vysse Wrote: Everytime you touch your keyboard you make yourself look more like a skid...Well, I didn't really mean that. I realize what the code does, but if you are trying to get past the main form I'm almost 100% positive you can edit it with reflexil. * - KingCobraXD - Jun 23, 2011 (Jun 23, 2011 02:53 PM)Vysse Wrote: Doesn't obfuscation prevent Reflection?? Hmmm..I'm actually not so sure about that. Anyways, you can just have the login form contain some boolean that states whether the user has logged in or not. When the main form loads, it will check the boolean. If it's false, it will exit. If not, it'll continue. That way, this trick wouldn't work at all... |