Commit Graph

150 Commits (067c612d9e0b738f7f4812386227e147fcabb51a)

Author SHA1 Message Date
Matt Weeks 2ee44b5da7 Expose tokens/users so other plugins can add additional RPC methods.
git-svn-id: file:///home/svn/framework3/trunk@11528 4d416f70-5f16-0410-b530-b9f4589650da
2011-01-10 02:21:22 +00:00
Joshua Drake 755615ee68 add k-rad plugin to auto-reload-and-exec fileformat exploits on change
git-svn-id: file:///home/svn/framework3/trunk@11458 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-31 20:16:11 +00:00
Joshua Drake d572a08192 report when running the editor fails, remove puts
git-svn-id: file:///home/svn/framework3/trunk@11457 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-31 19:54:26 +00:00
Jonathan Cran b5d0f1837f front-end changes for the lab plugin
git-svn-id: file:///home/svn/framework3/trunk@11434 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-28 19:47:56 +00:00
HD Moore cd2088ee96 Import the OpenVAS bridge from Kost. Go see his talk: http://www.berlinsides.org/node/14
git-svn-id: file:///home/svn/framework3/trunk@11428 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-28 17:45:05 +00:00
Joshua Drake 0d6b2c8229 refactor nexpose db check again, thx jcran
git-svn-id: file:///home/svn/framework3/trunk@11323 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-13 20:13:27 +00:00
Jonathan Cran 4b517d979f backing out my change in favor of jduck's commit (shouldn't have stole his commit in the first place :p)
git-svn-id: file:///home/svn/framework3/trunk@11322 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-13 19:51:38 +00:00
Jonathan Cran 2bad3b9ce1 jduck's fix for nexpose plugin. only allow us to connect if there's a db configured / active
git-svn-id: file:///home/svn/framework3/trunk@11321 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-13 19:46:33 +00:00
Joshua Drake a398170c0d check for a database in nexpose_connect
git-svn-id: file:///home/svn/framework3/trunk@11320 4d416f70-5f16-0410-b530-b9f4589650da
2010-12-13 19:21:27 +00:00
HD Moore cae748efa5 Merge plugin changes from Zate
git-svn-id: file:///home/svn/framework3/trunk@11017 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-13 03:35:08 +00:00
James Lee e03272a97f plugin names can't have spaces (patch from Zate)
git-svn-id: file:///home/svn/framework3/trunk@10960 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-09 17:21:30 +00:00
HD Moore 8f4cb4fbf6 Merge Zate Berg's latest patch
git-svn-id: file:///home/svn/framework3/trunk@10938 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-07 01:57:17 +00:00
James Lee 238242ecb9 add latest nessus plugin patches from Zate, fixes #2704
git-svn-id: file:///home/svn/framework3/trunk@10685 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-14 18:54:35 +00:00
James Lee e0404acd09 apply patch from Zate, fixes #2716, #2712, #2702, #2703, and #2704
git-svn-id: file:///home/svn/framework3/trunk@10507 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-28 23:19:59 +00:00
Carlos Perez f7602751d0 Updated Nessus Plugin
git-svn-id: file:///home/svn/framework3/trunk@10491 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-27 00:39:15 +00:00
James Lee ae48757fd5 new nessus plugin patches from Zate Berg
git-svn-id: file:///home/svn/framework3/trunk@10450 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-23 23:17:13 +00:00
HD Moore 2cd8b7d5e2 Update from Zate
git-svn-id: file:///home/svn/framework3/trunk@10396 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-20 14:27:34 +00:00
HD Moore 541c192f12 Updates from Zate, renamed commands to match the existing plugins
git-svn-id: file:///home/svn/framework3/trunk@10383 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-20 02:18:25 +00:00
HD Moore 7c540583b5 Latest code from Zate
git-svn-id: file:///home/svn/framework3/trunk@10376 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-19 22:18:56 +00:00
Tod Beardsley 71394d0763 Implemented a little more sophisticated inline help for the mighty lab plugin, mainly because "help" gives a lot of non-lab help and I can't be bothered to scroll.
Also fixes some whitespace.



git-svn-id: file:///home/svn/framework3/trunk@10350 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-17 19:29:59 +00:00
HD Moore b8863ce760 Merge in Zate Berg's Nessus bridge plugin
git-svn-id: file:///home/svn/framework3/trunk@10325 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-15 08:41:49 +00:00
Matt Weeks 9253085d13 Add plugin support to rpc. Fixes #2292
git-svn-id: file:///home/svn/framework3/trunk@10177 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-28 18:21:17 +00:00
James Lee ad2b69dced add database access to rpc. thanks Ryan Linn for the patch\!
git-svn-id: file:///home/svn/framework3/trunk@10043 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-18 21:26:26 +00:00
Tod Beardsley 0955e804df See #2412. Fixes the meterpreter script credcollect.rb and the plugin db_credcollect to use the new Creds table.
git-svn-id: file:///home/svn/framework3/trunk@10041 4d416f70-5f16-0410-b530-b9f4589650da
2010-08-18 19:18:27 +00:00
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