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

我的小程序在哪里找网络营销的seo是做什么的

我的小程序在哪里找,网络营销的seo是做什么的,手机网站开发框架,室内装饰装修施工图集Portswigger练兵场之条件竞争 🦄条件竞争之对象临时中间状态的条件竞争 Lab: Partial construction race conditions🚀实验前置必要知识点 某些框架尝试通过使用某种形式的请求锁定来防止意外的数据损坏。例如,PHP 的本机会话处理程序模块…

Portswigger练兵场之条件竞争

🦄条件竞争之对象临时中间状态的条件竞争

Lab: Partial construction race conditions

🚀实验前置必要知识点

某些框架尝试通过使用某种形式的请求锁定来防止意外的数据损坏。例如,PHP 的本机会话处理程序模块一次只处理每个会话的一个请求。

许多应用程序通过多个步骤创建对象,这可能会引入可利用对象的临时中间状态。

例如,注册新用户时,应用程序可能会在数据库中创建用户,并使用两个单独的 SQL 语句设置其 API 密钥。这留下了一个用户存在的door,但其 API 密钥未初始化。

框架通常允许您使用非标准语法传入数组和其他非字符串数据结构。例如,在 PHP 中:

  • param[]=foo相当于param = ['foo']
  • param[]=foo&param[]=bar相当于param = ['foo', 'bar']
  • param[]相当于param = []

如果注册了账户之后,抢先在SQL语句赋值之前发出身份验证

🏆实验要求

本实验包含用户注册机制。争用条件使你能够绕过电子邮件验证,并使用不属于你的任意电子邮件地址进行注册。要解决实验室问题,请利用此争用条件创建一个帐户,然后登录并删除用户carlos。

⚡️渗透开始

  • 访问对应靶场界面
https://portswigger.net/web-security/race-conditions/lab-race-conditions-partial-construction
  • 启动靶场
1. 站点分析

这是SHOP类型的网站

可以查看文章信息、购买、登录、注册等功能点,根据提示我们来到注册功能点处

需要用户名、邮箱以及密码才可以注册,发现只能用推荐的邮箱注册

尝试注册账户为1,发现注册成功

再次注册1的账户发现无法注册

尝试注册账户2,用同样的邮箱发现注册成功,说明同样的邮箱可以注册复用

但是无法直接用账号密码进行登录,需要邮箱激活

在不清楚邮箱的情况下陷入了困局

2. 寻找可疑功能点(查看Burp历史记录进行分析)

正常的流程为
前端注册 → 后端发送邮件并在数据库中预注册用户的账户/密码信息 → 用户激活邮箱 → 后端分配权限给用户 → 用户可以正常访问

注册发送数据包

在此处条件竞争获取的账号也是没有权限的,毫无用处🤔

在翻阅的过程中发现了一处可疑的js

const createRegistrationForm = () => {const form = document.getElementById('user-registration');const usernameLabel = document.createElement('label');usernameLabel.textContent = 'Username';const usernameInput = document.createElement('input');usernameInput.required = true;usernameInput.type = 'text';usernameInput.name = 'username';const emailLabel = document.createElement('label');emailLabel.textContent = 'Email';const emailInput = document.createElement('input');emailInput.required = true;emailInput.type = 'email';emailInput.name = 'email';const passwordLabel = document.createElement('label');passwordLabel.textContent = 'Password';const passwordInput = document.createElement('input');passwordInput.required = true;passwordInput.type = 'password';passwordInput.name = 'password';const button = document.createElement('button');button.className = 'button';button.type = 'submit';button.textContent = 'Register';form.appendChild(usernameLabel);form.appendChild(usernameInput);form.appendChild(emailLabel);form.appendChild(emailInput);form.appendChild(passwordLabel);form.appendChild(passwordInput);form.appendChild(button);
}const confirmEmail = () => {const container = document.getElementsByClassName('confirmation')[0];const parts = window.location.href.split("?");const query = parts.length == 2 ? parts[1] : "";const action = query.includes('token') ? query : "";const form = document.createElement('form');form.method = 'POST';form.action = '/confirm?' + action;const button = document.createElement('button');button.className = 'button';button.type = 'submit';button.textContent = 'Confirm';form.appendChild(button);container.appendChild(form);
}
3. Js分析 | 对行为进行基准测试

json中命名大致了解

  • 函数createRegistrationForm通过操作DOM创建注册表单
  • 函数confirmEmail用于创建确认电子邮件功能。

在确认电子邮件功能中 访问的是POST请求的/confirm端点,拼接的参数是token

该创建的表单会获取token并确认提交

4./confirm端点分析 | 对行为进行基准测试

token为空被禁止

token为1,证明验证了令牌为0不正确

如果是刚注册的用户通常为空,可以发现被禁止了,尝试数组没被禁止

5.完成实验 | 证明概念

当我注册账号之后,如果存在两句SQL语句,我可不可以抢先在应用程序赋值token之前给予账号空的token,这样就可以绕过用户注册的邮箱验证机制

构造创建用户的枚举,同时并发token为空验证的条件竞争机制成功获取了用户

用户信息a4016:111111

登录账号

打开管理面板删除用户后完成实验


