[11356] 2017-05-17_pwnable.tw刷题之dubblesort

文档创建者:s7ckTeam
浏览次数:4
最后更新:2025-01-18
2017-05-17_pwnable.tw刷题之dubblesort p w n a b l e . t w d u b b l e s o r t o O 0 p s   F r e e B u f   2 0 1 7 - 0 5 - 1 7 p h t t p : / / w w w . f r e e b u f . c o m / a r t i c l e s / o t h e r s - a r t i c l e s / 1 3 4 2 7 1 . h t m l w n a b l e . t w c a l c d u b b l e s o r t A S L R N X s h e l l 1 d u b b l e s o r t l i b c r e t u r n   t o   l i b c s o r t d u b b l e s o r t 使 p w n t o o l s c h e c k s e c N X
2 使 I D A d u b b l e s o r t 2 . 1   m a i n m a i n c a n a r y t i m e r ( ) r e a d 6 4 6 4 / 4 = 1 6 s c a n f w h i l e n u m s e s p + 0 x 1 c 2 . 2   s o r t s o r t
s o r t c o u n t 3 3 . 1   c a n a r y
e s p + 0 x 1 c m a i n c a n a r y c a n a r y e s p + 0 x 7 c e s p + 0 x 1 c e b p f s c a n f % u s t d i n f s c a n f s c a n f s t d i n f s t d i n s c a n f s c a n f s t d i n f f f l u s h s t d i n f f l u s h 使 c a n a r y s c a n f + -
+ 4 4 - 4 % u 4 2 9 4 9 6 7 2 9 3 - 3 0 x F F F F F F F D + - 4 + c a n a r y c a n a r y ( e s p + 0 x 7 c ) - ( e s p + 0 x 1 c ) + 4 = 1 0 0 1 0 0 / 4 = 2 5 2 5 + - c a n a r y c a n a r y 3 . 2   l i b c l i b c l i b c . s o . 6 r e t 2 l i b c l i b c s y s t e m s h e l l m a i n l i b c s y s t e m / b i n / s h 使 s y s t e m s h e l l
3 5 2 5 c a n a r y + 3 3 s y s t e m 3 4 s y s t e m s y s t e m 3 5 / b i n / s h s y s t e m / b i n / s h g d b e b p + 4 m a i n l i b c _ _ l i b c _ s t a r t _ m a i n m a i n l i b c A S L R e b p + 4 n u m s [ 0 ] 3 3 3 3 4 1 4 9 6 7 1 4 7 9 = 0 x F 7 5 6 F 6 3 7 4 1 5 0 1 7 5 2 8 7 = 0 x F 7 5 E A 6 3 7 l i b c A S L R
A S L R l i b c l i b c + l i b c l i b c l i b c m i k e m i k e p r i n t f H e l l o . % s p r i n t f 0 × 0 0 n u l l n a m e r e a d 0 m i k e 4 m i k e n 5 e s p + 0 x 3 c 0 × 0 0 H e l l o   m i k e n l i b c n a m e 6 4 l i b c g d b n a m e 7 l i b c 0 x f 7 f b 1 0 0 0 l i b c l i b c   i n f o   s h a r e d l i b r a r y l i b c l i b c . s o . 6 0 x f 7 e 1 6 7 5 0 0 x f 7 f 4 2 0 4 d 0 x f 7 f b 1 0 0 0 v m m a p i n f o   p r o c   m a p p i n g s l i b c
l i b c 0 x f 7 d f f 0 0 0 0 x f 7 f b 2 0 0 0 i n f o   s h a r e d l i b r a r y l i b c l i b c - 2 . 2 3 . s o l i b c . s o . 6 l i b c . s o . 6 l i b c - 2 . 2 3 . s o i n f o s h a r e d l i b r a r y l i b c - 2 . 2 3 . s o . t e x t v m m a p l i b c - 2 . 2 3 . s o h e x d u m p 0 x f 7 d f f 0 0 0 l i b c - 2 . 2 3 . s o E L F r e a d e l f - S l i b c - 2 . 2 3 . s o . t e x t 0 × 1 7 7 5 0 0 x f 7 d f f 0 0 0 0 x f 7 e 1 6 7 5 0 g d b l i b c 0 x f 7 f b 1 0 0 0 l i b c 0 x f 7 d f f 0 0 0 0 x f 7 f b 2 0 0 0 0 x f 7 f b 1 0 0 0 - 0 x f 7 d f f 0 0 0 = 0 x 1 b 2 0 0 0 l i b c l i b c e x p s h e l l l i b c l i b c r e a d e l f 0 x 1 b 2 0 0 0 l i b c . g o t . p l t l i b c l i b c
. g o t . p l t 0 x 1 b 0 0 0 0 0 x 1 b 2 0 0 0 s y s t e m / b i n / s h l i b c r e a d e l f   - s H x D l i b c s y s t e m / b i n / s h a d d r _ l i b c = a d d r _ l e a k - 0 x 1 b 0 0 0 0 a d d r _ s y s t e m = a d d r _ l i b c + 0 x 3 a 9 4 0 a d d r _ s h e l l = a d d r _ l i b c + 0 x 1 5 8 e 8 b
4 n a m e 6 . g o t . p l t n a m e 2 4 2 4 . g o t . p l t 0 × 0 0 0 × 0 0 p r i n t f 0 × 0 0 A ' * 2 4 + n x 0 0 s y s t e m / b i n / s h c a n a r y 0 c a n a r y s y s t e m c a n a r y s y s t e m / b i n / s h
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则