Jump to content

Help!!! got a format string attack project

- - - - -

  • Please log in to reply
3 replies to this topic

#1
e4tmonkieshyt

e4tmonkieshyt

    Newbie

  • Members
  • Pip
  • 4 posts
Help!!! got a format string attack project


I got a project from school that is due next week.

Format String Attack: alter the flow of an application by using sting formatting library features to access other memory space. Vulnerabilities occur when user-supplied data are used directly as formatting sting input for certain C/C++ functions.

the thing is that our professor never taught any one of us hot to make a sample application of this. can someone help instruct me on how to do this or help make a sample application.

i don't even know what program to code this in.

thanks

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
scanf takes pointers to addresses as parameters. My guess is he wants you to pass a pointer to a function as the char* input. The whole thing sounds rather goofy, though.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
e4tmonkieshyt

e4tmonkieshyt

    Newbie

  • Members
  • Pip
  • 4 posts
yeah. the thing is i have not learned any sort of C programming at all yet. so i have no clue how to write the program, and the professor doesn't want to give any sort of help.

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
What type of class is this? What prerequisites does it have?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users