Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update_payload_cache_size script overwrites dynamic payload values #19605

Open
bwatters-r7 opened this issue Oct 30, 2024 · 1 comment
Open
Labels

Comments

@bwatters-r7
Copy link
Contributor

When running the update_payload_cache_size script, I noticed it overwrote dynamic payload sizes.

diff --git a/modules/payloads/singles/windows/x64/powershell_bind_tcp.rb b/modules/payloads/singles/windows/x64/powershell_bind_tcp.rb
index f20b0c8125..b71fa81dde 100644
--- a/modules/payloads/singles/windows/x64/powershell_bind_tcp.rb
+++ b/modules/payloads/singles/windows/x64/powershell_bind_tcp.rb
@@ -10,7 +10,8 @@ require 'rex/powershell'
 #
 ###
 module MetasploitModule
-  CachedSize = :dynamic
+
+  CachedSize = 1887
@bwatters-r7
Copy link
Contributor Author

bwatters-r7 commented Oct 30, 2024

I once again ask: When has this check ever caught a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant