Commit Graph

219 Commits (a1bc48ebc28171734d9db18bf87015744f0dd421)

Author SHA1 Message Date
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
kris 4c9730b1d8 Adding host-based access control to msfd
git-svn-id: file:///home/svn/framework3/trunk@6089 4d416f70-5f16-0410-b530-b9f4589650da
2009-01-08 05:04:26 +00:00
kris 20d216b6b9 set @mythread=nil in stop_thread so the correct message will be printed if
an attempt is made to stop a thread that isn't running


git-svn-id: file:///home/svn/framework3/trunk@6069 4d416f70-5f16-0410-b530-b9f4589650da
2009-01-04 07:45:33 +00:00
kris 2b6cde1974 fix command description
git-svn-id: file:///home/svn/framework3/trunk@6068 4d416f70-5f16-0410-b530-b9f4589650da
2009-01-04 07:38:18 +00:00
kris 9790286a23 pass opts to real write
git-svn-id: file:///home/svn/framework3/trunk@6067 4d416f70-5f16-0410-b530-b9f4589650da
2009-01-04 07:34:52 +00:00
kris 8546da23e4 pass opts to real write
git-svn-id: file:///home/svn/framework3/trunk@6066 4d416f70-5f16-0410-b530-b9f4589650da
2009-01-04 07:31:31 +00:00
kris ac160be94e fix port numbers in comments
git-svn-id: file:///home/svn/framework3/trunk@6065 4d416f70-5f16-0410-b530-b9f4589650da
2009-01-04 07:25:43 +00:00
kris 11ffd478d4 Add SSL option -s to msfd
git-svn-id: file:///home/svn/framework3/trunk@6027 4d416f70-5f16-0410-b530-b9f4589650da
2008-12-19 23:18:39 +00:00
HD Moore 71c5175a85 This patch introduces a really basic RPC service. It is still a long way from its final version
git-svn-id: file:///home/svn/framework3/trunk@5991 4d416f70-5f16-0410-b530-b9f4589650da
2008-12-02 22:09:34 +00:00
et 4bd81c7f2f Version adjustment and minor documentation update
git-svn-id: file:///home/svn/framework3/trunk@5892 4d416f70-5f16-0410-b530-b9f4589650da
2008-11-12 05:21:45 +00:00
kris c52f889082 Report hosts as alive through db_tracker and the db Nmap and Nessus commands
git-svn-id: file:///home/svn/framework3/trunk@5819 4d416f70-5f16-0410-b530-b9f4589650da
2008-10-31 18:39:53 +00:00
Ramon de C Valle f124597a56 Code cleanups
git-svn-id: file:///home/svn/framework3/trunk@5773 4d416f70-5f16-0410-b530-b9f4589650da
2008-10-19 21:03:39 +00:00
et c153d1fea0 Wmap database merged, new wmap_generic module, fix website tree display and docs.
git-svn-id: file:///home/svn/framework3/trunk@5740 4d416f70-5f16-0410-b530-b9f4589650da
2008-10-12 03:46:49 +00:00
HD Moore b001e4684d Import first version of WMAP from ET LoWNOISE
git-svn-id: file:///home/svn/framework3/trunk@5675 4d416f70-5f16-0410-b530-b9f4589650da
2008-09-22 22:32:20 +00:00
HD Moore e2027604e8 Commit a new postgres plugin (with edits) from Ulisses Castro
git-svn-id: file:///home/svn/framework3/trunk@5662 4d416f70-5f16-0410-b530-b9f4589650da
2008-09-16 04:26:49 +00:00
HD Moore ab8f38bac8 Comment typo fix from Kris Katterjohn
git-svn-id: file:///home/svn/framework3/trunk@5438 4d416f70-5f16-0410-b530-b9f4589650da
2008-03-10 21:18:07 +00:00
HD Moore 3df1e64b39 connect to an existing database with db_create
git-svn-id: file:///home/svn/framework3/trunk@5253 4d416f70-5f16-0410-b530-b9f4589650da
2007-12-31 09:18:41 +00:00
HD Moore b143ea1951 Fix up the sqlite2 plugin too
git-svn-id: file:///home/svn/framework3/trunk@5252 4d416f70-5f16-0410-b530-b9f4589650da
2007-12-31 09:12:27 +00:00
HD Moore 5a321074b2 Dont use sqlite3 executable to create the db
git-svn-id: file:///home/svn/framework3/trunk@5251 4d416f70-5f16-0410-b530-b9f4589650da
2007-12-31 08:59:05 +00:00
HD Moore 85a2f82afd Bugrit somemore
git-svn-id: file:///home/svn/framework3/trunk@5250 4d416f70-5f16-0410-b530-b9f4589650da
2007-12-31 08:32:05 +00:00
HD Moore 5570094a8f Bugrit
git-svn-id: file:///home/svn/framework3/trunk@5249 4d416f70-5f16-0410-b530-b9f4589650da
2007-12-31 08:31:01 +00:00
HD Moore 4a7683a88a Try try again
git-svn-id: file:///home/svn/framework3/trunk@5248 4d416f70-5f16-0410-b530-b9f4589650da
2007-12-31 08:28:59 +00:00
HD Moore 5e2f1ea7cc More tempfile nonsense
git-svn-id: file:///home/svn/framework3/trunk@5247 4d416f70-5f16-0410-b530-b9f4589650da
2007-12-31 08:27:24 +00:00
HD Moore d6e5b0a25d Fix use of Tempfile
git-svn-id: file:///home/svn/framework3/trunk@5246 4d416f70-5f16-0410-b530-b9f4589650da
2007-12-31 08:20:48 +00:00
HD Moore a396f655d5 Fixes to the sqlite3 database driver, the db_nmap command, and msfgui
git-svn-id: file:///home/svn/framework3/trunk@5242 4d416f70-5f16-0410-b530-b9f4589650da
2007-12-31 04:05:51 +00:00
HD Moore 6f79e14c91 Fixes #157. Patches from egypt@nmt.edu
git-svn-id: file:///home/svn/framework3/trunk@5137 4d416f70-5f16-0410-b530-b9f4589650da
2007-10-05 19:23:45 +00:00
HD Moore 6bcac9f2a2 Nifty socket logger
git-svn-id: file:///home/svn/framework3/trunk@5106 4d416f70-5f16-0410-b530-b9f4589650da
2007-09-19 21:34:23 +00:00
HD Moore 2571a4603a Change the sqlite plugins to use the sqlite system commands to instantiate a new database. This resolves an issue where non-x86-linux systems try to use the existing database files as templates.
git-svn-id: file:///home/svn/framework3/trunk@4946 4d416f70-5f16-0410-b530-b9f4589650da
2007-05-20 06:11:33 +00:00
HD Moore 7c7df73a8f Removed the extraneous @framework = framework code
git-svn-id: file:///home/svn/framework3/trunk@4440 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-18 22:59:01 +00:00
HD Moore 497ca2d3f5 This example shows how to automatically interact with sesssions
git-svn-id: file:///home/svn/framework3/trunk@4439 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-18 22:51:59 +00:00
HD Moore d39d662c95 Fix "localhost" bug for connect calls as well
git-svn-id: file:///home/svn/framework3/trunk@4182 4d416f70-5f16-0410-b530-b9f4589650da
2006-12-10 08:27:51 +00:00
HD Moore d20e4bac39 Added support for MySQL backends, minor fixes/improvements to the Postgres driver
git-svn-id: file:///home/svn/framework3/trunk@4177 4d416f70-5f16-0410-b530-b9f4589650da
2006-12-10 07:28:31 +00:00
HD Moore 95d94e9e32 Proper handling of the password argument to the postgres system commands
git-svn-id: file:///home/svn/framework3/trunk@4176 4d416f70-5f16-0410-b530-b9f4589650da
2006-12-10 06:29:31 +00:00
HD Moore 6c3c67fec0 More bug fixes...
git-svn-id: file:///home/svn/framework3/trunk@3911 4d416f70-5f16-0410-b530-b9f4589650da
2006-09-18 00:29:14 +00:00
HD Moore e96ed4c254 All database plugins now have a standard interface
git-svn-id: file:///home/svn/framework3/trunk@3910 4d416f70-5f16-0410-b530-b9f4589650da
2006-09-18 00:16:25 +00:00
HD Moore d559ad6a4e Postgres driver layer is complete, but not yet tested
git-svn-id: file:///home/svn/framework3/trunk@3909 4d416f70-5f16-0410-b530-b9f4589650da
2006-09-18 00:05:09 +00:00
HD Moore f5298f5a94 The postgres plugin is updated and now works with autopwn/load/etc
git-svn-id: file:///home/svn/framework3/trunk@3904 4d416f70-5f16-0410-b530-b9f4589650da
2006-09-17 07:17:27 +00:00
HD Moore 6a9f9ebee7 Cleanups for database management, use a persistent sqlite3 database with the db_sqlite3 plugin
git-svn-id: file:///home/svn/framework3/trunk@3897 4d416f70-5f16-0410-b530-b9f4589650da
2006-09-16 06:45:06 +00:00
HD Moore f8ff8c6d7b Debugging plugin
git-svn-id: file:///home/svn/framework3/trunk@3776 4d416f70-5f16-0410-b530-b9f4589650da
2006-07-30 18:44:04 +00:00
HD Moore 7d0690ed2e Cleanups in preparation for alpha-r4
git-svn-id: file:///home/svn/incoming/trunk@3645 4d416f70-5f16-0410-b530-b9f4589650da
2006-05-30 15:44:48 +00:00
HD Moore 037b90a931 Cut down version
git-svn-id: file:///home/svn/incoming/trunk@3591 4d416f70-5f16-0410-b530-b9f4589650da
2006-04-05 00:12:30 +00:00
HD Moore 7b4fb0d6aa Tons of fixes for aux/recon/db
git-svn-id: file:///home/svn/incoming/trunk@3589 4d416f70-5f16-0410-b530-b9f4589650da
2006-04-03 04:33:30 +00:00
HD Moore b4189e521d More recon hackery
git-svn-id: file:///home/svn/incoming/trunk@3585 4d416f70-5f16-0410-b530-b9f4589650da
2006-04-02 22:33:34 +00:00
HD Moore 908de4521d Tempalte for filtering outgoing socket data
git-svn-id: file:///home/svn/incoming/trunk@3580 4d416f70-5f16-0410-b530-b9f4589650da
2006-03-29 21:46:06 +00:00
HD Moore 096a7e6c71 Fixed event dispatching for db objects
git-svn-id: file:///home/svn/incoming/trunk@3574 4d416f70-5f16-0410-b530-b9f4589650da
2006-03-21 05:29:26 +00:00
HD Moore bab8745ba8 Backend code
git-svn-id: file:///home/svn/incoming/trunk@3573 4d416f70-5f16-0410-b530-b9f4589650da
2006-03-21 04:37:48 +00:00
HD Moore 88658064df /usr/bin/ruby vs /usr/bin/env ruby
git-svn-id: file:///home/svn/incoming/trunk@3242 4d416f70-5f16-0410-b530-b9f4589650da
2005-12-17 06:46:23 +00:00
Matt Miller 2685aef9ef command passthru support for msfconsole
git-svn-id: file:///home/svn/incoming/trunk@3184 4d416f70-5f16-0410-b530-b9f4589650da
2005-12-07 03:06:31 +00:00
Matt Miller a2df616bd4 devguide samples
git-svn-id: file:///home/svn/incoming/trunk@3154 4d416f70-5f16-0410-b530-b9f4589650da
2005-11-28 23:49:48 +00:00
Matt Miller 3558cd7777 switch to DefaultHost/DefaultPort
git-svn-id: file:///home/svn/incoming/trunk@3152 4d416f70-5f16-0410-b530-b9f4589650da
2005-11-28 21:56:09 +00:00
Matt Miller 514e760b96 implemented msfd as a plugin
git-svn-id: file:///home/svn/incoming/trunk@3151 4d416f70-5f16-0410-b530-b9f4589650da
2005-11-28 21:38:48 +00:00
Matt Miller 2f05b6959f updated sample to support console command dispatcher registration
git-svn-id: file:///home/svn/incoming/trunk@3059 4d416f70-5f16-0410-b530-b9f4589650da
2005-11-23 14:34:11 +00:00
Matt Miller 36f6c79986 fixed up plugins to be loadable with local input/output handles
git-svn-id: file:///home/svn/incoming/trunk@3058 4d416f70-5f16-0410-b530-b9f4589650da
2005-11-23 14:02:30 +00:00
Matt Miller 22542607cf very basic start to msfweb
git-svn-id: file:///home/svn/incoming/trunk@3056 4d416f70-5f16-0410-b530-b9f4589650da
2005-11-22 03:20:09 +00:00
Matt Miller 09a41d4d5c framework plugins
git-svn-id: file:///home/svn/incoming/trunk@3053 4d416f70-5f16-0410-b530-b9f4589650da
2005-11-19 16:25:26 +00:00