Example #1
0
        void extracgReg(string imgpath, string dbname, int partno)
        {
            DiskImgInfo d = partInfo[partno];

            string dOffset = d.getOffset();

            Process          p   = new Process();
            ProcessStartInfo psi = new ProcessStartInfo("extreg.exe");

            psi.Arguments = String.Format("\"{0}\" \"{1}\" \"{2}\"", imgpath, dOffset, dbname);

            p.StartInfo = psi;
            p.Start();
            p.WaitForExit();
        }
Example #2
0
File: ioaf.cs Project: hvva/IoAF
        private void fls4root(string imgPATH, DiskImgInfo part)
        {
            Process p = new Process();
            ProcessStartInfo psi = new ProcessStartInfo(".\\tsk\\fls.exe");

            Console.Clear();

            psi.Arguments = "-rp -o " + part.getOffset() + " \"" + imgPATH + "\"";
            psi.RedirectStandardOutput = true;
            psi.UseShellExecute = false;

            psi.CreateNoWindow = true;

            p.StartInfo = psi;
            p.EnableRaisingEvents = true;
            p.OutputDataReceived += p_OutputDataReceived;
            p.Start();
            p.BeginOutputReadLine();
            p.WaitForExit();
            Console.WriteLine("\n");
        }
Example #3
0
        private void fls4root(string imgPATH, DiskImgInfo part)
        {
            Process          p   = new Process();
            ProcessStartInfo psi = new ProcessStartInfo(".\\tsk\\fls.exe");


            Console.Clear();

            psi.Arguments = "-rp -o " + part.getOffset() + " \"" + imgPATH + "\"";
            psi.RedirectStandardOutput = true;
            psi.UseShellExecute        = false;

            psi.CreateNoWindow = true;

            p.StartInfo           = psi;
            p.EnableRaisingEvents = true;
            p.OutputDataReceived += p_OutputDataReceived;
            p.Start();
            p.BeginOutputReadLine();
            p.WaitForExit();
            Console.WriteLine("\n");
        }