Skip to content

SQL-Injection possible #7

@muelleel

Description

@muelleel

OnlineTime onlineTime = BungeeOnlineTime.SQL.getOnlineTime(args[1]);

Calling getOnlineTime and passing directly Command Arguments in is probably not save, and opens an door for an SQL-Injection.
Maybe rewrite to use prepared statements?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions