Admin, Author at SDET.US - Page 3 of 30's Posts

Python – Processes

In taking Vivek Ramachandran’s course on Python for Pentesting, in lecture 13 he deals with the subject of processes.  Personally I feel he jumps into a more intermediate/advanced topic from where we were in the previous lectures. For that reason of his jump in difficulty, I pulled some information from various sources to help digest what he’s teaching here. What is a Process vs. a Thr... »

Python & Pentesting: Signals Exercise

At the Pentester Academy I took a course called Pentesting with Python.  It’s a great course… if you have an interest in Python and Security, I highly recommend it. Task The instructor (Vivek Ramachandran) provides student exercises at the end of most of the lectures.  In lesson 16 (on signaling) he asks the students to write a Python script that does the following: Create a TCP server... »

Ruby Performance Testing with Watir

A reader of mine asked me how they should go about performance testing some front end performance.  This is a good question, because tools such as JMeter are pretty good at getting performance metrics for load – but you must keep in mind that JMeter isn’t a browser and doesn’t always find front end performance issues. For example, if a user had a AJAX call on a web page, and they... »

Rails: Dynamic Population of Select Dropdowns

I was building a utility in rails that would allow users to input merchandise data.  Data would be sorted by the type of merchandise (clothes vs. electronics, etc.)  I created the main model for the merchandise selection, and put a placeholder dropdown there. Once I had the data populating, I wanted to create this dynamic dropdown value option. In other words, I want users to create the types of m... »

[review] Cloud9 Cloud Based IDE

Could9 ( is a Cloud based IDE that offers more features than some other Cloud based IDE solutions currently out there.  The pricing of Cloud9 is also very interesting.  Yet there are some drawbacks. In this review I cover a bit about the IDE and how it compares to it’s competitors. After reviewing Nitrous and CodeAnywhere, I decided to try and look for other IDE’s that might offe... »

[review] CodeAnywhere – Cloud Based IDE

CodeAnywhere Detailed Review CodeAnywhere is a cloud based IDE solution, that offers customers a place to develop directly into a cloud.  Like Nitrous however, it is missing some core features like hosting options and I found it a bit messier to use than Nitrous.  Overall I give it a slightly better score, due to it’s affordable tiers (My Score: 3/5.)  Personally, I will continue to use inst... »

Ruby Basis: Instance Method vs. Class Method

The difference between a class method and a instance method is that instance method is created when the object is created.  However a class method can be called without class instantiation. Example Instance Method In the class example we have a class like this: class User   attr_accessor :name, :email def initialize(name,email) @name = name @email = email end   def run p "te... »

Selenium Server (Grid) with Watir & Cucumber

This subject is a repeat request I’ve had from various YouTube and website visitors.  I’m often asked how to set up Selenium Grid to work with Watir and Cucumber. The process is really rather simple, it just takes a bit of getting used to. Audience This is an advanced subject in web automation – mainly requiring the reader/viewer to have an understanding of: Web Automation Watir-... »

Ruby: Querying a MySQL database

This is a short and easy little post regarding Ruby and using it to query a MySQL database… This came up for one of my students.  I wanted him to get used to finding solutions to problems. I gave him a problem of validating some activity by automating a SQL call to a database.  Any language could be used, but since we were working with Web Automation I picked Ruby. there’s a variety of... »

Assembly – Loops and Conditionals

Course notes from Vivek Ramachandran’s online class “x86/64 Assembly and Shellcoding on Linux“ Loops In Assembly there is a keyword command called “loops,” which iterates over a function/block, decrementing a counter each time and this repeats until the counter reaches 0. It is important to remember that the counter is stored in ECX/RCX – this is where the loop ... »

Page 3 of 3012345»