[14884] 2019-12-01_HFish蜜罐使用心得

文档创建者:s7ckTeam
浏览次数:3
最后更新:2025-01-18
2019-12-01_HFish蜜罐使用心得 H F i s h 使   c y k e r   F r e e B u f   2 0 1 9 - 1 2 - 0 1   H F i s h   V 0 . 4   使 使 w i n d o w s   d o c k e r d o c k e r d o c k e r   t o o l   b o x   v m   v b o x   l i n u x l i n u x d o c k e r d o c k e r   - p   1 2 7 . 0 . 0 . 1 : 2 2 : 2 2   访 0 . 0 . 0 . 0 访 e g : l i n u x i p 访 使 v p s   v u l t r   I D C d o c k e r   r u n   - d   - p   2 2 2 2 : 2 2   - p   2 3 : 2 3   - p   9 0 0 1 : 9 0 0 1   - e   U S E R N A M E = g o d   - e   P A S S W O R D = 1 2 3 4 5 6   - - n a m e   h f i s h   i m d e v o p s / h f i s h : l a t e s t
9 u b u n t u   5 v p s   d e p l o y   d e p l o y s s h   k e y v p s 便 s s h   k e y   v p s 使 p y t h o n 3     p a r a m i k o   d o c k e r . i o     d o c k e r     c o n f i g . i n i   访 v p s   S S H     h f i s h _ i n f o     & &     s q l i t e     s s h   d e f   _ _ i n i t _ _ ( s e l f ) :                 s e l f . h f i s h _ d b   =   ' . / f i l e / h f i s h . d b '                 s e l f . h f i s h _ s p l i t   =   ' & & '                 s e l f . s q l   =   s q l i t e 3 . c o n n e c t ( s e l f . h f i s h _ d b )                 # u t f - 8 b y t e s                 s e l f . s q l . t e x t _ f a c t o r y   =   b y t e s
  & &   t o p 1 0 r o o t 使   p y e c h a r t s                   #   ,                 u s e r   =   s o r t e d ( u s e r _ p w d _ d i c [ ' u s e r ' ] . i t e m s ( ) ,   k e y = l a m b d a   x : x [ 1 ] , r e v e r s e = T r u e )                 #   ,                 p a s s w o r d   =   l i s t ( u s e r _ p w d _ d i c [ ' p w d ' ] . i t e m s ( ) )                 p a s s w o r d .         d e f   R e g i o n D i c ( s e l f ) :                 a g e n t _ s q l   =   " s e l e c t   a g e n t   f r o m   h f i s h _ i n f o "                 d a t a   =   s e l f . s q l . e x e c u t e ( a g e n t _ s q l ) . f e t c h a l l ( )                 a g e n t s   =   [ ]                 f o r   a g e n t   i n   l i s t ( s e t                         b a r   =   ( B a r ( o p t i o n s . I n i t O p t s ( w i d t h = ' 1 0 0 0 p x ' ,   h e i g h t = ' 5 0 0 p x ' ) )                                       . a d d _ x a x i s ( u _ p _ d i c )                                       . a d d _ y a x i s ( a g e n t ,   u _ p _ c o u n t )                                       . s e t _ g l o b a l _ o p t s (                                 t i t l e _ o p t s = o p t i o n s . T i t l e O p t s ( t i t l e = (
  p y e c h a r t s   C S D N 使   t c p d u m p   d u m p w i r e s h a r k   使 s c a p y     / c o r e / r p c / c l i e n t / c l i e n t . g o
h f i s h     p a s s w d   使   c a t   / e t c / p a s s w d   S S H 使   v p s     p a s s w d     t e s t   . h f i s h   / l i b s / /   d e f a u l t     / l i b s / / d e f a u l t . h f   c a t   / e t c / p a s s w d   & t a i l   / e t c / p a s s w d
  P O C     / v i e w / u r l . g o   i p u r i P O C h t t p : / / i p : p o r t / a p i / v 1 / g e t / i p h t t p : / / i p : p o r t / a p i / v 1 / g e t / f i s h _ i n f o
i s _ l o g i n     / v i e w / l o g i n / v i e w . g o     / v i e w / s e t t i n g / v i e w . g o     p o c   X S S I D   s s h   使 p a y l o a d s s h   ^ < s c r i p t ^ > a l e r t ^ ( 1 2 3 4 ^ ) ^ < ^ / s c r i p t ^ > @ 1 9 2 . 1 6 8 . 9 9 . 1 0 1   - p   2 2 2 2
使 w i n d o w   ^       x s s U b u n t u   v p s c o m m a n d   n o t   f o u n d H F i s h     s t a r t H F i s h   g i t h u b H F i s h   d o c u m e n t s q l i t e H F i s h g i t h u b * c y k e r F r e e B u f #   s e t _ u s e r _ t p l   =   ' s e d   - i   " s / " a c c o u n t " :   " r o o t " / " a c c o u n t " :   " { } " / g "   % s ' % s s h _ c o n f _ p a t h s e t _ p w d _ t p l   =   ' s e d   - i   " s / " p a s s w o r d " :   " r o o t " / " p a s s w o r d s e t _ d e f a u l t _ t p l   =   ' s e d   - i   " s / t e s t / :   c o m m a n d   n o t   f o u n d / g "   % s ' % s s h _ d e f a u l t _ p a t h

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

本版积分规则