[comet] user whisper \ already compiled {netbeans}

Results 1 to 10 of 10
  1. #1
    Apprentice Gabriel Paia is offline
    MemberRank
    Sep 2014 Join Date
    6Posts

    [comet] user whisper \ already compiled {netbeans}

    I made an attempt to correct the emulator, compile it (Comet Server)
    I applied the correction given by a User (Ryan) and the error persists, ie changed little, but the error persists

    Error: everyone can read the whispers.

    I applied this code
    New:


    for (PlayerEntity entity : client.getPlayer().getEntity().getRoom().getEntities().getWhisperSeers()) {
    if (entity.getPlayer().getId() != client.getPlayer().getId() && !user.equals(entity.getUsername()) && client.getPlayer().getPermissions().getRank().modTool())
    entity.getPlayer().getSession().send(new WhisperMessageComposer(client.getPlayer().getEntity().getId(), "Whisper to " + user + ": " + filteredMessage));
    }





    OLD:

    for (PlayerEntity entity : client.getPlayer().getEntity().getRoom().getEntities().getWhisperSeers()) {
    if (entity.getPlayer().getId() != client.getPlayer().getId() && !user.equals(entity.getUsername()))
    entity.getPlayer().getSession().send(new WhisperMessageComposer(client.getPlayer().getEntity().getId(), "Whisper to " + user + ": " + filteredMessage));
    }



    Sorry for my English, i`m from brazil
    Last edited by Gabriel Paia; 15-04-16 at 05:29 PM.


  2. #2
    Account Upgraded | Title Enabled! Chapo is offline
    MemberRank
    Jul 2010 Join Date
    United StatesLocation
    944Posts

    Re: [comet] user whisper \ already compiled {netbeans}

    The code must work, but i'm very sure the server isn't recompiled after putting the code. Don't use Netbeans but use IntelliJ Community Edition.

    Goodluck

  3. #3
    Apprentice Gabriel Paia is offline
    MemberRank
    Sep 2014 Join Date
    6Posts

    Re: [comet] user whisper \ already compiled {netbeans}

    Quote Originally Posted by TehMud View Post
    The code must work, but i'm very sure the server isn't recompiled after putting the code. Don't use Netbeans but use IntelliJ Community Edition.

    Goodluck
    I tested using: IntelliJ Community Edition, and the error persisted :(

  4. #4
    Enthusiast Salvo Neutron is offline
    MemberRank
    Dec 2015 Join Date
    36Posts

    Re: [comet] user whisper \ already compiled {netbeans}

    Comet-Server-1.3.1-ALPHA2 Compiled using this fix

  5. #5
    Apprentice Gabriel Paia is offline
    MemberRank
    Sep 2014 Join Date
    6Posts

    Re: [comet] user whisper \ already compiled {netbeans}

    Quote Originally Posted by Salvo Neutron View Post
    Comet-Server-1.3.1-ALPHA2 Compiled using this fix
    This emulator (already compiled), has the fix SQL Injection? :S

  6. #6
    Hakuna Matata Matata is offline
    MemberRank
    Sep 2012 Join Date
    DenmarkLocation
    807Posts

    Re: [comet] user whisper \ already compiled {netbeans}

    Quote Originally Posted by Gabriel Paia View Post
    This emulator (already compiled), has the fix SQL Injection? :S
    What SQL injection?

  7. #7
    Apprentice Gabriel Paia is offline
    MemberRank
    Sep 2014 Join Date
    6Posts

    Re: [comet] user whisper \ already compiled {netbeans}

    Quote Originally Posted by Matata View Post
    What SQL injection?
    In Client (Navigator Search)
    Code: owner:'; DROP TABLE players;

  8. #8
    Account Upgraded | Title Enabled! Chapo is offline
    MemberRank
    Jul 2010 Join Date
    United StatesLocation
    944Posts

    Re: [comet] user whisper \ already compiled {netbeans}

    Quote Originally Posted by Gabriel Paia View Post
    In Client (Navigator Search)
    Code: owner:'; DROP TABLE players;
    This is not possible. I checked the code:

    Last edited by Chapo; 15-04-16 at 11:29 PM.

  9. #9
    Retired Robot is offline
    MemberRank
    Apr 2015 Join Date
    EnglandLocation
    720Posts

    Re: [comet] user whisper \ already compiled {netbeans}

    The older version was vulnerable but the newer version that Leon (Volde) released is safe.

  10. #10
    Apprentice Gabriel Paia is offline
    MemberRank
    Sep 2014 Join Date
    6Posts

    Re: [comet] user whisper \ already compiled {netbeans}

    Quote Originally Posted by Robot View Post
    The older version was vulnerable but the newer version that Leon (Volde) released is safe.
    Thank you.
    How do I fix the error on the whisper (Does anyone have skype)?
    Sorry for the delay to reply. :(



Advertisement