AuraDevelopmentTeam / InvSync

This plugin synchronizes the player inventory with a database
GNU General Public License v3.0
12 stars 10 forks source link

about password urlencode #53

Closed Kxnrl closed 4 years ago

Kxnrl commented 4 years ago

Issue Description:

my password has !@- chars..

What happens:

jdbc got wrong password same bug with user

Steps to reproduce:

  1. change your mysql password, and some html chars

Affected Versions

Your most recent log or stack trace file where the issue was present:

acceess denied for xxx@ip .

BrainStone commented 4 years ago

Update Sponge. It was fixed on their side

Kxnrl commented 4 years ago

btw, what is this? can i fix? image

BrainStone commented 4 years ago

I don't know where that is from.
Though if that's a MySQL dump, then that looks normal. You can save that data to a file and take a look at it with an NBT editor.

Kxnrl commented 4 years ago

logs

[06:07:48] [Server thread/INFO] [invsync]: Serializing data of Lilia (f8d0fa26-260b-3d25-9dbb-72328735d7a8)
[06:07:48] [Server thread/INFO] [invsync]:  Module ModSolcarrot
[06:07:48] [Server thread/INFO] [invsync]:      isEnabled:  false
[06:07:48] [Server thread/INFO] [invsync]:      Permission: invsync.sync.mod.solcarrot
[06:07:48] [Server thread/INFO] [invsync]:      hasPermission:  true
[06:07:48] [Server thread/INFO] [invsync]:      getSyncPlayer:  false
[06:07:48] [Server thread/INFO] [invsync]:  Module Inventory
[06:07:48] [Server thread/INFO] [invsync]:      isEnabled:  true
[06:07:48] [Server thread/INFO] [invsync]:      Permission: invsync.sync.inventory
[06:07:48] [Server thread/INFO] [invsync]:      hasPermission:  true
[06:07:48] [Server thread/INFO] [invsync]:      getSyncPlayer:  true
[06:07:48] [Server thread/INFO] [invsync]:  Module EnderChest
[06:07:48] [Server thread/INFO] [invsync]:      isEnabled:  false
[06:07:48] [Server thread/INFO] [invsync]:      Permission: invsync.sync.ender_chest
[06:07:48] [Server thread/INFO] [invsync]:      hasPermission:  true
[06:07:48] [Server thread/INFO] [invsync]:      getSyncPlayer:  false
[06:07:48] [Server thread/INFO] [invsync]:  Module GameMode
[06:07:48] [Server thread/INFO] [invsync]:      isEnabled:  true
[06:07:48] [Server thread/INFO] [invsync]:      Permission: invsync.sync.game_mode
[06:07:48] [Server thread/INFO] [invsync]:      hasPermission:  true
[06:07:48] [Server thread/INFO] [invsync]:      getSyncPlayer:  true
[06:07:48] [Server thread/INFO] [invsync]:  Module Experience
[06:07:48] [Server thread/INFO] [invsync]:      isEnabled:  true
[06:07:48] [Server thread/INFO] [invsync]:      Permission: invsync.sync.experience
[06:07:48] [Server thread/INFO] [invsync]:      hasPermission:  true
[06:07:48] [Server thread/INFO] [invsync]:      getSyncPlayer:  true
[06:07:48] [Server thread/INFO] [invsync]:  Module Health
[06:07:48] [Server thread/INFO] [invsync]:      isEnabled:  true
[06:07:48] [Server thread/INFO] [invsync]:      Permission: invsync.sync.health
[06:07:48] [Server thread/INFO] [invsync]:      hasPermission:  true
[06:07:48] [Server thread/INFO] [invsync]:      getSyncPlayer:  true
[06:07:48] [Server thread/INFO] [invsync]:  Module Hunger
[06:07:48] [Server thread/INFO] [invsync]:      isEnabled:  true
[06:07:48] [Server thread/INFO] [invsync]:      Permission: invsync.sync.hunger
[06:07:48] [Server thread/INFO] [invsync]:      hasPermission:  true
[06:07:48] [Server thread/INFO] [invsync]:      getSyncPlayer:  true
[06:07:48] [Server thread/INFO] [invsync]:  Module PotionEffects
[06:07:48] [Server thread/INFO] [invsync]:      isEnabled:  false
[06:07:48] [Server thread/INFO] [invsync]:      Permission: invsync.sync.potion_effects
[06:07:48] [Server thread/INFO] [invsync]:      hasPermission:  true
[06:07:48] [Server thread/INFO] [invsync]:      getSyncPlayer:  false
[06:07:48] [Server thread/INFO] [invsync]:  Module ModBaubles
[06:07:48] [Server thread/INFO] [invsync]:      isEnabled:  false
[06:07:48] [Server thread/INFO] [invsync]:      Permission: invsync.sync.mod.baubles
[06:07:48] [Server thread/INFO] [invsync]:      hasPermission:  true
[06:07:48] [Server thread/INFO] [invsync]:      getSyncPlayer:  false
[06:07:48] [Server thread/INFO] [invsync]:  Module ModCyclicmagic
[06:07:48] [Server thread/INFO] [invsync]:      isEnabled:  false
[06:07:48] [Server thread/INFO] [invsync]:      Permission: invsync.sync.mod.cyclicmagic
[06:07:48] [Server thread/INFO] [invsync]:      hasPermission:  true
[06:07:48] [Server thread/INFO] [invsync]:      getSyncPlayer:  false
[06:07:48] [Server thread/INFO] [invsync]:  Module ModSpiceoflife
[06:07:48] [Server thread/INFO] [invsync]:      isEnabled:  false
[06:07:48] [Server thread/INFO] [invsync]:      Permission: invsync.sync.mod.spiceoflife
[06:07:48] [Server thread/INFO] [invsync]:      hasPermission:  true
[06:07:48] [Server thread/INFO] [invsync]:      getSyncPlayer:  false
[06:07:48] [Server thread/INFO] [invsync]:  Module ModToughasnails
[06:07:48] [Server thread/INFO] [invsync]:      isEnabled:  false
[06:07:48] [Server thread/INFO] [invsync]:      Permission: invsync.sync.mod.toughasnails
[06:07:48] [Server thread/INFO] [invsync]:      hasPermission:  true
[06:07:48] [Server thread/INFO] [invsync]:      getSyncPlayer:  false
[06:07:48] [Server thread/INFO] [invsync]: {"version":1,"inventory":{"inventory":[{"slot":0,"stack":{"ContentVersion":1,"ItemType":"valkyrielib:guide","Count":1,"UnsafeDamage":0}},{"slot":1,"stack":{"ContentVersion":1,"ItemType":"forestry:book_forester","Count":1,"UnsafeDamage":0}},{"slot":2,"stack":{"ContentVersion":1,"ItemType":"minecraft:dirt","Count":11,"UnsafeDamage":0}},{"slot":4,"stack":{"ContentVersion":1,"ItemType":"binniecore:storage","Count":1,"UnsafeDamage":5}},{"slot":6,"stack":{"ContentVersion":1,"ItemType":"thermalfoundation:tool.bow_diamond","Count":1,"UnsafeDamage":0}},{"slot":7,"stack":{"ContentVersion":1,"ItemType":"minecraft:tipped_arrow","Count":1,"UnsafeDamage":0,"UnsafeData":{"Potion":"cofhcore:poison4"}}},{"slot":36,"stack":{"ContentVersion":1,"ItemType":"minecraft:diamond_boots","Count":1,"UnsafeDamage":0}},{"slot":37,"stack":{"ContentVersion":1,"ItemType":"minecraft:diamond_leggings","Count":1,"UnsafeDamage":0}},{"slot":38,"stack":{"ContentVersion":1,"ItemType":"minecraft:diamond_chestplate","Count":1,"UnsafeDamage":0}},{"slot":39,"stack":{"ContentVersion":1,"ItemType":"minecraft:diamond_helmet","Count":1,"UnsafeDamage":0}}],"selectedSlot":0},"game_mode":{"data":"minecraft:creative"},"experience":{"experience_level":0,"experience_since_level":0},"health":{"data":20.0},"hunger":{"food_level":20,"saturation":5.0}}
[06:07:48] [Server thread/DEBUG] [invsync]: Preparing statement: REPLACE INTO `invsync_inventories` (UUID, Active, Data) VALUES (?, FALSE, ?)
[06:07:48] [Server thread/DEBUG] [invsync]: Saving inventory for player Lilia (f8d0fa26-260b-3d25-9dbb-72328735d7a8)
BrainStone commented 4 years ago

Those are debug logs. What am I supposed to do with them?

if you have a new issue, open a new issue, or better even contact me on my Discord: https://discord.me/bungeechat