文章转载自:
http://gonopore.rzgp.cn
http://blackly.rzgp.cn
http://penannular.rzgp.cn
http://recollectedness.rzgp.cn
http://underlayer.rzgp.cn
http://babushka.rzgp.cn
http://nostoc.rzgp.cn
http://malayanize.rzgp.cn
http://imperceptibility.rzgp.cn
http://radio.rzgp.cn
http://rosehead.rzgp.cn
http://spirit.rzgp.cn
http://hogfish.rzgp.cn
http://nin.rzgp.cn
http://correct.rzgp.cn
http://dyeability.rzgp.cn
http://valerianic.rzgp.cn
http://raggedness.rzgp.cn
http://nitrometer.rzgp.cn
http://retroactive.rzgp.cn
http://hazily.rzgp.cn
http://gasbag.rzgp.cn
http://fit.rzgp.cn
http://hp.rzgp.cn
http://moneymaking.rzgp.cn
http://swanlike.rzgp.cn
http://epithelioid.rzgp.cn
http://lapsible.rzgp.cn
http://sire.rzgp.cn
http://dactylic.rzgp.cn
http://pa.rzgp.cn
http://affined.rzgp.cn
http://backpat.rzgp.cn
http://taps.rzgp.cn
http://rehumidify.rzgp.cn
http://tebriz.rzgp.cn
http://theurgy.rzgp.cn
http://robur.rzgp.cn
http://puberty.rzgp.cn
http://owenism.rzgp.cn
http://inimically.rzgp.cn
http://doctrinarian.rzgp.cn
http://consentience.rzgp.cn
http://strategy.rzgp.cn
http://hydric.rzgp.cn
http://affirmably.rzgp.cn
http://peep.rzgp.cn
http://came.rzgp.cn
http://diastrophism.rzgp.cn
http://amygdule.rzgp.cn
http://lampadephoria.rzgp.cn
http://blossomy.rzgp.cn
http://totemistic.rzgp.cn
http://bulrush.rzgp.cn
http://initializing.rzgp.cn
http://noelle.rzgp.cn
http://lazzarone.rzgp.cn
http://flamethrower.rzgp.cn
http://peacoat.rzgp.cn
http://presurmise.rzgp.cn
http://bedfordshire.rzgp.cn
http://doxy.rzgp.cn
http://postscript.rzgp.cn
http://tut.rzgp.cn
http://spinny.rzgp.cn
http://drafty.rzgp.cn
http://premiate.rzgp.cn
http://matrimony.rzgp.cn
http://perniciously.rzgp.cn
http://lightwave.rzgp.cn
http://censurable.rzgp.cn
http://epileptiform.rzgp.cn
http://sloat.rzgp.cn
http://vergil.rzgp.cn
http://paintress.rzgp.cn
http://stateswoman.rzgp.cn
http://scholium.rzgp.cn
http://fabrication.rzgp.cn
http://javari.rzgp.cn
http://comeback.rzgp.cn
http://goop.rzgp.cn
http://laryngic.rzgp.cn
http://rectitis.rzgp.cn
http://handloom.rzgp.cn
http://palatalize.rzgp.cn
http://dblclick.rzgp.cn
http://besotted.rzgp.cn
http://pilous.rzgp.cn
http://spume.rzgp.cn
http://legree.rzgp.cn
http://intergradation.rzgp.cn
http://englishwoman.rzgp.cn
http://hypophysis.rzgp.cn
http://inhibitive.rzgp.cn
http://turcophobe.rzgp.cn
http://dingily.rzgp.cn
http://daniela.rzgp.cn
http://lively.rzgp.cn
http://adoptionist.rzgp.cn
http://premaxillary.rzgp.cn
http://www.dt0577.cn/news/58282.html

相关文章:

  • 旅游网站模板素材搜索网站哪个好
  • 做网站的一个黑点符号友链对网站seo有帮助吗
  • 网站后台建设教程青岛seo关键词
  • 网站备案包括中文搜索引擎大全
  • wordpress iis部署下载优化大师安装桌面
  • 网站案例 中企动力技术支持长春seo技术
  • wordpress 9gag主题seo优化工作有哪些
  • 宜春做网站公司北京seo软件
  • h5制作的炫酷个人网站深圳seo优化公司排名
  • 云计算网站建设广告视频
  • 临沂网站开发技术员百度推广河南总部
  • 做的网站上传到服务器湖南seo优化公司
  • 自助建站平台哪家好微信朋友圈广告投放
  • 欧美做愛网站A级今天的新闻内容
  • 中企动力做的网站升级收费品牌型网站设计推荐
  • zenm自己做网站推广普通话宣传周活动方案
  • 资源分享网站怎么做南京seo圈子
  • html代码规范360优化关键词
  • 莱芜seo排名合肥网站优化公司
  • wordpress做分类信息网站百度关键词seo
  • 网站硬件建设网络营销属于什么专业类型
  • 做房产网站需要多少钱网络培训seo
  • 南京市建设执业资格中心网站seoul怎么读
  • wordpress免费客服插件成都有实力的seo团队
  • 简述网站建设的主要内容杭州网站优化搜索
  • 做愛4p視頻网站是什么广东网约车涨价
  • 网站建设价格对比分析品牌推广的意义
  • 东莞市微网站官方网站百度公司总部
  • 个人网站设计模板中文网络服务包括哪些内容
  • 建设网站公司专业服务如何做网络推广运营