Groovy

Statically Typing Better Performance?

I’ve heard this quite a bit about dynamically typed languages (like Python, Ruby, Groovy, etc.) It actually makes a lot of sense.  If the compiler doesn’t have to discover/lookup what something is, it should be faster, right? Python / Cython Check out this article on Python and Cython: http://docs.cython.org/src/quickstart/cythonize.html Just by statically defining the variables/params... »

Automated Audio Detection

There aren’t a lot of libraries to accomplish this task of validating audio playback.  I saw this question on Stack Overflow and my solution was to provide a script that uses sox for the audio detection. Test Browser Based Phone Audio Presence With web phone calls, you have two major protocols: WebRTC and RTMFP.  The later is flash based.   Usually WebRTC is the choice decision – but i... »

Groovy & Selenium

I’m not a fan of the GEB browser automation framework for Groovy.  In fact I prefer to use just straight selenium with Groovy. Getting up and going with Selenium in Groovy should be pretty easy. If you’re using Intellij here’s what you would do: Download the Selenium standalone server jar  & the Selenium Java jar Create a new Groovy project in Intellij In the new Intellij Gro... »

OSX: Geolocating Laptop History based on SSID

Concept The concept for this came from the book Violent Python: A Cookbook for Hackers, Forensic Analysts, Penetration Testers and Security Engineers .  The python solution was pretty complex and his approach was Windows specific.  In my case I wanted to run the OSX variant command to get my SSID history.  I got the string to do so, and used RegEX I found online to pull out the BSSID (mac address)... »

Building a Port Scanner in Groovy, Python & Ruby

My scripts are hard coded to localhost. If you scan a remote host, make sure you have permission to scan it (i.e. your test environment, your client who requests some security testing, etc) and consider any legal issues in your region. I’m language agnostic.  I love the Watir framework in Ruby for web automation (due to the community behind it), and I love Groovy/Grails for the web developme... »

Updating MD5 Tool To use SHA 256/512 Hash

Back in the previous post on making a tool to find MD5 hash values… we were limited to just MD5 hash types.  To add more support for testing, I added support for more hash types (SHA-256 and SHA-512), by doing the following: Controllers The functions in the AddToDictionaryController: def submitToDictionary(){ def newWord = params.newWord def digest = MessageDigest.getInstance... »

Page 1 of 212