Commit Graph

32 Commits

Author SHA1 Message Date
OJ 1d617ae389 Implement first pass of architecture/platform refactor 2016-10-28 07:16:05 +10:00
David Maloney a763863ff3 remove #truncate_session_desc
this method was absed around a char limit
for the desc column which no longer exists
trying to perform this operation generates an error
removing the method since it is not needed
2016-05-06 09:36:12 -05:00
thao doan 5e36a3128c Fix #5197, Fixed yard doc errors
Fix #5197 Fixed issues that caused errors during yard doc generation
2016-04-21 13:06:00 -05:00
Fernando Arias 5cf3ac23e2 Fix no method defined error when run_id is not passed down
* run_id is an optional param so we handle when it isn't set on user data

MSP-13119
2015-09-16 15:32:48 -05:00
Fernando Arias eb479318b1 Use existing run for match result or create a new one if it doesnt exist
MSP-13119
2015-09-15 14:34:44 -05:00
Fernando Arias c7f15ca940 Rework how match results get created
MSP-13119

* Create match result when we create vuln attempt
2015-09-14 12:18:47 -05:00
Fernando Arias ed1065b297 Create MatchResult with status Failure on session failure
MSP-13104
2015-08-24 12:56:32 -05:00
Greg Mikeska 790356bac8 add infer_vuln_from_session to other valid case
MSP-13065
2015-08-12 15:45:37 -05:00
Greg Mikeska 01b3ae2dd8 Revert "added infer_vuln_from_session to other valid case"
This reverts commit 53e747ce2e.
2015-08-12 15:43:16 -05:00
Greg Mikeska 53e747ce2e added infer_vuln_from_session to other valid case
MSP-13064
2015-08-12 15:35:03 -05:00
g0tmi1k 6dcc9b7dab More inconsistencies 2015-06-12 21:59:15 +01:00
Matt Buck e82fb5f836 Merge branch 'master' into staging/rails-4.0
Conflicts:
	Gemfile.lock
	lib/msf/ui/console/command_dispatcher/db.rb
	metasploit-framework-db.gemspec
	metasploit-framework.gemspec
2015-04-15 14:04:35 -05:00
root 51dd88114b Fix grammer in comments 2015-04-13 13:21:41 +05:00
Matt Buck 9f15824e2a Merge branch 'master' into staging/rails-4.0
Conflicts:
	Gemfile.lock
2015-04-10 15:35:27 -05:00
James Lee 83cf1ad8ce Instantiate to get name if we don't have cache yet
Fixes #5086
2015-04-06 18:59:38 -05:00
Christian Catalan 75343ef30c Remove unneccesary match_set in MatchResult.create
MSP-12516

* Fixes UknownAttribute error for match_set in Rails 4
2015-04-06 16:36:37 -05:00
James Lee 8c1a597a25 Make a Session record before using it
How about that.
2015-04-01 13:12:28 -05:00
James Lee 8b8ec5990a Ask the database how long the column should be
Instead of hardcoding a number
2015-03-31 14:12:22 -05:00
James Lee a8ef465b46 Use the variables we worked so hard to create 2015-03-31 13:34:27 -05:00
James Lee 176cdcb836 Use sym-to-proc instead of reimplementing it 2015-03-31 11:21:53 -05:00
James Lee 971120ce98 Use create! instead of new ... save! 2015-03-31 10:15:23 -05:00
James Lee 790a08a848 It's pronounced "exploit", not "assoc_exploit" 2015-03-30 16:21:17 -05:00
James Lee 310779d7bf Death to hashrockets 2015-03-30 13:13:58 -05:00
James Lee e65f4e92ea Separate the two ways to make Mdm::Sessions
Failing spec due to reuse of Mdm::Module::Detail instead of also
instantiating an Msf::Module
2015-03-30 13:05:20 -05:00
James Lee 466ef4349e Second verse, same as the first 2015-03-27 09:59:10 -05:00
James Lee a9e4961563 New hash syntax 2015-03-26 10:05:08 -05:00
James Lee a3ae0daf5a Whitespace 2015-03-26 10:02:08 -05:00
James Lee cb41154712 Make a MatchResult when sessions are reported 2015-03-10 15:17:57 -05:00
James Lee b37a975108 Use metasploit_data_models staging branch 2015-03-09 01:28:27 -05:00
James Lee d771f54e35 Axe unused var 2015-03-09 00:21:10 -05:00
James Lee 6baff47e98 Refactor inference into its own method 2015-03-09 00:19:57 -05:00
Luke Imhoff 1811d4e58f Extract Msf::DBManager::Session
MSP-11124

Extract methods related to `Mdm::Session`s.
2014-10-13 10:50:11 -05:00