Jump to content
Moopler

Search the Community

Showing results for tags 'authentication'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Moopler & You
    • Feedback
    • General Discussion
    • Introductions & Farewells
    • News
  • MapleStory Global
    • Discussion
    • Questions
    • Hacks, Resources & Tutorials
    • Programming
  • Other MapleStory Regions
    • South-East Asia
    • Mobile

Categories

  • MapleStory Global
    • Hacks
    • Resources
  • Programming
    • General Resources
  • MapleStory M

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 3 results

  1. I wrote a small library in C# which uses Nexon's API to obtain a Passport Token. This token can be used to spawn a MapleStory instance, without having to login through Nexon Launcher or any other (supported) method. GitHub link Todo Structure the project and auth methods ✔️ Reverse Web Auth ✔️ Reverse NMCO*.dll Auth ❌ Example code private async void ExampleFunction(string email, string password) { WebAuthentication web = new WebAuthentication(); NexonPassport passport = default(NexonPassport); try { passport = await web.GetNexonPassport(email, password); } catch (WebAuthenticationException wEx) { switch(wEx.ErrorCode) { case WebAuthenticationErrorCodes.InvalidEmail: case WebAuthenticationErrorCodes.InvalidPassword: MessageBox.Show(wEx.Message, "Authentication Error", MessageBoxButton.OK, MessageBoxImage.Error); return; case WebAuthenticationErrorCodes.InvalidClient: case WebAuthenticationErrorCodes.UntrustedDevice: MessageBox.Show(wEx.Message + "\r\n" + "Check your e-mail and manually verify your identity.", "API Configuration Error", MessageBoxButton.OK, MessageBoxImage.Stop); return; } } //Use the token here by accessing passport.Token; ... } Disclaimer I wrote this library in a relatively short amount of time and it is the first library that was created with the intent to share. If you have any improvements feel free to contribute. This library is created for the sole purpose of allowing people to roll their own launcher. The Nexon Launcher is a painfully awful launcher filled with unnecessary features. Use at your own risk, as I am unsure whether this is in violation of Nexon's Terms of Service. Support is only provided on Moopler.net. This is a working example on how to spawn a MapleStory instance using this library: private async void StartInstanceAction(PasswordBox password) { WebAuthentication web = new WebAuthentication(); NexonPassport passport = default(NexonPassport); try { passport = await web.GetNexonPassport(PassportEmail, password.Password); } catch (WebAuthenticationException wEx) { switch(wEx.ErrorCode) { case WebAuthenticationErrorCodes.InvalidEmail: case WebAuthenticationErrorCodes.InvalidPassword: MessageBox.Show(wEx.Message, "Authentication Error", MessageBoxButton.OK, MessageBoxImage.Error); return; case WebAuthenticationErrorCodes.InvalidClient: case WebAuthenticationErrorCodes.UntrustedDevice: MessageBox.Show(wEx.Message + "\r\n" + "Check your e-mail and manually verify your identity.", "API Configuration Error", MessageBoxButton.OK, MessageBoxImage.Stop); return; } } try { await Task.Run(() => { Process.Start(new ProcessStartInfo() { FileName = Properties.Settings.Default.MaplePath, WorkingDirectory = Properties.Settings.Default.MaplePath.Replace("\\MapleStory.exe", string.Empty), Verb = "runas", Arguments = $"-nxl {passport.Token}" }); }); } catch (FileNotFoundException) { MessageBox.Show("MapleStory.exe cannot be located at the configured file path. Please verify and try again.", "Error", MessageBoxButton.OK, MessageBoxImage.Error); } catch (Win32Exception) { MessageBox.Show("MapleStory.exe can be found, but cannot be opened. Do you have the privileges to open this file?", "Error", MessageBoxButton.OK, MessageBoxImage.Error); } }
  2. Hi boys 'n grills, A while ago I re-reversed the way the Nexon Launcher obtains the login token, so I could use my CLB again as well as my launcher. In case you wanted to code your own CLB or launcher, you can use these snippets to authenticate your accounts and obtain the required login token. Code How to use WebApi webApi = new WebApi(); if(!webApi.AccessToken.IsValid()) { await webApi.GetAccessToken(s.Context.Profile.Email, s.Context.Profile.Password); } NexonPassport passport = await webApi.GetPassport(webApi.AccessToken.Token); Console.WriteLine(passport.Token); Credits to Waty for the original structure of the WebApi class.
  3. Razz

    Moopler Two Factor Authentication

    Dear Mooplers, Moopler now supports a new Two Factor Authentication method: One Time Passport (OT). You can use a smartphone app to scan a QR code and receive a one-time password everytime you visit Moopler. You can setup 2-FA OTP through Account Settings > Account Security > Google Authenticator. Personally I recommend everyone to use the open source version called 'FreeOTP', maintained by Fedora or Red Hat. It's available on the Google Play Store and iOS Marketplace. Stay safe! Sincerely yours, Razz
×