当前位置:网站首页>A simple reflective XSS operation and idea
A simple reflective XSS operation and idea
2022-06-28 16:18:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
xss It's similar yeah html Code injection , Splicing malicious code to obtain cookie etc.
There are three types , They are reflective 、 Storage and dom type Reflection type is not stored in the database , Have an impact on yourself The storage type is stored in the database , It has an impact on visitors
1. Enter the range and see the input box , Insert js label Enter... In the input box :< script>alert(1)</ script > Click on the search
Statement not executed , Instead, it is searched as text , This is clearly not what we want to see , spot f12 View reasons Then click on the sentence we want to see , Right click edit as html Look at the code
Obviously here Label symbol <> The filtered 2. Figure out how to bypass the filter execution xss You can try to execute with events xss,alert() The input box triggers a pop-up window sentence :alert(1) The statement here also does not execute
Look at the code , There are double quotation marks
3. Closed double quotes sentence :”alert(1)//
Double quotes are filtered
4. Use a symbol instead of double quotes to close Try closing with single quotation marks , Because sometimes ,html For operability, some automatic completion will be carried out sentence :”alert(1)//
Statement executed successfully , Pop up window flag
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/132883.html Link to the original text :https://javaforall.cn
边栏推荐
- 通过setTimeout解决子组件不会销毁的问题
- [high concurrency foundation] MySQL index optimization
- 请问下大家有遇到过这种设置的主健和数据库一致的错误吗?
- 【推荐系统】多任务学习之ESMM模型(更新ing)
- Visual Studio 2010 configuring and using qt5.6.3
- Cross cluster deployment of helm applications using karmada
- Tongziping, partner of Tongchuang Weiye: "what should yuan universe invest in?"
- 部门新来了个字节25K出来的,让我见识到了什么是天花板
- What are the most powerful small and medium-sized companies in Beijing?
- FFmpeg之禁止输出banner log(三十)
猜你喜欢

平台即代码的未来是Kubernetes扩展
![[high concurrency foundation] hidden dangers and solutions of MySQL concurrency under different transaction isolation levels](/img/35/63c9793ec7bc1c90c759504e84dc96.png)
[high concurrency foundation] hidden dangers and solutions of MySQL concurrency under different transaction isolation levels

关注35岁的坎:畏惧是因为你没有匹配这个年纪该有的能力

among us私服搭建

Summer Challenge ohos build custom service practice

What useful supplier management systems are available

首次失败后,爱美客第二次冲刺港交所上市,财务负责人变动频繁

leetcode:22. 括号生成

Slim GAIN(SGAIN)介绍及代码实现——基于生成对抗网络的缺失数据填补

Internet of things cloud convergence Security Guide
随机推荐
A 24-year-old bald programmer teaches you how to continuously integrate and deliver microservice delivery. You can't learn how to cut me off
Convolutional neural networks for machine learning -- an introduction to CNN
Cross cluster deployment of helm applications using karmada
Open source technology exchange - Introduction to Chengying, a one-stop fully automated operation and maintenance manager
岛屿类问题通用解法与DFS框架
Etcd可视化工具:Kstone简介(一)
Slim gain (sgain) introduction and code implementation -- missing data filling based on generated countermeasure network
【高并发基础】MySQL索引优化
【MySQL】官网文档学习之查询语句sql注意事项
平台即代码的未来是Kubernetes扩展
Big God explains open source buff gain strategy live lecture
Coding Devops helps Sinochem information to build a new generation of research efficiency platform and drive the new future of "online Sinochem"
【初学者必看】vlc实现的rtsp服务器及转储H264文件
抖音实战~我关注的博主列表、关注、取关
一次简单的反射型XSS操作及思路
论文解读(GCC)《Efficient Graph Convolution for Joint Node RepresentationLearning and Clustering》
Navicat 15 for MySQL
[recommendation system] esmm model of multi task learning (updating)
【Hot100】2.两数相加
Why MySQL table connection is faster than subquery