Commit Graph

104 Commits (584a38d34135c83127fe2886d1004b24208eca60)

Author SHA1 Message Date
HD Moore 9ccce2a166 Move the nexpose api code into a separate file
git-svn-id: file:///home/svn/framework3/trunk@8821 4d416f70-5f16-0410-b530-b9f4589650da
2010-03-15 03:19:25 +00:00
HD Moore 4c22afed31 Fix other occurrences of on_session_close not taking a second parameter. See #1075
git-svn-id: file:///home/svn/framework3/trunk@8782 4d416f70-5f16-0410-b530-b9f4589650da
2010-03-11 13:54:10 +00:00
HD Moore f53a56f147 Fixes #1075. Handle the 'reason' parameter to on_session_close
git-svn-id: file:///home/svn/framework3/trunk@8781 4d416f70-5f16-0410-b530-b9f4589650da
2010-03-11 13:52:56 +00:00
Joshua Drake b391abd32d adds scripting for command shell sessions
1. InitialAutoRunScript and AutoRunScript vars work
2. scripts/shells was created to hold them
3. *_shell methods were renamed shell_*
4. added "shell_command" method to command shell sessions
5. converted all uses of *_shell to shell_*
6. all payloads that produce command shell sessions include Msf::Sessions::CommandShellOptions



