Skip to content

Commit 7838a94

Browse files
authored
Update werkzeug_debug_rce.rb
Added comments about where version-dependant salts come from
1 parent f209316 commit 7838a94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/exploits/multi/http/werkzeug_debug_rce.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def initialize(info = {})
6161
{
6262
digest: Digest::SHA1,
6363
digest_inputs: :new,
64-
salt: ' added salt'
64+
salt: ' added salt' # From site-packages/werkzeug/debug/__init__.py > hash_pin()
6565
}
6666
],
6767
# pip install werkzeug==1.0.1 flask==1.1.4
@@ -70,7 +70,7 @@ def initialize(info = {})
7070
{
7171
digest: Digest::MD5,
7272
digest_inputs: :new,
73-
salt: 'shittysalt'
73+
salt: 'shittysalt' # From site-packages/werkzeug/debug/__init__.py > hash_pin()
7474
}
7575
],
7676
# pip install werkzeug==0.11.5 flask==0.12.5
@@ -79,7 +79,7 @@ def initialize(info = {})
7979
{
8080
digest: Digest::MD5,
8181
digest_inputs: :old,
82-
salt: 'shittysalt'
82+
salt: 'shittysalt' # From site-packages/werkzeug/debug/__init__.py > hash_pin()
8383
}
8484
],
8585
# pip install werkzeug==0.10 flask==0.12.5

0 commit comments

Comments
 (0)