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 82 guests online
EH-Net News Feeds
Latest Additions
 
Advertisement

You are here: Home arrow Forum arrow Resourcesarrow Tutorialsarrow I need an help with GDB
EH-Net
May 26, 2012, 01:37:45 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Advertise on EH-Net!! - Reasonable Rates, Highly Targeted Audience.
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: I need an help with GDB  (Read 2643 times)
0 Members and 3 Guests 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
Sr. Member
****
Offline Offline

Posts: 491



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

OSCP, OWSP, eCPPT
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.16 | SMF © 2011, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.062 seconds with 21 queries.
 

gk_static-ad_feb2012.jpg
Global Knowledge: Build Security Skills to Protect & Defend

els_130x200fixed2.gif
eLearnSecurity Student Course Now Live!
5% Off with Code
ELS-EH-5

SANS Deals 4 EH-Netters
$150 OFF Any SANS Course in Any Format!
Coupon Code: EHN_Connect Including SANS Security West 2012 & SANSFIRE 2012
Recent Forum Topics

cbtnuggets_logo_125.jpg
Try CBT Nuggets Free!

Vote For EH-Net

Add to Technorati Favorites
technorati fave

 
         
Advertisement

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