Jump to content

Adryzz

Member
  • Posts

    12
  • Joined

  • Last visited

Everything posted by Adryzz

  1. I mean... if you have a messenger app focused on good security, the least you can have are security researchers in your team imo... Yeah what he should do is report the vulnerabilities and act like nothing happened. What they would have done if they really were security researchers (and not making a messenger app) would have been to reverse engineer it all, report all the vulnerabilities to the respective devs and get this company out of business for a good while until they find other vulnerabilities. (kinda like what happened with Hacking Team's leaked source code.)
  2. OK. A few days ago we've seen a wallpaper that "bricks" (softlocks) some Android devices. If you have a bricked device, debug usb enabled on the phone and the PC trusted by the phone, there is a way to unbrick your device by changing your phone's wallpaper via adb. I've made an app that, when launched via an intent (that we will send using adb) changes the wallpaper to the LTT logo. This way, just reboot and your phone will be up and running again! Here's the project complete with a step-by-step guide on how to unbrick your device: link Hope this can help someone!
  3. i don't need another wi-fi card, because i don't need it (except sometimes with hotspot, but my mobo already comes with it) Are there any cards without wifi but with bluetooth 4.2-5.0?
  4. Does anyone knows of a PCIe card that comes with Bluetooth 5.0 but without Wi-Fi? i don't wanna spend more on WiFi since my motherboard already comes with it and i don't wanna use an USB port for a dongle. Thanks in advance.
  5. MissingMethodException at createinstance saying "Cannot create abstract class"
  6. i get the same error, "cannot create an abstract class"
  7. hi all. i am making a new desktop app, which involves extensions. since i haven't the time to create a scripting language or implementing an existing one, i've chosen to call specific methods of all dlls in a specific folder. so i coded a simple extension that implements Discord RPC. but when i try to run it, a MissingMethodException gets thrown. Here's the code Main assembly: public void InitializeExtensions(string extpath) { foreach (string dll in Directory.GetFiles(extpath, "*.dll")) { Assemblies.Add(Assembly.LoadFile(dll)); } List<Assembly> ToRemove = new List<Assembly>(); //All the assemblies that cannot be initialized will be removed from the list of assemblies foreach (Assembly DLL in Assemblies) { foreach (Type type in DLL.GetExportedTypes()) { try { var c = Activator.CreateInstance(type); type.InvokeMember("Initialize", BindingFlags.InvokeMethod, null, c, new object[] { this }); } catch (MissingMethodException ex) { ToRemove.Add(DLL); MessageBox.Show(String.Format("Could not initialize the extension {0}: MissingMethodException {1}, Path.GetFileName(DLL.Location), ex.Message), "YouTubeDesktop - Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } } } foreach (Assembly a in ToRemove) { Assemblies.Remove(a); } } And the DLL //using main assembly static Form1 Form1; public static DiscordRpcClient Client; public static void Initialize(object[] args) { Form1 = (Form1)args[0]; Client = new DiscordRpcClient("My_ID"); //Set the logger Client.Logger = new ConsoleLogger() { Level = LogLevel.Warning }; //Subscribe to events Client.OnReady += (sender, e) => { Console.WriteLine("Received Ready from user {0}", e.User.Username); }; Client.OnPresenceUpdate += (sender, e) => { Console.WriteLine("Received Update! {0}", e.Presence); }; //Connect to the RPC Client.Initialize(); }
×