Commit Graph

37 Commits

Author SHA1 Message Date
Jon Hart 0ae2e64bc5 Only mark rsync as req'ing auth true/false if we are sure, otherwise vprint and unknown 2015-11-05 09:20:02 -08:00
Jon Hart f1a79bd207 Make motd printing optional, off by default 2015-11-04 10:11:00 -08:00
Jon Hart 8f497faa09 Make read timeout configurable and shorter by default
This makes the time spent handling motd almost a non-issue
2015-11-04 10:01:38 -08:00
Jon Hart 3528bb2fa7 Remove optional motd handling; this is always necessary
without it, detecting authentication on systems w/ a motd does not work
2015-11-04 09:43:10 -08:00
Jon Hart 0d3232f93a break if we get the rsync exit 2015-11-04 09:12:02 -08:00
Jon Hart ba5a8e4806 style 2015-11-04 09:11:07 -08:00
Jon Hart 2cab70294e sprinkle in peer 2015-11-04 09:05:33 -08:00
Jon Hart 9bcdd19e0a Correct table 2015-11-04 09:01:07 -08:00
Jon Hart 8f4f187c70 More usable format for module metadata in notes 2015-11-04 08:47:37 -08:00
Jon Hart b7ccee949e Improve name and description; update authors 2015-11-04 08:42:29 -08:00
Jon Hart c0993c3797 Appease rubocop
You have 20 seconds to comply
2015-11-04 08:28:35 -08:00
Jon Hart c265a371d8 Make testing the rsync module for authentication optional,
but on by default
2015-11-04 08:25:38 -08:00
Jon Hart 3c92b109d7 Don't wait for motd when testing for auth 2015-11-02 10:49:48 -08:00
Jon Hart 6c0034fba6 get_once for negotiation and trailing motd_lines
This feels hacky.
2015-11-02 09:32:54 -08:00
Jon Hart a120dd1ea9 Return nil when no motd lines 2015-11-02 09:18:10 -08:00
Jon Hart 962cf77873 Not all modules have comments 2015-11-02 09:14:41 -08:00
Jon Hart 4effd3aa81 Handle case where motd comes after negotiation 2015-11-02 09:12:57 -08:00
Jon Hart d18b6ff9cd More doc, error handling 2015-10-30 13:13:44 -07:00
Jon Hart ff1d0709e0 vprint if the thing isn't rsync 2015-10-30 12:39:06 -07:00
Jon Hart eb99aaa216 Print out modules before building/reporting table 2015-10-30 09:49:07 -07:00
Jon Hart b5d0804442 Detect if an rsync module requires authentication 2015-10-27 18:15:18 -07:00
Jon Hart 4a3848cc4f Handle rsync motd 2015-10-27 18:15:18 -07:00
Jon Hart 73a6b47606 Split out negotiation and listing 2015-10-27 18:15:18 -07:00
Jon Hart 6dd40ec063 Better reporting 2015-10-27 18:15:18 -07:00
Jon Hart caf848ddf4 Store table better 2015-10-27 18:15:18 -07:00
Jon Hart 3e7f7f2eec Remove unnecessary table options, as these are the default 2015-10-27 18:15:18 -07:00
Jon Hart 4f468dbcd7 Usability improvements for rsync modules_list 2015-10-27 18:15:18 -07:00
Jon Hart 6781dfa6ee Style cleanup for rsync modules_list 2015-10-27 18:15:18 -07:00
ikkini c2174c7910 return if no version response received 2014-10-19 00:29:36 +02:00
URI Assassin 35d3bbf74d Fix up comment splats with the correct URI
See the complaint on #4039. This doesn't fix that particular
issue (it's somewhat unrelated), but does solve around
a file parsing problem reported by @void-in
2014-10-17 11:47:33 -05:00
jvazquez-r7 9fb9ab813c Add URL reference 2014-08-28 18:47:56 -05:00
jvazquez-r7 bc542a011d Change module filename 2014-08-28 18:42:30 -05:00
jvazquez-r7 213fe23970 Clean rsync_modules_list 2014-08-28 18:40:55 -05:00
ikkini 03f68e21e7 Merge branch 'rsync_modules' of https://github.com/ikkini/metasploit-framework into rsync_modules 2014-07-24 23:29:14 +02:00
ikkini ccb26637e7 List all (listable) modules from a rsync daemon 2014-07-24 23:26:41 +02:00
ikkini 6692545eb6 Delete rsync_list.rb 2014-07-24 22:10:08 +02:00
ikkini f12b97e8c0 List all (listable) modules from a rsync daemon 2014-07-24 22:04:00 +02:00