Wei Chen
583874d370
Update use of reliability/side-effects/stability metadata
2018-09-26 18:54:08 -05:00
Erin Bleiweiss
0e2361d675
Use friendly error messages and also Open3.capture2e
2018-09-26 18:49:07 -05:00
William Vu
bbfac2af1c
Fix copypasta typo
2018-09-26 18:46:43 -05:00
William Vu
5444d7a1a5
Update chmod_x_file to chmod
2018-09-26 18:46:42 -05:00
Tim W
896dd13bbe
&& instead of and
2018-09-26 18:46:42 -05:00
Tim W
4adca52103
create chmod helper function
2018-09-26 18:46:42 -05:00
Erin Bleiweiss
79c26bce08
Add a more comprehensive git check
2018-09-26 18:32:52 -05:00
Erin Bleiweiss
173f570812
Check for presence of git directory
2018-09-26 18:29:49 -05:00
Erin Bleiweiss
71cb3e8e94
Use OptionParser
2018-09-26 18:08:46 -05:00
Erin Bleiweiss
f8984c4f9b
Rename function, change args from to
2018-09-26 17:55:43 -05:00
Wei Chen
04ff0931d7
Add metadata place holders for reliability/side-effects/stability
2018-09-26 17:42:54 -05:00
Erin Bleiweiss
0b48d2371d
Add error handling for non-git situations
2018-09-26 17:32:40 -05:00
Erin Bleiweiss
b3053020d1
Update help docs
2018-09-26 17:23:46 -05:00
Erin Bleiweiss
eeee289e2f
Add command to reload all files changed as per git diff
2018-09-26 17:16:46 -05:00
OJ
736b60f63c
Update payloads to include the new Kiwi release
2018-09-26 14:26:31 +10:00
William Vu
0269110faf
Land #10696 , autofilter_{ports,services} in cache
2018-09-25 17:12:54 -05:00
Jeffrey Martin
2db3279956
use symbols and match filter keys to code
2018-09-25 15:04:26 -05:00
Brent Cook
94988e26e0
add mutex on closes
2018-09-25 09:57:45 -05:00
Brent Cook
1a493c4508
Only send a close channel message once, avoid if Meterpreter told us
...
Don't send a close message for a nil channel ID, and if we do send a close
message, only do it once. I could have added a mutex somewher in _close(), but
because it's a class method, it's a little awkward and would require all of the
callers to instead have voluntary lock. As an alternative, I just made the
finalizer close the channel instead.
Fixes #10177
2018-09-25 02:30:38 -05:00
Brent Cook
f08cb18afd
Land #10594 , Fix hashdump and user enumeration on new macOS versions
2018-09-24 22:18:24 -05:00
Brent Cook
c89d8f8fb7
fix user enumeration methods, be more robust
2018-09-24 22:17:32 -05:00
Matthew Kienow
ea888eaa7c
Add method comments for raise
2018-09-24 17:22:25 -04:00
Jeffrey Martin
cb2f4ae419
Add filter_ports and filter_services to cache
...
When caching metadata about module include `filters` when available.
2018-09-24 14:11:52 -05:00
Erin Bleiweiss
b51d016a93
Store and search payloads with workspace id
2018-09-24 14:11:48 -05:00
Wei Chen
02ef565730
Update evasion_module_type branch
2018-09-24 08:20:32 -05:00
William Vu
fb032745a1
Print nicely about what object you're in
2018-09-21 16:03:48 -05:00
William Vu
7c000c6692
Add pry -h
2018-09-21 16:03:37 -05:00
William Vu
094cc527de
Add pry command to Meterpreter
2018-09-21 16:03:24 -05:00
Matthew Kienow
5280cf0c50
Move required members and types to constants
2018-09-21 11:19:38 -04:00
William Vu
a38080528b
Land #10684 , stray quote fix for writable? raise
2018-09-20 22:55:11 -05:00
William Vu
3bc0a821d5
Prefer ye olde TeX-style quotes
...
This was @bcoles' initial commit. I agree. Looks good with the raise.
2018-09-20 22:54:17 -05:00
William Vu
fdbb085f0b
Fix NameError in cmd_shell due to renamed variable
...
I missed this while refactoring. I didn't use the var after all. :'(
2018-09-20 22:27:28 -05:00
William Vu
95e2c388c4
Remove stray quote from raise in writable? method
...
Didn't break the string but looked funny.
2018-09-20 22:19:18 -05:00
Matthew Kienow
7d30f781f6
Add missing raise
2018-09-20 20:09:42 -04:00
Matthew Kienow
c7badd5c37
Add method comments
2018-09-20 20:07:45 -04:00
Matthew Kienow
9d3d9c3ad6
Change parameter version to Symbol
2018-09-20 19:58:04 -04:00
Matthew Kienow
4acf695de9
Remove debug output and unused code
2018-09-20 18:05:36 -04:00
Matthew Kienow
8bd9faad22
Initial JSON-RPC servlet and support architecture
2018-09-20 17:39:33 -04:00
Matthew Kienow
0fd98d5eaa
Add set_raw_response method
2018-09-20 17:31:06 -04:00
Erin Bleiweiss
4c39ac8aa5
Update get_payload function name for naming consistency
2018-09-20 16:21:30 -05:00
Erin Bleiweiss
8f143daa65
Remove copy/paste error
2018-09-20 16:09:43 -05:00
bwatters-r7
768e3b4971
Land #10575 , add meterpreter chmod command
...
Merge branch 'land-10575' into upstream-master
2018-09-20 16:05:30 -05:00
William Vu
185931ca91
Land #10625 , repeat command to repeat commands
2018-09-20 15:24:03 -05:00
William Vu
6f72a0516f
Fix remaining typos
2018-09-20 15:23:15 -05:00
Jeff Tang
bba7bcc885
add support for ext_server_unhook
2018-09-19 16:20:26 -04:00
Adam Cammack
dbb75fd2af
Land #10659 , Minor code cleanups
2018-09-19 14:55:47 -05:00
Kent 'picat' Gruber
f4b7584b6c
use max_by &:size instead of max
...
this should fix the issue in the PR
2018-09-19 10:26:21 -04:00
William Vu
c7ee3bdf45
Land #10666 , compatible_sessions NoMethodError fix
2018-09-19 03:44:04 -05:00
Erin Bleiweiss
102b76897c
Add swagger docs for payloads
2018-09-18 17:20:03 -05:00
Erin Bleiweiss
dc36c3a3db
Remove workspace from opts when getting all payloads
2018-09-18 17:19:46 -05:00