Click here to Skip to main content
15,921,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: gettting IP address of the system Pin
David Crow18-Dec-03 6:15
David Crow18-Dec-03 6:15 
GeneralRe: gettting IP address of the system Pin
karteek18-Dec-03 6:47
karteek18-Dec-03 6:47 
GeneralRe: gettting IP address of the system Pin
David Crow18-Dec-03 7:46
David Crow18-Dec-03 7:46 
GeneralRe: gettting IP address of the system Pin
karteek18-Dec-03 19:20
karteek18-Dec-03 19:20 
GeneralRe: gettting IP address of the system Pin
David Crow19-Dec-03 2:55
David Crow19-Dec-03 2:55 
GeneralDeclaring an CInternetSession variable globally Pin
harinat18-Dec-03 5:18
harinat18-Dec-03 5:18 
GeneralShell Programming in C Pin
Lunu18-Dec-03 4:17
Lunu18-Dec-03 4:17 
GeneralRe: Shell Programming in C Pin
Jörgen Sigvardsson18-Dec-03 12:07
Jörgen Sigvardsson18-Dec-03 12:07 
That's a classical buffer overrun. You're basically modifying the function return address to that of shellcode. When the function tries to return using the return address provided by the C-runtime which called main, it'll return straight into the memory area of shellcode. shellcode contains CPU instructions which will do something which was not intended (well, in this case it is intended, but it's just for show).

Here is a more detailed document on the subject: http://www.cs.ucsb.edu/~jzhou/security/overflow.html[^]

I just hope you're not a bad guy Poke tongue | ;-P

--
In the land of the blind, be king![^]
GeneralRe: Shell Programming in C Pin
Jörgen Sigvardsson18-Dec-03 12:08
Jörgen Sigvardsson18-Dec-03 12:08 
QuestionWhat's a pseudo-template? Pin
Nish Nishant18-Dec-03 3:07
sitebuilderNish Nishant18-Dec-03 3:07 
AnswerRe: What's a pseudo-template? Pin
Ravi Bhavnani18-Dec-03 7:11
professionalRavi Bhavnani18-Dec-03 7:11 
GeneralRe: What's a pseudo-template? Pin
Nish Nishant18-Dec-03 15:03
sitebuilderNish Nishant18-Dec-03 15:03 
GeneralRe: What's a pseudo-template? Pin
Ravi Bhavnani19-Dec-03 2:41
professionalRavi Bhavnani19-Dec-03 2:41 
Generaltime counter Pin
styve18-Dec-03 2:58
styve18-Dec-03 2:58 
GeneralRe: time counter Pin
FlyingDancer18-Dec-03 3:19
FlyingDancer18-Dec-03 3:19 
GeneralRe: time counter Pin
Anonymous19-Dec-03 3:43
Anonymous19-Dec-03 3:43 
QuestionHow can i Create a Button in the StatusBar???? Pin
tiaozi18-Dec-03 2:23
tiaozi18-Dec-03 2:23 
AnswerRe: How can i Create a Button in the StatusBar???? Pin
tiaozi18-Dec-03 13:22
tiaozi18-Dec-03 13:22 
AnswerRe: How can i Create a Button in the StatusBar???? Pin
Monty218-Dec-03 19:26
Monty218-Dec-03 19:26 
GeneralRe: How can i Create a Button in the StatusBar???? Pin
tiaozi18-Dec-03 19:51
tiaozi18-Dec-03 19:51 
GeneralRe: How can i Create a Button in the StatusBar???? Pin
Robert A. T. Káldy19-Dec-03 5:39
Robert A. T. Káldy19-Dec-03 5:39 
GeneralWin API: GetCommandLine Pin
Paul Riley18-Dec-03 1:44
Paul Riley18-Dec-03 1:44 
GeneralWin API: RegSaveKey / GetShortPathName Pin
Paul Riley18-Dec-03 1:25
Paul Riley18-Dec-03 1:25 
GeneralRe: Win API: RegSaveKey / GetShortPathName Pin
Paul Riley18-Dec-03 5:17
Paul Riley18-Dec-03 5:17 
GeneralThe mysterious CDialogBar Pin
Rowan Seymour17-Dec-03 23:44
Rowan Seymour17-Dec-03 23:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.