Jump to content
kiddies

Cbof.py

Recommended Posts

Posted

this application for makin file containing buffer size, i use this application in windows..

#!usr/bin/python

#Author : kiddies A.k.A peneter

#Date : 22 Februari 2012

#This is a simple tool for making a file for checking buffer overflow

#in windows apps

#special tanks: mywisdom, gunslinger, flyff666, petimati, ketek

# wenkhairu, patriot, synlord, jimmy romantic

# and you

#Forum : devilzc0de, jasakom, antijasakom.

#Inspirated : corelan, exploit-db, antisec



import sys



file = sys.argv[1]

junk = '\x41' * int(sys.argv[2])

buffer = junk



File = open(file, 'w')

File.write(buffer)

File.close()

print 'File %s was successfully created' % file



#Note:0day is 0day, every day is 0day.

Thanks all

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...