当前位置:网站首页>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
边栏推荐
- Technical secrets of ByteDance data platform: implementation and optimization of complex query based on Clickhouse
- 字节跳动数据平台技术揭秘:基于ClickHouse的复杂查询实现与优化
- REDIS00_详解redis.conf配置文件
- Cross cluster deployment of helm applications using karmada
- 首次失败后,爱美客第二次冲刺港交所上市,财务负责人变动频繁
- PID控制详解[通俗易懂]
- 使用Karmada实现Helm应用的跨集群部署
- 5分钟的时间制作一个反弹球游戏
- 24岁秃头程序员教你微服务交付下如何持续集成交付,学不会砍我
- 全球陆续拥抱Web3.0,多国已明确开始抢占先机
猜你喜欢
软件测试员的悲哀竟是...自己的技术能力不能满足大厂要求?
使用Karmada实现Helm应用的跨集群部署
Soliciting articles and contributions - building a blog environment with a lightweight application server
Big God explains open source buff gain strategy live lecture
Technical secrets of ByteDance data platform: implementation and optimization of complex query based on Clickhouse
The world has embraced Web3.0 one after another, and many countries have clearly begun to seize the initiative
leetcode:22. 括号生成
QT create 5.0.3 configuring qt4.8.7
Opengauss kernel: analysis of SQL parsing process
leetcode:22. bracket-generating
随机推荐
Slim GAIN(SGAIN)介绍及代码实现——基于生成对抗网络的缺失数据填补
【高并发基础】MySQL索引优化
成功迁移到云端需要采取的步骤
Mysql自連接查詢「建議收藏」
How can the sports app keep the end-to-side background alive to make the sports record more complete?
【高并发基础】MySQL 不同事务隔离级别下的并发隐患及解决方案
请问下大家有遇到过这种设置的主健和数据库一致的错误吗?
Why MySQL table connection is faster than subquery
A little hesitant in the morning
Lenet5 training model of convolutional neural network for machine learning
Introduction to reverse commissioning PE structure details 02/07
【Hot100】3. 无重复字符的最长子串
Sample explanation of batch inserting data using MySQL bulkloader
字节跳动数据平台技术揭秘:基于ClickHouse的复杂查询实现与优化
岛屿类问题通用解法与DFS框架
#夏日挑战赛#OHOS构建自定义服务实战
Redmibook Pro 14 enhanced version cannot open delta software drastudio_ v1.00.07.52
抖音实战~我关注的博主列表、关注、取关
Cross cluster deployment of helm applications using karmada
How to query all the data in a table in the database?