Skip to content

Commit 67ec4ba

Browse files
PR-19208: Add DefaultTarget to the info hash
1 parent 6b12724 commit 67ec4ba

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

documentation/modules/exploit/multi/http/wp_hash_form_rce.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Exploit target:
9797
9898
Id Name
9999
-- ----
100-
0 Automatic
100+
0 PHP In-Memory
101101
102102
103103
@@ -107,8 +107,6 @@ msf6 exploit(multi/http/wp_hash_form_rce) > set rhosts 127.0.0.1
107107
rhosts => 127.0.0.1
108108
msf6 exploit(multi/http/wp_hash_form_rce) > set rport 8080
109109
rport => 8080
110-
msf6 exploit(multi/http/wp_hash_form_rce) > set target 1
111-
target => 1
112110
msf6 exploit(multi/http/wp_hash_form_rce) > exploit
113111
114112
[*] Started reverse TCP handler on 192.168.1.36:4444
@@ -165,7 +163,7 @@ Exploit target:
165163
166164
Id Name
167165
-- ----
168-
2 Unix/Linux Command Shell
166+
1 Unix/Linux Command Shell
169167
170168
171169

modules/exploits/multi/http/wp_hash_form_rce.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def initialize(info = {})
5959
}
6060
]
6161
],
62+
'DefaultTarget' => 0,
6263
'Privileged' => false,
6364
'DisclosureDate' => '2024-05-23',
6465
'Notes' => {

0 commit comments

Comments
 (0)