Posted: Sat Mar 20, 2010 7:11 pm Post subject: question on exploit writing.
I just want to know if there is an input box in a windows application or any application that has buffer overflow vulnrability but the function that needs to be called to exploit this is not accessible by passing commands to it via a command line like so "echo aaa |buffer.exe" how would someone get this function to execute with there input in a script like python would i have to open the application and then call that specific function? if so how cpuld that be done if the function was called foofunction any programming language example would be great or a link to a tutorial if anyone knows of one.
been trying to implement the steps you suggested this is what i have got so far. But using SetDlgItemTextA to set the text but having difficulty using python to set the text. loaded up the executable in ida pro not to sure on how to use the windows handle of the textbox. here is my code so far. the code opens up the process and tries to write to the inputbox. any input guys? thanks
python example.py PID
from subprocess import *
from os import *
from ctypes import *
from ctypes.wintypes import *
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum