William Vu
2c485c509e
Fix caps on module titles (first pass)
2013-11-15 00:03:42 -06:00
William Vu
2572d8daad
Add #! check to msftidy
2013-11-08 16:11:48 -06:00
William Vu
bcc9c760c4
Add +x check to msftidy
2013-11-05 11:50:28 -06:00
sinn3r
079c82d11d
Land #2565 - Show full path in msftidy
2013-10-22 16:05:56 -05:00
William Vu
33c3167362
Show full path instead of just the basename
...
Since @todb-r7 and I hate having to use find. :/
2013-10-22 14:54:54 -05:00
William Vu
36a7d02001
Update msftidy to check new ZDI reference
2013-10-21 15:31:37 -05:00
Tod Beardsley
07ab53ab39
Merge from master to clear conflict
...
Conflicts:
modules/exploits/windows/brightstor/tape_engine_8A.rb
modules/exploits/windows/fileformat/a-pdf_wav_to_mp3.rb
2013-10-17 13:29:24 -05:00
Tod Beardsley
3e31235a14
Minor Ruby changes to resplat.rb
2013-10-16 16:37:15 -05:00
Tod Beardsley
3fc1a75a6b
Simplify msftidy with Find.find and add fixed()
...
Also, enforce binary encoding like the other Metasploit tools.
This opens the door to fixing files that have things that could be fixed
programmatically.
[SeeRM #8497 ]
2013-10-16 10:40:42 -05:00
Tod Beardsley
2f2b93cf61
Avoid resplatting resplat.rb
2013-10-15 14:59:56 -05:00
Tod Beardsley
5d86ab4ab8
Catch mis-formatted bracket comments.
2013-10-15 14:52:12 -05:00
Tod Beardsley
40106b3f22
Sometimes splats point at a /framework/ URL
2013-10-15 14:12:49 -05:00
Tod Beardsley
01fbbf16de
Add another line to the resplat regex.
2013-10-15 14:06:53 -05:00
Tod Beardsley
81d145ad81
At least offer a solution with msftidy
...
I would go ahead and fix it for the user, but due to #8497 , I can't
yet.
2013-10-15 13:53:38 -05:00
Tod Beardsley
e9e6fb7e26
Add msftidy check.
2013-10-15 13:35:52 -05:00
Tod Beardsley
56d4ba8ab8
Add a re-splatting tool for updating comments.
2013-10-15 13:13:00 -05:00
Tod Beardsley
36d058b28c
Warn for tabbed indentation
2013-10-01 12:22:46 -05:00
Tab Assassin
2e8d19edcf
Retab all the things (except external/)
2013-09-30 13:47:53 -05:00
Tab Assassin
0ecba377f5
Avoid retabbing things in .git/
2013-09-30 13:45:34 -05:00
sinn3r
c3976e8315
Land #2364 - Update retab util
2013-09-19 22:24:45 -05:00
James Lee
8fe9132159
Land #2358 , deprecate funny names
2013-09-18 14:55:33 -05:00
Tod Beardsley
9ee629e2b3
Short circut file checking if it's .rb
...
Makes things a little faster.
2013-09-13 10:51:50 -05:00
Tod Beardsley
75021bb75b
Make retab.rb smarter about ruby file types
...
Instead of just relying on a filename of *.rb, use the file utility to
determine file type.
For systems that lack lack 'which' and 'file', fall back to filename
matching.
This is useful for retabbing things like 'msfconsole' that don't have a
.rb extension.
2013-09-13 10:25:26 -05:00
Tod Beardsley
5dc3c3c424
Realign retab.rb
2013-09-13 10:15:05 -05:00
Tod Beardsley
32d2f7ffce
Hard tabs for now
2013-09-12 16:15:50 -05:00
Tod Beardsley
52843c6a67
Revert whitespace change to msf_tidy.rb
...
Causing merge conflicts, I'll re-tab it after this PR lands.
This reverts commit 1178da46c6
.
2013-09-12 16:14:42 -05:00
Tod Beardsley
1178da46c6
Normalize indentation or @wchen-r7 will be cross
2013-09-12 16:10:43 -05:00
Tod Beardsley
cf27b0b457
Add msftidy check for snake_case.rb filenames
2013-09-12 16:06:17 -05:00
sinn3r
8715eb36a8
Land #2300 - chk datastore mods
2013-09-12 15:09:09 -05:00
Tod Beardsley
f3ab6d1830
Retab should optionally keep local backups
...
Local backups are generally not needed since you can just git checkout
old versions anyway before committing. It was nice to have during dev
but generally shouldn't be done now.
2013-09-03 11:54:31 -05:00
Christian Mehlmauer
40e7f45db4
another regex fix
2013-08-30 16:10:16 +02:00
Christian Mehlmauer
921ec615c7
Bugfix
2013-08-29 21:35:15 +02:00
Christian Mehlmauer
1839af4b89
check for modified datastore
2013-08-29 07:31:17 +02:00
Tod Beardsley
ef224b175d
Allow for tabs or spaces as indentation
...
This signals a move to allowing for normal Ruby indentation (2 space
soft tabs). This change will check files for indentation of spaces or of
tabs, since we don't want to fail out all modules quite yet.
For more, see
https://github.com/rapid7/metasploit-framework/wiki/Indentation-Standards
where all details of the conversion plan will be documented in order to
minimize the amount of whitespace conflict we are sure to encounter over
this conversion.
2013-08-07 11:45:46 -05:00
Tod Beardsley
914ec856f0
Add a retab utility
...
Usage: tools/dev/retab.rb directory
will retab with 2-width spaces rather than tabs for indentation.
This utility should be used by the @tabassassin account when it's
unleashed on the Metasploit code base in order to make git blame a
little easier to spot. (diffs should use -b or -w to avoid seeing
@tabassassin's changes)
2013-08-07 11:34:49 -05:00
lsanchez-r7
2bb11693f2
fixing some copy
2013-07-08 18:16:15 -05:00
lsanchez-r7
250472474c
updating the list_interfaces.rb to use the gem
2013-07-08 17:59:41 -05:00
lsanchez-r7
94db2dc83f
updating list_interfaces for windows, this should work?
2013-07-08 17:52:24 -05:00
lsanchez-r7
4541a9e49e
now with passing msftidy
2013-07-08 17:44:50 -05:00
jvazquez-r7
2ceb404f7d
Land #2047 , @hmoore-r7 ipmi related work
2013-07-02 11:13:25 -05:00
Tod Beardsley
04c2a7367d
Uncapitalized function names are rarely improper.
2013-07-01 15:37:22 -05:00
HD Moore
759a43abe5
Allow for null passwords
2013-06-29 23:20:50 -05:00
HD Moore
1e21f0e2aa
Updated output formats, top 1000 passwords
2013-06-29 22:01:25 -05:00
HD Moore
5656e0cb7a
Initial commit of IPMI library, scanner, & cracker
2013-06-22 23:38:28 -05:00
h0ng10
4e42ffd51e
msftidy cleanup
2013-04-12 21:39:11 +02:00
h0ng10
f6da02d907
Check for VERBOSE Option
2013-04-12 21:34:15 +02:00
Brandon Turner
06537e0ab1
Remove the gemcache loader and tools
2013-04-03 16:24:56 -05:00
Trevor Rosen
5af14c4153
Merge pull request #1380 from todb-r7/feature/mailmap_and_commit_count
...
Godspeed, friends.
2013-03-21 09:57:46 -07:00
Tod Beardsley
fd20eba35e
Expanding the title and desc for external_ip
...
Also allowing the capitalization on "via" to be small.
2013-03-20 14:42:12 -05:00
Tod Beardsley
9fe0a01652
Merge branch 'master' into feature/mailmap_and_commit_count
2013-02-15 16:52:11 -06:00