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
Matthew Kienow
5280cf0c50
Move required members and types to constants
2018-09-21 11:19:38 -04: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
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
8f143daa65
Remove copy/paste error
2018-09-20 16:09:43 -05:00
William Vu
185931ca91
Land #10625 , repeat command to repeat commands
2018-09-20 15:24:03 -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
Erin Bleiweiss
35e767e2dd
Prevent payload creation with duplicate uuids
2018-09-18 16:49:06 -05:00
Erin Bleiweiss
7e6c3261b6
Update payload count method
2018-09-18 16:36:11 -05:00
Erin Bleiweiss
54e0c25d33
Add api support for deleting payload by ID
2018-09-18 16:16:10 -05:00
Erin Bleiweiss
efe98dbcfb
Add api support for updating payload by ID
2018-09-18 16:03:21 -05:00
Erin Bleiweiss
9b5326994f
Add remote data endpoint support for searching payloads
2018-09-18 15:50:55 -05:00
Green-m
85c40a122a
Fix crash issue when auto complete the session option.
2018-09-18 18:49:56 +08:00
Green-m
d24eb2dbac
Add a comment
2018-09-18 15:58:09 +08:00
Green-m
862a8c921c
Fix issue when kill a job with non-integer jobid
2018-09-18 15:50:00 +08:00
Green-m
d4cdaf56ae
Fix issue when kill a non-existent job.
2018-09-18 15:48:30 +08:00
h00die
a462a84b61
Land #10653 additional gcc paths for solaris libs
2018-09-17 18:23:21 -04:00
Brent Cook
86f5b25d8f
Land #10563 , Add 'Notes' metadata section
2018-09-17 11:18:08 -05:00
Kent 'picat' Gruber
781d808056
use tr insteas of gsub
2018-09-17 09:54:07 -04:00
Kent 'picat' Gruber
c3ca1a6cb8
use tr instead of gsub
2018-09-17 09:53:59 -04:00
Kent 'picat' Gruber
c97a2ce626
use delete! insteas of gsub
2018-09-17 09:50:21 -04:00
Kent 'picat' Gruber
bcf78e6067
use tr instead of gsub
2018-09-17 09:45:52 -04:00
Kent 'picat' Gruber
31a2afb586
use max instead of sort[-1]
2018-09-17 09:45:20 -04:00
Brendan Coles
28f23a842a
Update gcc path for Solaris
2018-09-16 17:22:38 +00:00
Brendan Coles
b76849d64e
Update gcc path for Solaris
2018-09-16 07:39:07 +00:00
William Vu
bcb7348648
Land #10645 , writable? method for Msf::Post::File
2018-09-15 17:27:42 -05:00
Brendan Coles
ea47b6de04
Add writable? method to Msf::Post::File - Fix #10644
2018-09-15 06:29:24 +00:00
Brendan Coles
d49d7a1214
Land #10638 , Warn when listing inactive sessions without DB connection
...
Replaces confusing message and stack trace with a warning message,
when the `sessions -d` command is used to list inactive sessions
when no database is connected.
2018-09-15 05:36:37 +00:00
Erin Bleiweiss
6fae6065d6
Upcase all the things
2018-09-14 16:05:43 -05:00
Erin Bleiweiss
e590b7c01f
Consolidate notes reference in erb templates
2018-09-14 12:08:22 -05:00
Erin Bleiweiss
184d1d5954
Leave notes type as a plain hash
2018-09-14 11:17:37 -05:00
Kent 'picat' Gruber
c71078a381
use max instead of sort_by { |p| p.size }.last
...
`sort_by { |p| p.size }.last` is less readable compared to just using the `max` method
I believe this does basicall the exact same thing, ontop of being much faster in my micro benchmark.
The old method was, something like, 8 times slower.
2018-09-14 11:19:16 -04:00
Kent 'picat' Gruber
2dcfdcbdc4
remove redundant hash merge
...
https://github.com/JuanitoFatas/fast-ruby#hashmerge-vs-hash-code
2018-09-14 11:04:39 -04:00
Kent 'picat' Gruber
ed338bbeec
use tr instead of gsub
...
https://github.com/rails/rails/pull/17257
https://github.com/JuanitoFatas/fast-ruby#stringgsub-vs-stringtr-code
2018-09-14 10:51:51 -04:00