Skip to content
This repository was archived by the owner on Oct 22, 2020. It is now read-only.

Commit 8c47597

Browse files
committed
Add method for accessing success state
1 parent 3207d4e commit 8c47597

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/wpxf/wordpress/xss.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,4 +145,9 @@ def upload_shell(username, password)
145145

146146
true
147147
end
148+
149+
# @return [Boolean] true if the XSS shell upload was successful.
150+
def xss_shell_success
151+
@success
152+
end
148153
end

0 commit comments

Comments
 (0)