git-svn-id: file:///home/svn/framework3/trunk@8615 4d416f70-5f16-0410-b530-b9f4589650da
2010-02-24 01:19:59 +00:00
James Lee 4617eba258 fix\ a\ bug\ in\ 1.8\ where\ instance methods of singletons aren't mirrored as class\ methods by calling the instance method
git-svn-id: file:///home/svn/framework3/trunk@8503 4d416f70-5f16-0410-b530-b9f4589650da
2010-02-15 15:10:09 +00:00
James Lee 894664ef72 add a plugin to create new routes through previously-unknown subnets
git-svn-id: file:///home/svn/framework3/trunk@8409 4d416f70-5f16-0410-b530-b9f4589650da
2010-02-08 18:21:13 +00:00
HD Moore 3c36bcdc90 Fixes #776 and #777. Patch from jhart
git-svn-id: file:///home/svn/framework3/trunk@8329 4d416f70-5f16-0410-b530-b9f4589650da
2010-01-30 20:36:44 +00:00
HD Moore acceb274da Integrate a sound plugin, based on Robin Wood's patch
git-svn-id: file:///home/svn/framework3/trunk@8215 4d416f70-5f16-0410-b530-b9f4589650da
2010-01-24 18:33:32 +00:00
James Lee a60733c5dd make a comment actually reflect the new code
git-svn-id: file:///home/svn/framework3/trunk@8165 4d416f70-5f16-0410-b530-b9f4589650da
2010-01-19 19:08:54 +00:00
James Lee 061706940b make db_tokens command work again
git-svn-id: file:///home/svn/framework3/trunk@8090 4d416f70-5f16-0410-b530-b9f4589650da
2010-01-09 01:47:39 +00:00
James Lee 9cdef831bb use the new database api. fixes 753
git-svn-id: file:///home/svn/framework3/trunk@8086 4d416f70-5f16-0410-b530-b9f4589650da
2010-01-07 19:14:44 +00:00
James Lee 30b897b6cd add a generic db_import command that auto-detects filetype, move import parsing into msf/core/db. fixes 750
git-svn-id: file:///home/svn/framework3/trunk@8085 4d416f70-5f16-0410-b530-b9f4589650da
2010-01-07 19:06:29 +00:00
James Lee a9b1462e9d add a callback for session commands. fixes 618
git-svn-id: file:///home/svn/framework3/trunk@8075 4d416f70-5f16-0410-b530-b9f4589650da
2010-01-06 05:06:12 +00:00
HD Moore 829b239b22 Fixes #740. Correct a typo introduced to the nexpose plugin.
git-svn-id: file:///home/svn/framework3/trunk@8030 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-30 05:32:13 +00:00
James Lee 02eb7ab80d massive changes to the database api. Auxiliary::Report is now just a bunch of stubs into the main DBManager, most aux modules should just work, but they haven't all been tested. introduces a get_auth_info method for pulling credentials out of the db. other db api methods should be more standardized now. cross your fingers
git-svn-id: file:///home/svn/framework3/trunk@8028 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-29 23:48:45 +00:00
HD Moore 50a227fb14 Fixes #731. Patch from Oliver Kleinecke corrects minrank usage in the nexpose plugin. Thanks!
git-svn-id: file:///home/svn/framework3/trunk@7988 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-26 18:40:14 +00:00
HD Moore 7cb0aced4d Fix a trailing comma, breaks ruby 1.8
git-svn-id: file:///home/svn/framework3/trunk@7958 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-23 12:45:08 +00:00
HD Moore 0a0ddc35d0 Pass minrank from nexpose plugin to autopwn
git-svn-id: file:///home/svn/framework3/trunk@7953 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-23 03:55:56 +00:00
James Lee 4f92d9f431 Revamp the event system and add some ui hooks. Sessions are still ghetto -- we get interact events (in a lame way) but no input or output events yet. see 619
git-svn-id: file:///home/svn/framework3/trunk@7947 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-22 18:52:48 +00:00
HD Moore f157d66625 See #678, handle the new range behavior
git-svn-id: file:///home/svn/framework3/trunk@7822 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-11 15:37:26 +00:00
James Lee 6665669b47 use range_walker to allow nmap notation in -I and -E arguments
git-svn-id: file:///home/svn/framework3/trunk@7783 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-09 21:52:03 +00:00
James Lee 48c8b35b5a single ip addresses in the new rangewalker are separated by spaces, not commas. fixes 666
git-svn-id: file:///home/svn/framework3/trunk@7778 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-09 19:17:42 +00:00
HD Moore 72fa415fd1 Fixes #629 by handling error conditions with a APIError exception
git-svn-id: file:///home/svn/framework3/trunk@7721 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-06 04:16:24 +00:00
HD Moore 12e8c97a97 Fixes #612. This adds an alternative syntax for nexpose_connect for when the password contains a ':' or an '@'
git-svn-id: file:///home/svn/framework3/trunk@7712 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-05 13:54:42 +00:00
James Lee ee0c1d460a remove the lock that was causing segfaults on 1.9; fixes #513, see #514
git-svn-id: file:///home/svn/framework3/trunk@7703 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-04 19:16:28 +00:00
HD Moore 63b087ad1c Adds a token hunter plugin for locating a specific user's credentials across many sesssions
git-svn-id: file:///home/svn/framework3/trunk@7682 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-03 15:27:07 +00:00
HD Moore b1b7ef0350 Improves the NeXpose plugin, adds the ability to do discovery outside of NeXpose and then scan the results using the database as input (-d).
git-svn-id: file:///home/svn/framework3/trunk@7681 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-03 15:26:30 +00:00
James Lee dfabd1e3fc fixes #587; add http xmlrpc support from Ryan Linn, invoke it with 'load xmlrpc ServerType=Web' or ./msfrpcd -t Web
git-svn-id: file:///home/svn/framework3/trunk@7667 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-02 00:00:11 +00:00
HD Moore 8341facfd0 Add better help output and avoid an exception when no address range is specified
git-svn-id: file:///home/svn/framework3/trunk@7661 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-01 20:51:18 +00:00
HD Moore 09f1138fa4 Commit the plugin for the release
git-svn-id: file:///home/svn/framework3/trunk@7655 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-01 03:10:16 +00:00
HD Moore a92fbb1ff4 Fixes #526. Correct socket name and call to super in the socket output io
git-svn-id: file:///home/svn/framework3/trunk@7548 4d416f70-5f16-0410-b530-b9f4589650da
2009-11-16 23:35:34 +00:00
James Lee c6b9f85937 notify about connections, too
git-svn-id: file:///home/svn/framework3/trunk@7435 4d416f70-5f16-0410-b530-b9f4589650da
2009-11-09 20:50:11 +00:00
James Lee 85cc629f20 make sure client sockets get closed and log a bit more info
git-svn-id: file:///home/svn/framework3/trunk@7434 4d416f70-5f16-0410-b530-b9f4589650da
2009-11-09 20:23:24 +00:00
James Lee 0098f89901 make the name consistent so you can unload the same name you loaded.
git-svn-id: file:///home/svn/framework3/trunk@7367 4d416f70-5f16-0410-b530-b9f4589650da
2009-11-05 18:20:44 +00:00
James Lee c9f5ce05e1 handle the database not being connected
git-svn-id: file:///home/svn/framework3/trunk@7366 4d416f70-5f16-0410-b530-b9f4589650da
2009-11-05 18:17:38 +00:00
et 7a24a5495e Fix #414 globaly defined datastore values are now rewriten before RHOSTS, RPORT, SSL are set. Support of hostnames instead of ips. Minor version changes
git-svn-id: file:///home/svn/framework3/trunk@7262 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-25 22:20:59 +00:00
James Lee 267cdee685 report failure instead of success when loading the db_* stubs
git-svn-id: file:///home/svn/framework3/trunk@6481 4d416f70-5f16-0410-b530-b9f4589650da
2009-04-14 03:58:12 +00:00
James Lee 95419cce6f add stubs for deprecated db_* plugins
git-svn-id: file:///home/svn/framework3/trunk@6480 4d416f70-5f16-0410-b530-b9f4589650da
2009-04-14 03:54:18 +00:00
kris 37c2e301ed replacing defunct framework URL in header comments in most modules and pcap_log
git-svn-id: file:///home/svn/framework3/trunk@6479 4d416f70-5f16-0410-b530-b9f4589650da
2009-04-13 14:33:26 +00:00
kris a785add956 Fix db_tracker to ignore sockets without 'Msf' in their context to prevent
it from generating errors


