Commit Graph

126 Commits (dc3e099f5b6208ba15f93bb832c80efe344b0781)

Author SHA1 Message Date
Tod Beardsley 6d6a547b34 Fixes #2412. Adds a creds table, modifies the db_report_auth API, adds the db_creds and db_add_cred commands.
git-svn-id: file:///home/svn/framework3/trunk@10034 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-18 00:58:20 +00:00
HD Moore d14ea12996 Add the console api to xmlrpc
git-svn-id: file:///home/svn/framework3/trunk@10028 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-17 22:53:05 +00:00
Jonathan Cran c8aa885e5a wtf copy/paste fail :/
git-svn-id: file:///home/svn/framework3/trunk@10009 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-13 20:02:34 +00:00
Jonathan Cran b6d493201a oops, should be able to load from a file - lab_load_file [labdef] works properly now
git-svn-id: file:///home/svn/framework3/trunk@10008 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-13 20:00:16 +00:00
Jonathan Cran d28e1c0d4f tagged id / rev - slight mods to editor
git-svn-id: file:///home/svn/framework3/trunk@10005 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-13 16:55:42 +00:00
Joshua Drake 4a796f794a uniq-ify class names
git-svn-id: file:///home/svn/framework3/trunk@9958 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-05 02:23:34 +00:00
Jonathan Cran 045a0c4a13 initial lab plugin commit
git-svn-id: file:///home/svn/framework3/trunk@9942 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-29 03:50:59 +00:00
James Lee 671d243aaa put the stop command in core instead of base and default the extra argument to nil. this should allow a cleaner exit without breaking existing code (i hope). see #2247 (again) and also fixes #1010
git-svn-id: file:///home/svn/framework3/trunk@9907 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-21 22:37:26 +00:00
James Lee 45c869d015 revert the rpc.stop patch as it breaks other rpc stuff. i'll have a better fix for this later today.
git-svn-id: file:///home/svn/framework3/trunk@9890 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-20 20:36:09 +00:00
James Lee 88c6bf13dd apply patch from scriptjunkie to stop the xmlrpc daemon. fixes #2247
git-svn-id: file:///home/svn/framework3/trunk@9887 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-20 19:12:09 +00:00
Tod Beardsley 3c199b0364 Fixes #824. PcapLog now works, and doesn't use racket nor packetfu -- just straight pcaprub, since I'm not doing anything exciting with them aside from saving to a file.
Also, it's a proper plugin now, not just a singleton, with a command dispather and everything.

Pretty much totoally rewritten. Since it hasn't worked for at least 5 months, I doubt anyone will be shocked by the API change.



git-svn-id: file:///home/svn/framework3/trunk@9834 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-14 20:38:19 +00:00
Joshua Drake 219c298109 fix silly error handling arguments
git-svn-id: file:///home/svn/framework3/trunk@9637 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-30 19:28:31 +00:00
HD Moore 48732165f3 Fix the parameters for the nexpose plugin to match the new DB api
git-svn-id: file:///home/svn/framework3/trunk@9603 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-24 03:35:43 +00:00
Joshua Drake edfd16ca0c stop printing utf-8 high-ascii-art to non-utf8 terminals
git-svn-id: file:///home/svn/framework3/trunk@9514 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-14 20:20:45 +00:00
Joshua Drake d8609b85e3 style compliance fixes
git-svn-id: file:///home/svn/framework3/trunk@9460 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-09 18:41:58 +00:00
et 8a911f6762 Wmap cleanup started
git-svn-id: file:///home/svn/framework3/trunk@9442 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-06 03:53:07 +00:00
Jonathan Cran cdb962e5f1 00:48 <jabra> class Plugin::Editor < Msf::Plugin
git-svn-id: file:///home/svn/framework3/trunk@9391 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-02 01:48:59 +00:00
Jonathan Cran 2bd20752d6 editor plugin - see: http://blog.metasploit.com/2010/05/its-ruby-not-turtles-all-way-down.html
git-svn-id: file:///home/svn/framework3/trunk@9389 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-01 19:28:03 +00:00
Joshua Drake 0e72894e58 more cleanups
git-svn-id: file:///home/svn/framework3/trunk@9212 4d416f70-5f16-0410-b530-b9f4589650da
2010-05-03 17:13:09 +00:00
James Lee ec35fb0312 don't wait on the database when reporting hashes
git-svn-id: file:///home/svn/framework3/trunk@9112 4d416f70-5f16-0410-b530-b9f4589650da
2010-04-20 03:10:48 +00:00
James Lee 79ac118f47 targ_host -> target_host
git-svn-id: file:///home/svn/framework3/trunk@8910 4d416f70-5f16-0410-b530-b9f4589650da
2010-03-25 01:11:10 +00:00
HD Moore 2efa31cfec Closes #1244 with a caveat. If the template injected calls ExitProcess(), the payload will be killed. This means that -k is not compatible with our default executable
git-svn-id: file:///home/svn/framework3/trunk@8896 4d416f70-5f16-0410-b530-b9f4589650da
2010-03-24 15:55:24 +00:00
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