Skip to content

threatagent/ruby_infosec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 

Repository files navigation

Ruby for Information Security Professionals

Check out the course manual.

Look in examples/ for code examples.

Ruby Setup

For most of the course we will be typing in Interactive Ruby. Most of you will be able to type in "irb" at the command line to get an IRB prompt like this:

irb>

Don't worry if your prompt looks a little different.

Type in the following:

irb> puts "hello world"
hello world
 => nil 

Your results should be very similar to that. If that worked you are ready to start the course. Be prepared to type a lot, that's the only way things will stick is by doing them.

I've included some awesome materials below. Relax, these aren't required reading. If you have never seen Ruby before you can sit down in an hour or so and get a good idea of what's going on. The more familiar you are with Ruby, the more you'll get out of the course. We will hit the ground running. You can also attend both classes if you like.

Ruby in Twenty Minutes

http://www.ruby-lang.org/en/documentation/quickstart/

Humble Little Ruby Book

Humble Little Ruby Book is available for free PDF Download.

http://www.humblelittlerubybook.com/book/

Ruby Style Guide

https://github.com/bbatsov/ruby-style-guide/blob/master/README.md

Metasploit Development

We'll also cover Metasploit Development as well. Since Metasploit is development primarily in Ruby, we can take what we learn over the initial 3/4 of the course to create functional Metasploit modules.

You’ll need a working installation of Metasploit, there are a couple of options so do what you prefer. We will not pause to install Ruby or Metasploit.

Here are your options:

Option 1: Install Metasploit Community via the install package.

http://www.rapid7.com/products/metasploit/metasploit-community-registration.jsp

Option 2: Use Kali Linux Install or virtual machine

http://www.kali.org/downloads/

Option 3: Setup a Metasploit Development Environment

https://github.com/rapid7/metasploit-framework/wiki/Setting-Up-a-Metasploit-Development-Environment

Releases

No releases published

Packages

No packages published

Languages