[14890] 2019-12-02_被动扫描器之插件篇

文档创建者:s7ckTeam
浏览次数:5
最后更新:2025-01-18
2019-12-02_被动扫描器之插件篇   d o n g n e   F r e e B u f   2 0 1 9 - 1 2 - 0 2 r - f o r w a r d e r     r - f o r w a r d e r - b u r p G i t h u b     C h r o m     B u r p   C h r o m e   C h r o m e     C h r o m e     J a v a S c r i p t ,   H T M L     C S S     C h r o m e     C h r o m e   C h r o m e     C h r o m e     A P I   C h r o m e   C h r o m e     C h r o m e     C h r o m e   C h r o m e     5     2 0     C h r o m e     C h r o m e   C h r o m e   C h r o m e     A P I   c h r o m e . d e v t o o l s . n e t w o r k     c h r o m e . w e b R e q u e s t 使   C h r o m e   C h r o m e     w e b r e q u e s t   A P I   7   U R L     P O S T  
c h r o m e . w e b r e q u e s t     o n B e f o r e R e q u e s t     o n S e n d H e a d e r s   使   o n S e n d H e a d e r s     C h r o m e   7 9     o p t e x t r a I n f o S p e c     e x t r a H e a d e r s     O r i g i n     C h r o m e   7 2     o p t e x t r a I n f o S p e c     e x t r a H e a d e r s     A c c e p t - L a n g u a g e A c c e p t - E n c o d i n g R e f e r e r C o o k i e   o p t _ e x t r a I n f o S p e c     e x t r a H e a d e r s   r e q u e s t B o d y     o n B e f o r e R e q u e s t     P O S T   c h r o m e . w e b r e q u e s t     r e q u e s t B o d y     f r o m D a t a   f o r m D a t a                 A P I 使 使   R e q u e s t F i l t e r   使   R e q u e s t F i l t e r   R e q u e s t F i l t e r   4   u r l s     t y p e s   U R L   R e q u e s t F i l t e r   c o n s t   h e a d e r s   =   v e r s i o n   > =   7 2   ?   [ " r e q u e s t H e a d e r s " ,   " e x t r a H e a d e r s " ]   :   [ " r e q u e s t H e a d e r s " ] ; c h r o m e . w e b R e q u e s t . o n S e n d H e a d e r s . a d d L i s t e n e r ( b e f o r e S e n d H e a d e r H a n d l e r ,   r e q u e s t F i l t e r s ,   h e a d e r s ) m u l t i p a r t / f o r m - d a t a a p p l i c a t i o n / x - w w w - f o r m - u r l e n c o d e d a = x x x & b = x x x & c = x x x c o n s t   p o s t b o d y   =   d e c o d e U R I C o m p o n e n t ( S t r i n g . f r o m C h a r C o d e . a p p l y ( n u l l ,                                                                             n e w   U i n t 8 A r r a y ( d e t a i l s . r e q u e s t B o d y . r a w [ 0 ] . b y t e s ) ) ) ; i f   ( ! c h r o m e . w e b R e q u e s t . o n S e n d H e a d e r s . h a s L i s t e n e r ( b e f o r e S e n d H e a d e r H a n d l e r ) )   {     c h r o m e . w e b R e q u e s t . o n S e n d H e a d e r s . a d d L i s t e n e r (         b e f o r e S e n d H e a d e r H a n d l e r ,   r e q u e s t F i l t e r s ,   h e a d e r s     ) }
B u r p   B u r p     B u r p     B u r p   C h r o m e   使 B u r p     B u r p     B u r p     A P I   使   B u r p     B u r p   G U I   使   J * * A     G U I     C #     B u r p     E x t e n d e r     A P I s     A P I     B u r p     A P I     B u r p     r - f o r w a r d e r - b u r p   使   J A     B u r p     B u r p E x t e n d e r     I B u r p E x t e n d e r   A P I   J A     r e g i s t e r E x t e n d e r C a l l b a c k s   B u r p     I H t t p L i s t e n e r     H T T P p u b l i c   i n t e r f a c e   I H t t p L i s t e n e r {         / * *           *   T h i s   m e t h o d   i s   i n v o k e d   w h e n   a n   H T T P   r e q u e s t   i s   a b o u t   t o   b e   i s s u e d ,   a n d           *   w h e n   a n   H T T P   r e s p o n s e   h a s   b e e n   r e c e i v e d .           *           *   @ p a r a m   t o o l F l a g   A   f l a g   i n d i c a t i n g   t h e   B u r p   t o o l   t h a t   i s s u e d   t h e   r e q u e s t .           *   B u r p   t o o l   f l a g s   a r e   d e f i n e d   i n   t h e
  p r o c e s s H t t p M e s s a g e   3 t o o l F l a g     B u r p     P r o x y   R e p e a t e r   I B u r p E x t e n d e r C a l l b a c k s   m e s s a g e I s R e q u e s t     m e s s a g e I n f o             *   B u r p   t o o l   f l a g s   a r e   d e f i n e d   i n   t h e           *   < c o d e > I B u r p E x t e n d e r C a l l b a c k s < / c o d e >   i n t e r f a c e .           *   @ p a r a m   m e s s a g e I s R e q u e s t   F l a g s   w h e t h e r   t h e   m e t h o d   i s   b e i n g   i n v o k e d   f o r   a           *   r e q u e s t   o r   r e s p o n s e .           *   @ p a r a m   m e s s a g e I n f o   D e t a i l s   o f   t h e   r e q u e s t   /   r e s p o n s e   t o   b e   p r o c e s s e d .           *   E x t e n s i o n s   c a n   c a l l   t h e   s e t t e r   m e t h o d s   o n   t h i s   o b j e c t   t o   u p d a t e   t h e           *   c u r r e n t   m e s s a g e   a n d   s o   m o d i f y   B u r p ' s   b e h a v i o r .           * /         v o i d   p r o c e s s H t t p M e s s a g e ( i n t   t o o l F l a g ,                         b o o l e a n   m e s s a g e I s R e q u e s t ,                         I H t t p R e q u e s t R e s p o n s e   m e s s a g e I n f o ) ; } p u b l i c   M a p < S t r i n g ,   S t r i n g >   g e t H e a d e r s ( I H t t p R e q u e s t R e s p o n s e   m e s s a g e I n f o )   {         M a p < S t r i n g ,   S t r i n g >   h e a d e r s   =   n e w   H a s h M a p < > ( ) ;         I R e q u e s t I n f o   a n a l y z e R e q u e s t   =   h e l p e r s . a n a l y z e R e q u e s t ( m e s s a g e I n f o ) ;         L i s t < S t r i n g >   h   =   a n a l y z e R e q u e s t . g e t H e a d e r s ( ) ;         f o r   ( S t r i n g   h 1 :   h )   {                 i f   ( h 1 . s t a r t s W i t h ( " G E T " )   | |   h 1 . s t a r t s W i t h ( " P O S T " ) )   {                         c o n t i n u e ;                 }   e l s e   {                         S t r i n g [ ]   h e a d e r   =   h 1 . s p l i t ( " : " ,   2 ) ;                         h e a d e r s . p u t ( h e a d e r [ 0 ] ,   h e a d e r [ 1 ] . t r i m ( ) ) ;                 }         }         r e t u r n   h e a d e r s ; } p r i v a t e   S t r i n g   g e t B o d y ( I H t t p R e q u e s t R e s p o n s e   m e s s a g e I n f o )   {
  G U I     j a r     m a v e n - a s s e m b l y - p l u g i n   便     使     j a r   j a r   使   B u r p     I D E   I D E A   1 .   d e b u g     I D E   p r i v a t e   S t r i n g   g e t B o d y ( I H t t p R e q u e s t R e s p o n s e   m e s s a g e I n f o )   {         I R e q u e s t I n f o   r e q u e s t I n f o   =   h e l p e r s . a n a l y z e R e q u e s t ( m e s s a g e I n f o ) ;         i n t   b o d y O f f s e t   =   r e q u e s t I n f o . g e t B o d y O f f s e t ( ) ;         b y t e [ ]   b y t e R e q u e s t   =   m e s s a g e I n f o . g e t R e q u e s t ( ) ;         b y t e [ ]   b y t e B o d y   =   A r r a y s . c o p y O f R a n g e ( b y t e R e q u e s t ,   b o d y O f f s e t ,   b y t e R e q u e s t . l e n g t h ) ;         r e t u r n   n e w   S t r i n g ( b y t e B o d y ) ; } m v n   p a c k a g e < p l u g i n >         < g r o u p I d > o r g . a p a c h e . m a v e n . p l u g i n s < / g r o u p I d >         < a r t i f a c t I d > m a v e n - a s s e m b l y - p l u g i n < / a r t i f a c t I d >         < e x e c u t i o n s >                 < e x e c u t i o n >                         < p h a s e > p a c k a g e < / p h a s e >                         < g o a l s >                                 < g o a l > s i n g l e < / g o a l >                         < / g o a l s >                 < / e x e c u t i o n >         < / e x e c u t i o n s >         < c o n f i g u r a t i o n >                 < d e s c r i p t o r R e f s >                         < d e s c r i p t o r R e f > j a r - w i t h - d e p e n d e n c i e s < / d e s c r i p t o r R e f >                 < / d e s c r i p t o r R e f s >         < / c o n f i g u r a t i o n > < / p l u g i n > j a r - w i t h - d e p e n d e n c i e s
  b u r p   2 .   B u r p   3 .   I D E     d e b u g     C h r o m e     B u r p   * m a d n e a l @ F r e e B u f j a v a   - a g e n t l i b : j d w p = t r a n s p o r t = d t _ s o c k e t , s e r v e r = y , s u s p e n d = n , a d d r e s s = 5 0 0 5   - j a r   b u r p s u i t e _ c o m m u n i t y _ v 2 . 1 . 0 . j a r

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

本版积分规则