git-svn-id: file:///home/svn/framework3/trunk@6475 4d416f70-5f16-0410-b530-b9f4589650da
2009-04-11 12:00:12 +00:00
kris 900fdb7198 use File.join instead of hard /
git-svn-id: file:///home/svn/framework3/trunk@6461 4d416f70-5f16-0410-b530-b9f4589650da
2009-04-07 08:33:47 +00:00
James Lee 8fd36fecf5 make plugin load failure a bit more graceful
git-svn-id: file:///home/svn/framework3/trunk@6460 4d416f70-5f16-0410-b530-b9f4589650da
2009-04-07 05:59:38 +00:00
kris 6dac26b0ff fix for msfd/SSL
git-svn-id: file:///home/svn/framework3/trunk@6457 4d416f70-5f16-0410-b530-b9f4589650da
2009-04-03 04:41:07 +00:00
HD Moore fe07a46342 Fix up includes for WMAP
git-svn-id: file:///home/svn/framework3/trunk@6444 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-30 02:56:11 +00:00
HD Moore 5f484b5ede Dont report to the db if the db isnt active
git-svn-id: file:///home/svn/framework3/trunk@6442 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-30 02:55:13 +00:00
HD Moore 709362ff53 This patch moves all database interaction into the metasploit core. Usage is about the same, except instead of loading a plugin, you call db_driver <driver_name>
git-svn-id: file:///home/svn/framework3/trunk@6417 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-28 21:42:30 +00:00
HD Moore f8cef46c90 Adds the credcollect plugin and script from tebo
git-svn-id: file:///home/svn/framework3/trunk@6410 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-28 07:44:44 +00:00
James Lee 81d4afa706 filters have to be quoted because spaces screw up the option parser
git-svn-id: file:///home/svn/framework3/trunk@6225 4d416f70-5f16-0410-b530-b9f4589650da
2009-02-15 04:54:26 +00:00
kris 3587f730d1 add pcap filter option to pcap_log plugin
git-svn-id: file:///home/svn/framework3/trunk@6223 4d416f70-5f16-0410-b530-b9f4589650da
2009-02-15 02:49:09 +00:00
James Lee 9a6025aacc Add a plugin to capture packets
git-svn-id: file:///home/svn/framework3/trunk@6213 4d416f70-5f16-0410-b530-b9f4589650da
2009-02-12 16:21:50 +00:00