William Vu
de6306fa35
Fix message, once more with feeling
2020-02-20 11:26:21 -06:00
William Vu
9c69059a24
Fix DisablePayloadHandler warning once and for all
2020-02-20 10:35:47 -06:00
William Vu
7a9ecd76c5
Land #12946 , set PAYLOAD normalization
2020-02-19 11:19:51 -06:00
William Vu
c5917048fb
Make quotes consistent
2020-02-19 11:19:42 -06:00
Adam Galway
e25cf99ce3
improved sub! regex
2020-02-19 17:12:28 +00:00
Adam Galway
9b52ece7b7
simplifies start_with?
2020-02-19 17:06:02 +00:00
Adam Galway
62eb756fe2
establish parity with #8882
2020-02-18 16:28:44 +00:00
Adam Galway
235861d4ed
removes greedy if
2020-02-18 10:30:36 +00:00
Adam Galway
13784bb35d
replaces if statements with regex
2020-02-18 09:51:39 +00:00
Adam Galway
62e5757baa
filters /payload/ from set PAYLOAD values
2020-02-17 16:00:58 +00:00
William Vu
7e9bd506d6
Add generate -v to optionally show payload stage
2020-02-13 16:33:48 -06:00
William Vu
593e391e2f
Remove redundant else
2020-02-04 10:28:54 -06:00
Auxilus
c75eab5854
show search help when args and module_search_results are empty
2020-02-04 12:14:33 +05:30
Spencer McIntyre
bf31fb7ca8
Land #12883 , add the listm and clearm commands
2020-01-29 17:36:12 -05:00
Spencer McIntyre
a1f3834e08
Fix a bug in popm and tweak status messages
2020-01-29 17:35:37 -05:00
William Vu
66b856d562
Add listm/clearm commands to manage module stack
2020-01-27 21:57:15 -06:00
William Vu
9c42ba3042
Show previous module in "previous" command help
2020-01-27 21:41:49 -06:00
William Vu
47baf3e643
Add a period so it doesn't drive me crazy
2020-01-27 21:19:55 -06:00
William Vu
08102f2004
Update set command help for PAYLOAD by index
2020-01-27 19:36:27 -06:00
L
0876b8e7d7
enhancement payload generate raw
2020-01-11 19:43:04 +08:00
Adam Galway
f8b8dc1c80
improve dertermining module check support
2019-12-13 11:02:21 +00:00
Jeffrey Martin
75f78fbce4
set any passed workspace if db is active
2019-11-27 17:19:44 -06:00
Brent Cook
3e951b3f4b
Land #12457 , consolidate workspace actions
2019-11-19 17:10:36 -06:00
Brendan Coles
d172534417
64K ought to be enough for anyone
2019-11-10 09:49:49 +00:00
Jeffrey Martin
eb07305104
Land #11695 , Password Cracker Overhaul(ie hashcat)
2019-11-07 19:09:52 -06:00
bwatters-r7
315164b388
Land #12467 , Bug Fix: nops generate '-s' option ignored
...
Merge branch 'land-12467' into upstream-master
2019-10-25 12:02:20 -05:00
nil0x42
d7b629c858
Apply suggestions from code review
...
Co-Authored-By: Brendan <bwatters@rapid7.com >
2019-10-25 05:34:56 -03:00
Brent Cook
100c0a7580
Land #12438 , add support for custom Meterpreter prompts
2019-10-21 12:20:06 -05:00
nil0x42
e48132d7df
Bug Fix: nops generate '-s' option ignored
...
This error was trying to parse the contents of undefined '-c' option instead of '-s'.
Making impossible the definition of SaveRegisters from the console.
Step to reproduce:
`msfconsole -q -x 'use nop/x86/single_byte; generate -s esp 10; exit' | grep -v '0m' | tr -d '\n\\x+ ";' | rasm2 -b 32 -D -`
```asm
0x00000000 1 0e push cs
0x00000001 1 d6 salc
0x00000002 1 54 push esp
0x00000003 1 f8 clc
0x00000004 1 43 inc ebx
0x00000005 1 56 push esi
0x00000006 1 5a pop edx
0x00000007 1 56 push esi
0x00000008 1 5a pop edx
0x00000009 1 44 inc esp
```
As we can see, 'inc esp', and some 'push/pop' instructions have been generated although having explicitly asked to save `esp` register through `generate` command.
This commit addresses this issue
2019-10-18 17:31:03 +00:00
Jeffrey Martin
7505e1bf71
Consolidate logic for actions taken on a workspace
...
* When renaming a workspace allow validation to handle all cases the same
* Do not display backtrace on console for rename failure, this is still logged to framework.log
2019-10-15 16:12:11 -05:00
bwatters-r7
f5bb6f8ca2
Land #12428 , Extend check codes with custom messages
...
Merge branch 'land-12428' into upstream-master
2019-10-15 11:06:33 -05:00
Brent Cook
fd447736dc
colors are safe on Windows
2019-10-11 16:23:10 -05:00
Spencer McIntyre
f63fd37938
Support a dynmaic meterpreter prompt
2019-10-10 21:13:12 -04:00
Adam Cammack
f9c5939a29
Teach more things about the new check codes
2019-10-08 16:21:40 -05:00
Jeffrey Martin
7389417fc5
adjust for more limited require
2019-10-07 11:26:26 -05:00
Matthew Kienow
776c7268f5
Fix database active check
2019-08-21 09:35:15 -04:00
Brent Cook
3437ba758b
Land #12199 , fix invalid range backtrace when RHOSTS is invalid
2019-08-15 07:28:57 -05:00
William Vu
3aad5accac
Fix nil RangeWalker length for invalid range
...
reset returns false and doesn't initialize length.
2019-08-14 21:40:58 -05:00
William Vu
141350dbc1
Update help
2019-08-14 21:28:13 -05:00
William Vu
25a66a245f
Prefer import_options_from_s over manual parsing
2019-08-14 21:08:00 -05:00
William Vu
e20d9e8c4f
Fix another typo
2019-08-14 21:04:06 -05:00
William Vu
f81a326ac1
Fix typo
2019-08-14 20:43:40 -05:00
William Vu
a53fe44d8e
Properly parse option string anyway with -o
2019-08-14 20:32:53 -05:00
William Vu
45747c45f7
Remove extraneous -s NOP sled option
2019-08-14 20:32:31 -05:00
William Vu
e3463d0cd8
Prefer Rex::Text.dehex over Rex::Text.hex_to_raw
2019-08-14 20:32:30 -05:00
William Vu
da188502e4
Update method name for indexing from a list
...
Module-specific code was moved back into modules.rb and core.rb.
2019-07-25 14:26:42 -05:00
William Vu
40b040b3e6
Cache "show payloads" and set PAYLOAD by index
2019-07-24 20:15:12 -05:00
William Vu
29d6c270d4
Fix setting PAYLOAD clearing target DefaultOptions
2019-07-24 17:38:14 -05:00
Green-m
9203a0adf0
Fix typo in #11551 to solve aux rhosts issue.
2019-07-21 19:54:44 +08:00
h00die
fd628583fe
crack module peer review
2019-07-15 19:57:39 -04:00