Grant Willcox
adec2f4fbb
Update the login.rb code so we aren't as strict on cookies since older versions sometimes use JSESSIONIDADAPSSO instead of JSESSIONIDSSO for login cookies
2023-05-04 15:40:39 -05:00
jvoisin
3b66b3416f
Golf a bit the php payload
...
- Put all the error-disabling statements on a single line
- Remove some useless spaces
- Use `stristr(…)` (available since PHP4) instead of `strpos(strtolower(…))`
- Use `&&` instead of `and`
- Use backticks instead of `passthru`, since they're equivalent: https://www.php.net/manual/en/language.operators.execution.php
2023-05-04 22:25:32 +02:00
Grant Willcox
8c7ae1b6bb
Minor update to comments for clarity
2023-05-04 15:12:32 -05:00
ErikWynter
c088430bd9
improve sanity checks in login method and other code review fixes
2023-05-04 15:12:31 -05:00
Grant Willcox
f27fc28411
Perform review updates
2023-05-04 15:12:31 -05:00
ErikWynter
9b596b3efd
minor changes
2023-05-04 15:12:31 -05:00
ErikWynter
1c6c1dffc6
final code review fixes
2023-05-04 15:12:31 -05:00
ErikWynter
9fe7db4648
improve status codes handling
2023-05-04 15:12:30 -05:00
ErikWynter
aede036b02
additional changes from code review
2023-05-04 15:12:30 -05:00
Grant Willcox
ba687c49aa
Fix a few typos
2023-05-04 15:12:29 -05:00
ErikWynter
a5e86a0c51
code review improvements, including renaming silent param
2023-05-04 15:12:29 -05:00
Grant Willcox
0fd743d851
Add in fixes from code review
2023-05-04 15:12:29 -05:00
ErikWynter
dd075d5c99
library improvements after code review, module update
2023-05-04 15:12:28 -05:00
ErikWynter
a2cf29ab98
partial fixes after library code review
2023-05-04 15:12:28 -05:00
Grant Willcox
61d1cf1460
Fix up things identified during review
2023-05-04 15:12:28 -05:00
ErikWynter
e639460b9f
fix library comments for json_post_data.rb
2023-05-04 15:12:27 -05:00
ErikWynter
47d374497a
create adaudit plus mixin and move some stuff there
2023-05-04 15:12:27 -05:00
Metasploit
783a1eb504
Bump version of framework to 6.3.16
2023-05-04 12:11:31 -05:00
Grant Willcox
e5c636f931
Move folder descriptions into README.md files
2023-05-03 14:06:13 -05:00
Jeffrey Martin
2059505ccd
improve login attempt guards
...
* tighted up rescue to catch individual attempt exceptions
* remove general rescue in SNMP
* ensure SNMP socket is released
2023-05-03 09:15:14 -05:00
adfoster-r7
3bf01f2cf2
Land #17911 , Update setting missing datastore values to a warning instead of an error
2023-05-03 13:04:03 +01:00
cgranleese-r7
67694c1ef7
Removes return false
2023-05-03 11:41:11 +01:00
Jeffrey Martin
152f9460f9
rescue login scanner attempts
...
* Improve base login scanner to catch any Exception
* Catch any Exception in SNMP scanner that overrides base method
* Expand connection errors possible in PostgreSQL scanner
2023-05-02 15:43:57 -05:00
Grant Willcox
22441f1064
Land #16390 , Implement Caching DNS Resolver in Rex
2023-04-28 16:42:44 -05:00
Grant Willcox
3e81408a24
Add support for getting IPv6 addresses from hosts files and saving them into the cache
2023-04-28 14:47:56 -05:00
Christophe De La Fuente
62806caeae
Update web_delivery
2023-04-28 16:09:51 +02:00
RageLtMan
867902e7d0
SSM start/stop publication
2023-04-28 09:00:37 -04:00
bcoles
71f938682c
Post::Windows::Service: Support start/stop service on shell sessions
2023-04-28 18:44:11 +10:00
Metasploit
601d9cef96
Bump version of framework to 6.3.15
2023-04-27 12:03:50 -05:00
3V3RYONE
9c8bc4e124
added yard docs
2023-04-27 16:56:49 +05:30
space-r7
03fcfa7559
Land #17914 , fix paths for directory checks
2023-04-26 12:20:46 -05:00
Spencer McIntyre
2dc5a94ab7
Land #17926 , Fix 64-bit pointer type
...
Update pointer type to support 64 bit calls
2023-04-25 16:20:43 -04:00
adfoster-r7
e7c05eabe3
Fix deadlock regression when printing multiple lines to console
2023-04-25 00:39:44 +01:00
bwatters
a8043adef0
Fix accidental copy/paste
2023-04-24 17:19:18 -05:00
bwatters
9215488d31
Update pointer type to support 64 bit calls
2023-04-24 17:14:50 -05:00
Grant Willcox
708da64a68
Add back in the require for dnsruby
2023-04-23 13:56:24 -05:00
RageLtMan
3a4cb3560f
shell_command_token_base get 0th output index
2023-04-22 18:00:44 -04:00
RageLtMan
d797e5ec2c
Simplify SSM shell output filtering
2023-04-22 17:18:21 -04:00
RageLtMan
5132302363
Filter control bytes from SSM output
2023-04-22 15:22:18 -04:00
Spencer McIntyre
8c15c31b56
Fix paths for directory checks
...
The path C:\ ends with a trailing backslash which will cause bash to
wait for another line if input. This places the shell in an undesirable
state.
2023-04-21 14:39:00 -04:00
Metasploit
04df1ef7e8
Bump version of framework to 6.3.14
2023-04-20 12:11:36 -05:00
Spencer McIntyre
2e3a2b6f6d
Combine AWS SSM modules, autodetect platform
2023-04-19 18:05:50 -04:00
Spencer McIntyre
59b3c0e945
Set the platform in enum_ssm
...
Update the enum_ssm module to use the correct session type with the
appropriate platform. Also set the session information to the same
string which also removes the eye sore that is the shell banner.
2023-04-19 18:05:50 -04:00
Spencer McIntyre
a7d8bc6757
Fix sessions opening over and over again
...
Also make some code cleanups
2023-04-19 18:05:50 -04:00
Jack Heysel
9563466037
Land #17873 , add ensure disconnect to ftp login
...
Add ensure disconnect to ftp login module and ftp timeout configuration
2023-04-18 18:31:12 -04:00
adfoster-r7
1b72de063e
Land #17903 , Add missing fields when reading metadata cache
2023-04-18 11:48:05 +01:00
Dean Welch
7667499011
Update comment and correctly format date
2023-04-18 11:06:19 +01:00
Dean Welch
d17ab39748
Remove active database check for module cache rebuild
2023-04-17 23:55:37 +01:00
Dean Welch
e874731781
Pull out autofilter_ports and autofilter_services from metadata cache
2023-04-17 23:45:19 +01:00
RageLtMan
97c0fa7411
Split CachedResolver to own file per jmartin-r7
2023-04-17 13:14:47 -04:00