Commit Graph

182 Commits

Author SHA1 Message Date
rrockru d9d54e1ae5 Fix for vbapplication 2020-06-05 15:16:58 +03:00
rrockru 701a1d6ec7 Fix for vbapplication 2020-06-05 14:53:12 +03:00
Adam Cammack 023db0c8b0
Set prompt escape chars only when they work 2020-05-21 09:26:58 -05:00
Metasploit 59da568659 Bump rex-text to 0.2.27 2020-05-07 22:00:59 -05:00
cn-kali-team dd5d5ab2c5 Check whether the encode is valid 2020-04-02 22:41:46 +08:00
cn-kali-team 4bd7abb502 Use Ruby 1.9 built in regular matching 2020-04-01 08:00:40 +08:00
cn-kali-team e81dbdfb00 Fix padding for Chinese Unicode strings 2020-04-01 01:01:49 +08:00
Metasploit 75f539d368 Bump rex-text to 0.2.26 2020-03-23 13:09:07 -05:00
Alan Foster 73896ea067
Land #27, add stylers and formatters to table ColProps 2020-03-23 17:54:18 +00:00
Adam Galway 64dc9cb1ce
adds formatter and styler support 2020-03-23 17:43:30 +00:00
Metasploit 8de2f76476 Bump rex-text to 0.2.25 2019-09-18 14:22:07 -05:00
Adam Cammack 11f6bbd051
Land #25, Add missing psh comment formatter 2019-09-18 14:21:09 -05:00
James Lee 1c1c094470
Add missing psh comment 2019-09-18 12:16:13 -05:00
Metasploit 0c62ce0247 Bump rex-text to 0.2.24 2019-08-26 21:55:02 -07:00
Adam Cammack c118d0a472
Land #23, Use byte strings for Python3 compat 2019-08-26 23:53:32 -05:00
Nick 5ba3fa38e9
fix python3 bytes string 2019-08-25 20:24:14 +00:00
Metasploit 599365eaa7 Bump rex-text to 0.2.23 2019-07-22 14:19:43 -07:00
asoto-r7 a5d2e9b021
Land #22, Implement XOR with variable-length key 2019-07-22 16:15:42 -05:00
William Vu 9d24a18183 Hexify between? check to match error message 2019-07-19 17:41:09 -05:00
William Vu 9c0c32bec1 Remove integer string support
No one uses it, and it's bad form anyway. Also allowing empty values.
2019-07-19 17:37:21 -05:00
William Vu d40e4a25b0 Update spec 2019-07-18 14:27:25 -05:00
William Vu 77a442a1c3 Add empty string check 2019-07-18 14:27:09 -05:00
William Vu f0b758e956 Add test for XOR'ing with yourself
Like the Billy Idol song?
2019-07-18 14:11:52 -05:00
William Vu 58d5b2fd37 Add tests for variable-length and nil keys 2019-07-18 13:49:46 -05:00
William Vu 71bb07c1be Implement XOR with variable-length key 2019-07-18 13:39:56 -05:00
Metasploit 0e3b7d3246 Bump to 0.2.22 2018-06-13 15:31:32 -07:00
Brent Cook 6ef2d31833
Land #21, add SHA2 digest wrappers 2018-06-13 17:30:30 -05:00
Brent Cook dfde4756fe
Land #19, remove unnecessary gsub regex to remove newline 2018-06-13 17:27:32 -05:00
Brent Cook 1fefc60928
Land #18, use single regular expression for strict case 2018-06-13 17:23:59 -05:00
Brent Cook 4dbd20820e prefer ternary 2018-06-13 17:16:55 -05:00
Brent Cook 6029fb9183
Land #17, speedup to_mixed_case_array 2018-06-13 16:52:44 -05:00
Brent Cook 7e433a3e9c
Land #16, simplify shuffle_a implementation 2018-06-13 16:49:04 -05:00
Auxilus 7995627071
add SHA2 digest
reference https://github.com/rapid7/metasploit-framework/issues/10076
2018-05-24 00:01:08 +05:30
Kent Gruber 64fa440acf add optional delimiter back to method
Taking recommendation from @wvu-r7
2018-04-27 22:21:53 -04:00
Kent Gruber dc59bc5d54 remove unnecessary gsub regex to remove newline
using the strip method gives the same result and is up to 5x faster in
my benchmarks
2018-04-27 20:58:54 -04:00
Kent Gruber a4c11e157e use single regular expression for strict case
Instead of using type regular expressions and a map to reject out the
words we don’t want, we can just as easily use one regular expression
yielding a 5x speed bump in my benchmarks.
2018-04-27 20:21:04 -04:00
Kent Gruber 770a8e5321 speedup to_mixed_case_array method
By removing regex and utilizing maps to limit unnecessary allocation
allows for some performance gains.
2018-04-27 15:14:53 -04:00
Kent Gruber 841e588eaf simplify shuffle_a implementation
The #shuffle! method uses the Fisher-Yates algorithm.

I think this will do the job just as well.
2018-04-27 13:33:09 -04:00
Metasploit bc899b17bb Bump to 0.2.21 2018-04-18 03:37:37 -07:00
Brent Cook 26cc0a7b71
Land #12, bump ruby deps 2018-04-18 00:36:30 -10:00
Brent Cook 5b52aab969 update dependencies, apply workarounds for rubygems 2018-04-18 00:32:50 -10:00
Metasploit f62e2b4ad9 Bump to 0.2.20 2018-04-18 03:17:45 -07:00
Brent Cook 88972caf3b
Land #14, remove RC4/SHA256 support 2018-04-18 00:16:42 -10:00
Wei Chen 7dece524fa Remove the rc4 require 2018-04-17 23:09:16 -05:00
Wei Chen 6c124fb00d Remove AES256 and RC4 routines
They are moved to framework in Rex::Crypto
2018-04-17 20:17:31 -05:00
Metasploit 1574ebc2cf Bump to 0.2.19 2018-04-12 00:04:53 -07:00
Brent Cook 8f8c737788
Land #13, add text encryption / encoding wrappers 2018-04-12 02:03:02 -05:00
Wei Chen b829f19570 Fix rspec for aes256 2018-04-12 01:06:22 -05:00
Wei Chen 11001d010c Add rspec and fix a bug in XOR in the process 2018-04-12 00:58:19 -05:00
Wei Chen 1247158968 Add documentation 2018-04-11 13:57:24 -05:00