From c573c5bd4645d8c088d97925db68753033f2aa1f Mon Sep 17 00:00:00 2001 From: Denis Kolegov Date: Fri, 7 Nov 2014 09:04:43 +0600 Subject: [PATCH] Update command.js --- modules/ipec/s2c_dns_tunnel/command.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ipec/s2c_dns_tunnel/command.js b/modules/ipec/s2c_dns_tunnel/command.js index fd8b08667..c77116f8d 100644 --- a/modules/ipec/s2c_dns_tunnel/command.js +++ b/modules/ipec/s2c_dns_tunnel/command.js @@ -19,8 +19,8 @@ beef.execute(function() { var payload_name = "<%= @payload_name %>"; var domain = "<%= @zone %>"; - var scheme = "<%= @scheme %>"; - var port = "<%= @port %>"; + var scheme = beef.net.httpproto; + var port = beef.net.port; var cid = "<%= @command_id %>"; var curl = "<%= @command_url %>";