A very usefull set of lines if you want to make a command line utility easier to use and manipulate the output.
Dim process As New Process()
process.StartInfo.UseShellExecute = False
process.StartInfo.FileName = path & “filename.exe”
process.StartInfo.CreateNoWindow = True
process.StartInfo.WindowStyle = ProcessWindowStyle.Minimized
Dim parameters As String = ” /?”
process.StartInfo.Arguments = parameters
process.StartInfo.RedirectStandardOutput = True
process.StartInfo.RedirectStandardError = True
process.Start()
Dim SR As System.IO.StreamReader = process.StandardOutput
TextBox1.Text = SR.ReadToEnd
SR.Close()
View full post on Metallica’s blog
Related Posts
- Running scripts from the command line with idascript
In this blog post we are going to demonstrate how the '-S' and '-t' switches (that were introduced in IDA Pro 5.7) can be used to run IDC, Python or other supported scripts from the command line as if... - Accessing your android emulator on the command line
A poster on one of the other android posts mentioned you can just telnet into the android app if you've got the emulator running.
Its easy to do and the preferred way if you just want to script events... - Experiment over: Egypt is back on line
A number of Internet monitoring systems have detected that Internet traffic is again flowing in Egypt:
The folks at Opera reported this morning that their Opera Mini servers were again seeing traffic... - Analysis: End of the Line for the Bredolab Botnet?
On 25 October 2010, the Dutch police force’s Cybercrime Department announced the shutdown of 143 Bredolab botnet control servers. The next day at Armenia’s Yerevan international airport, ... - US Cyber Command Seeks to Operate Against Enemies Anywhere
Turf wars and legal disputes are muddying the mission and capabilities of the US Department of Defense's new Cyber Command according to a story in the Washington Post.
The Cyber Command is s... - Implementing command completion for IDAPython
In this blog post we are going to illustrate how to use the command line interpreter (CLI) interface from Python and how to write a basic command completion functionality for the Python CLI.
View f... - XSSing the line
On Tuesday, September 21 a cross-site scripting (XSS) vulnerability in Twitter became publicly known and was exploited by attackers, as well as many curious copycats with non-malicious intentions. An ... - Trend Micro Revamps Entire Product Line With ‘Titanium’
Following up Norton's new product launch early Wednesday, Trend Micro announced an overhaul of its entire home user product line on Wednesday, under the moniker "Titanium." The new products, Titanium ... - Symantec Releases 2011 Norton Line
Symantec on Wednesday announced the release of Norton AntiVirus 2011 and Norton Internet Security 2011, which offer strong protection against known viruses and brand-new variations.
View fu... - Trend Micro Revamps Entire Product Line With ‘Titanium’ (PC World)
PC World - Following up Norton's new product launch early Wednesday, Trend Micro announced an overhaul of its entire home user product line on Wednesday, under the moniker "Titanium." The new products...
Posted on 04 May 2010. Tags: Command, Execute, Line, utilities