Skip to content

Commit 573e880

Browse files
author
jvazquez-r7
committed
Use the correct post id when posting
1 parent ded0269 commit 573e880

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/unix/webapp/php_wordpress_total_cache.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def post_comment
135135
vars_post = {
136136
'comment' => php_payload,
137137
'submit' => 'Post+Comment',
138-
'comment_post_ID' => "#{datastore['POSTID']}",
138+
'comment_post_ID' => "#{@post_id}",
139139
'comment_parent' => "0"
140140
}
141141
vars_post.merge!({

0 commit comments

Comments
 (0)