Ejemplo n.º 1
0
        private de4dotOptions GetOptions()
        {
            var options = new de4dotOptions();

            options.Host        = _host;
            options.SourceDir   = _sourceDir;
            options.TextInfoBox = txtInfo;
            options.Rows        = _rows;

            if (rbDeobf.Checked)
            {
                options.Action = de4dotOptions.Actions.Deobfuscate;
            }
            else if (rbDetect.Checked)
            {
                options.Action = de4dotOptions.Actions.Detect;
            }

            options.Verbose         = chkVerbose.Checked;
            options.CreateOutputDir = chkCreateOutputDir.Checked;
            options.ScanDir         = chkScanDir.Checked;

            options.StringDecrypterType   = (de4dotOptions.StringDecrypterTypes)cboStringDecrypter.SelectedItem;
            options.StringDecrypterMethod = txtStringDecrypterMethod.Text;

            options.IgnoreUnsupported = chkIgnoreUnsupported.Checked;
            options.PreserveTokens    = chkPreserveTokens.Checked;
            options.DontRename        = chkDontRename.Checked;
            options.KeepTypes         = chkKeepTypes.Checked;

            options.AdditionalOptions = txtAdditional.Text;

            return(options);
        }
Ejemplo n.º 2
0
        private void btnHelp_Click(object sender, EventArgs e)
        {
            var options = new de4dotOptions();

            options.Host        = _host;
            options.SourceDir   = _sourceDir;
            options.TextInfoBox = txtInfo;
            options.ExeFile     = cboExe.SelectedItem as string;

            new de4dot(options).Help();
        }
Ejemplo n.º 3
0
 public de4dot(de4dotOptions options)
     : base(options)
 {
 }
Ejemplo n.º 4
0
        private void btnHelp_Click(object sender, EventArgs e)
        {
            var options = new de4dotOptions();
            
            options.Host = _host;
            options.SourceDir = _sourceDir;
            options.TextInfoBox = txtInfo;
            options.ExeFile = cboExe.SelectedItem as string;

            new de4dot(options).Help();
        }
Ejemplo n.º 5
0
        private de4dotOptions GetOptions()
        {
            var options = new de4dotOptions();

            options.Host = _host;
            options.SourceDir = _sourceDir;
            options.TextInfoBox = txtInfo;
            options.Rows = _rows;

            if (rbDeobf.Checked) options.Action = de4dotOptions.Actions.Deobfuscate;
            else if (rbDetect.Checked) options.Action = de4dotOptions.Actions.Detect;

            options.Verbose = chkVerbose.Checked;
            options.CreateOutputDir = chkCreateOutputDir.Checked;
            options.ScanDir = chkScanDir.Checked;

            options.StringDecrypterType = (de4dotOptions.StringDecrypterTypes)cboStringDecrypter.SelectedItem;
            options.StringDecrypterMethod = txtStringDecrypterMethod.Text;

            options.IgnoreUnsupported = chkIgnoreUnsupported.Checked;
            options.PreserveTokens = chkPreserveTokens.Checked;
            options.DontRename = chkDontRename.Checked;
            options.KeepTypes = chkKeepTypes.Checked;

            options.AdditionalOptions = txtAdditional.Text;

            return options;
        }
Ejemplo n.º 6
0
 public de4dot(de4dotOptions options)
     : base(options)
 {
 }