public PasswordImageHelper(JObject result) { secret = (string)result.GetValue("secret"); patternSecret = secret.Replace("*", ".{1}"); passwordImages[0] = new PasswordImage((string)result.GetValue("img_0")); passwordImages[1] = new PasswordImage((string)result.GetValue("img_1")); passwordImages[2] = new PasswordImage((string)result.GetValue("img_2")); passwordImages[3] = new PasswordImage((string)result.GetValue("img_3")); }
public async Task <int> attackIp2(string ip, string uhash, ScanMode mode) { var password = await vhUtils.JSONRequest("user::::pass::::uhash::::target", config.username + "::::" + config.password + "::::" + uhash + "::::" + ip, "vh_loadRemoteData.php"); //var password = await requestPassword(ip); var pwd = new PasswordImage((string)password["img"]); return(0); }