Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 47 guests and 2 members online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Programmingarrow Expresso - Free Tool to Create and Manage Regular Expressions
EH-Net
May 22, 2013, 09:47:39 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Expresso - Free Tool to Create and Manage Regular Expressions  (Read 4509 times)
0 Members and 1 Guest are viewing this topic.
don
Editor-In-Chief
Administrator
Hero Member
*****
Offline Offline

Posts: 4167


Editor-In-Chief


View Profile WWW
« on: November 23, 2008, 07:56:37 PM »

Not really a hacking tool, so I threw it on this board. But it can be used by more than just programmers. Nice writeup in TechNet Mag:

Quote

Whether you're a developer, systems administrator, network specialist, or QA analyst, you have probably found yourself parsing some kind of log file looking for patterned information. Regular expressions can be a very powerful method for getting to the exact information you are looking for in those logs. And applications such as Windows PowerShell are very handy tools to rely on. But, with their sometimes seemingly esoteric and perhaps lengthy structures, these tools can make it extremely difficult to construct the expressions as you need them. If this sounds familiar, consider giving Expresso from Ultrapico a try. This tool makes it much easier to develop, test, and reuse regular expression.

Expresso's main UI provides three basic views for development: Test mode, Design mode, and the Expression Library view. In Test mode, there are four panes of functionality. The Regular Expression pane is where you actually edit the expression to find and/or replace the data you are looking for. The Sample Text pane shows the text that the regular expression will run on and to which you can paste in an appropriate sample. The Regex Analyzer pane gives you a very cool hierarchical tree view of your regular expression components, helping you see how each component of the expression will operate. And the Results pane, as you might expect, shows the results of the operations you perform.

Within Test mode, there are six operations you can perform with your expression to get those results: full match, partial match, match exclusion, replacement, validation, and split. Full match takes your regular expression and runs it against the sample text, while partial and exclusion matches take the part of the expression you highlight and match it with or exclude it from to ensure the inner parts of your expressions are working properly. And you can use the tree view to navigate and highlight a particular section automatically. Replacement and split do just as the names imply. And validation uses icons to indicate which lines in your sample text will match.

Design mode provides the Regex Analyzer and Regular Expression panes as well as a place for your replacement text (you will likely be flipping back and forth between the Test and Design modes as you work). Also, you get a great designer toolbox, which helps you build up complex expressions with simple GUI actions. You can insert blocks that work with characters, groups, position, repetitions, and substitutions; and find helpers for ASCII and Unicode character and control codes.

The Expression Library gives you a history of your project's expressions. The application is project based, so you can save your works in progress or frequently used workspaces and come back to them when you need to. A number of sample projects also come with the application to help you get started with regular expressions, such as a built-in overall Regular Expression Library function. The default library comes loaded with expressions you can tailor to your own needs. You can add (and delete) expressions or create your own libraries.

If you find yourself using the same few expressions repeatedly, just move them to the top of the order. Double-clicking an expression in the library dumps it back into the main application window so you can immediately apply it in your workspace.

Expresso also has built-in code generation functionality. This will create a C#, C++, or Visual Basic code wrapper for your designed expression set. And, if you want, it will even compile this into a ready-to-go DLL for use in your applications or Windows PowerShell scripts.

Whether you are just starting out with regular expressions, have been learning over time, or are a certified guru looking for a way to test and save your creations, check out Expresso. This free utility could become one of your most valuable tools.

Price: Free.


Original story:
http://technet.microsoft.com/en-us/magazine/cc987540.aspx

Download Expresso 3.0:
http://www.ultrapico.com/expresso.htm

Don
Logged

CISSP, MCSE, CSTA, Security+ SME
Manu Zacharia (-M-)
Sr. Member
****
Offline Offline

Posts: 393


c0c0n Hacking Conference - where hackers unite


View Profile WWW
« Reply #1 on: November 23, 2008, 08:51:45 PM »

This is really something good and will help a lot while doing some scripting during pen tests too.

Thanks Don for the wonderful product link.
Logged

Manu Zacharia
MVP (Enterprise Security), ISLA-2010 (ISC)˛, C|EH, C|HFI, CCNA, MCP,
Certified ISO 27001:2005 Lead Auditor

There are 3 roads to spoil; women, gambling & hacking. The most pleasant with women, the quickest with gambling, but the surest is hacking - c0c0n
jason
Hero Member
*****
Offline Offline

Posts: 1012



View Profile WWW
« Reply #2 on: November 23, 2008, 09:24:12 PM »

That looks very cool. Complex regular expressions can be a bear sometimes.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.088 seconds with 24 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.