Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 44 guests and 1 member online
 
Advertisement

You are here: Home arrow Resourcesarrow Tutorialsarrow I need an help with GDB
EH-Net
May 24, 2013, 12:09:43 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: I need an help with GDB  (Read 3379 times)
0 Members and 1 Guest are viewing this topic.
Pacochan
Newbie
*
Offline Offline

Posts: 13


View Profile
« on: November 06, 2010, 01:20:19 PM »

Hi guys.
I don't know if it the right place where to ask an help.
Anyway, I'm writing an exploit for the new proftpd stack overflow vulnerability.
Infact, I already analyzed the stack and created the exploit... the problem is that it works only if I install proftpd in the debug mode.

I know there is a way with GDB to attach the pid of the process running in a normal way ( for "normai", I mean withou debug options ) in order to keep a neat stack on which I can work...

In other words, if u want to develope an exploit for a vulnerable linux service with root privilages... what would u do?

Thanks in advance... I hope my italienglish is enought easy to understand!! Smiley
Logged

OSCP
xXxKrisxXx
Hero Member
*****
Offline Offline

Posts: 512



View Profile
« Reply #1 on: November 06, 2010, 03:29:08 PM »

hey pacochan,

You may want to take a look at this video series on SecurityTube:

Buffer Overflow Primer Part 1

Vivek uses gdb throughout the whole series - it may be useful for what your trying to do!

-Kris
Logged

eCPPT, GCIH, OSCP, OSWP
Pacochan
Newbie
*
Offline Offline

Posts: 13


View Profile
« Reply #2 on: November 06, 2010, 08:19:21 PM »

Thank you!
Infact, what I really need is to understand how to debug a large applications.
The first videos seems to work only on a simple source file, but anyway i will watch all the videos. Maybe it could give me some ideas!!!
Logged

OSCP
mesho
Newbie
*
Offline Offline

Posts: 24


View Profile
« Reply #3 on: November 07, 2010, 11:40:05 PM »

ammmmm, i see this trick before mentioned in the
smashthestack.org

but i can't tell where exactly?!!!  Huh
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.061 seconds with 22 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.