Categorized | Security

Execute command line utilities

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...

Comments are closed.

Security Status

Beware Facebook "Timeline" scams http://t.co/W5EW0cVv
1 month ago
Nigerian government (unknowingly) hosts phishing website http://t.co/uQd42ENw
1 month ago
PCMag Awards McAfee All Access its Editors’ Choice: SANTA CLARA, Calif.--(BUSINESS WIRE)--McAfee today announced... http://t.co/FakV7Vd8
1 month ago
RT @mikko: I hadn't noticed Google Maps has added 3D models of buildings. Here's a (very accurate) view of F-Secure HQ in Helsinki http://t.co/IKfAZlak
1 month ago
North Koreans aren't known for their online presence. But others may be lured into clicking Kim Jong-Il 'videos' too http://t.co/yQOon6YT
1 month ago
How to Protect Your Professional Reputation on Facebook Timeline http://t.co/I4bcR2VN
1 month ago
This is pretty impressive from @Softpedia: Facebook scans 2 trillion link clicks and blocks 220 million posts each day http://t.co/vKsn9gNl
1 month ago
Need for integrated approach to security in industrial control systems - http://t.co/tPBCNOow with @PikeResearch
1 month ago
Some free-based music we play at work http://t.co/xu5agZfc
1 month ago
Japan’s cyber defense weapon: a virus. It includes quotes by @Luis_Corrons via @InfosecurityMag
1 month ago