![]() |
|
[C#] C# UAC Bypass + Run as administrator - 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#] C# UAC Bypass + Run as administrator (/showthread.php?tid=6009211) Pages: Pages
1
2
|
C# UAC Bypass + Run as administrator - gigajew - Sep 18, 2019 Modified this UAC exploit to run as admin without a prompt. Thanks to Nyan cat, wouldn't be aware of the CVE if it wasn't for them. Nyan's thread: https://hackforums.net/showthread.php?tid=6008376 RE: C# UAC Bypass + Run as administrator - Aadgjmptw72 - Sep 18, 2019 Posting here as a bookmark so i can come back to it later Thanks for sharing RE: C# UAC Bypass + Run as administrator - MavenGradle - Sep 19, 2019 Apparently you think it's fine to allow delays that are less than zero. Why even use a property? RE: C# UAC Bypass + Run as administrator - gigajew - Sep 19, 2019 (Sep 19, 2019 06:57 PM)MavenGradle Wrote: Apparently you think it's fine to allow delays that are less than zero. Why even use a property? Elaborate please RE: C# UAC Bypass + Run as administrator - MavenGradle - Sep 19, 2019 (Sep 19, 2019 07:39 PM)gigajew Wrote: Elaborate please Code public static int Timeout { get; set; } = 100;RE: C# UAC Bypass + Run as administrator - SaketSaket - Sep 20, 2019 again a wonderful code snippet from you... RE: C# UAC Bypass + Run as administrator - deiski - Sep 21, 2019 (Sep 19, 2019 07:40 PM)MavenGradle Wrote: What the fuck is wrong with you guys? Every single time he posts, you have one of losers have to be assholes about it rather than give proper constructive criticism / the fix to the issue. No wonder this section is dying. Thanks for the share OP. RE: C# UAC Bypass + Run as administrator - NYANxCAT - Sep 21, 2019 Amazing work and very clean code. Good job RE: C# UAC Bypass + Run as administrator - learner319 - Oct 3, 2019 (Sep 21, 2019 07:14 AM)˗ˏˋ NYAN CAT ˎˊ˗ Wrote: Amazing work and very clean code. Good job Brother if you mind please,Will you add more silent UAC bypass method and reverse proxy ( Quasar Rat has this option but no multiple ddns suport ) ?.I really love your works.I have seen you in github first then HF.I always pray for you <3 RE: C# UAC Bypass + Run as administrator - max_int - Oct 3, 2019 Eager to test this but, i have a problem compiling the code. FileStream.FlushAsync() is not available on the NetFramework 4.0 (only 4.5 and above) and i can(t switch from 4.0 to 4.5. Any thoughts ? Also seems like await does not work with Task as implemented in NetFramework 4.0. RE: C# UAC Bypass + Run as administrator - MavenGradle - Oct 4, 2019 (Oct 3, 2019 03:32 PM)max_int Wrote: Eager to test this but, i have a problem compiling the code. Asynchronous methods are not available in < .NET 4.5 && < C# 5. You'd have to switch your application to >= .NET 4.5, transpile some of the functionality of async await yourself (for which you'd need to know and understand how they are implemented in the .NET Framework) or use a nuget package that transpiles some of the logic to older versions: https://www.nuget.org/packages/Microsoft.Bcl.Async/1.0.168 Be warned though, this nuget package is extremely outdated and you might face several issues but the package is provided by Microsoft. In any case, why would you still be using .NET 4.0 in this day and age? RE: C# UAC Bypass + Run as administrator - naxster - Oct 5, 2019 To make this work, do i need to replace the Stub.cs in Visual studio to yours? :) RE: C# UAC Bypass + Run as administrator - deh Sum Alha - Oct 13, 2019 Very good thread. Thank you! RE: C# UAC Bypass + Run as administrator - Kwasu - May 7, 2020 Nice dude, will analyze in the future RE: C# UAC Bypass + Run as administrator - vaiperboy - May 8, 2020 (Oct 4, 2019 10:56 AM)MavenGradle Wrote: Asynchronous methods are not available in < .NET 4.5 && < C# 5. You'd have to switch your application to >= .NET 4.5, transpile some of the functionality of async await yourself (for which you'd need to know and understand how they are implemented in the .NET Framework) or use a nuget package that transpiles some of the logic to older versions:you know you did too much programming when you use && instead of & xD |