Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Buy Now $23.95
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
19Activity

Table Of Contents

#1 Check for Changed Files
Hacking the Script
#2 Encrypt a File
The Code
Running the Code
The Results
How It Works
#3 Decrypt a File
#4 File Splitting
#5 File Joining
#6 Windows Process Viewer
#7 File Compressor
#8 File Decompression
#9 Mortgage Calculator
WEBSITE SCRIPTING
#10 Web Page Link Validator
#11 Orphan File Checker
Running the Script
#12 Form Generator
#13 RSS Parsing
#14 Stock Exchange Grep
#15 IP Address Generation
#16 Subnet Calculator
LI(U)NIX SYSTEM ADMINISTRATION
#17 Fixing Bad Filenames
#18 Adding a User
#19 Modifying a User
#20 Killing a Stuck Process
#21 Validating Symlinks
PICTURE UTILITIES
#22 Mass Editing
#23 Image Information Extraction
#24 Creating a Thumbnail
#25 Resize a Picture
#26 Adding a Watermark to Pictures
#27 Convert to Black and White
#28 Creating a Photo Gallery
Results
GAMES AND LEARNING TOOLS
#29 Sudoku Solver
#30 Flash Cards
#31 Number-Guessing Game
#32 Rock, Paper, Scissors
#33 Word Scramble
#34 Hangman
#35 Pig
STRING UTILITIES
#36 PDF Generator
#39 CSV to XML
#40 Ruby Grep
#41 Password Check
SERVERS AND SCRAPERS
#42 Define
#43 Automated SMS
#44 Link Scrape
#45 Image Scrape
#46 Scraper
#47 Encrypted Client
#48 Encrypted Server
ARGUMENTS AND DOCUMENTATION
#49 File Security
#50 Web Scraper
#51 Photo Utilities
Conclusion
SORTING ALGORITHMS
#52 Bubble Sort
#53 Selection Sort
#54 Shell Sort
#55 Merge Sort
#56 Heap Sort
#57 Quick Sort
#58 Shear Sort
Installation
Writing a Module
Building the Exploit
Watching in Real Time
Explanation of Metasploit Module Shell
Finding the Payload Space
AFTERWORD
INDEX
P. 1
Wicked Cool Ruby Scripts

Wicked Cool Ruby Scripts

Ratings:

4.6

(5)
|Views: 4,991 |Likes:
Published by No Starch Press
Are you spending valuable time on work a well-trained monkey could do? If so, Wicked Cool Ruby Scripts will teach you how to automate repetitive tasks using Ruby, one of the most powerful and easy-to-use programming languages around.

Wicked Cool Ruby Scripts provides 58 scripts that offer quick solutions to problems like system administration, manipulating images, and managing a website. After getting your feet wet creating simple scripts to automate tasks like file compression and decompression, you’ll learn how to create powerful web crawlers, security scripts, and full-fledged libraries and applications, as well as how to:

* Rename files, disable processes, change permissions, and modify users
* Manipulate strings, encrypt files, and sort efficiently
* Validate web links, check for orphan files, and generate forms
* Mass edit photos, extract image information, and create thumbnails
* Parse CSV files and scrape links, images, and pages from the Web

And as a nod to our security friends, you’ll even learn how to use Ruby to write Metasploit exploits. For each script you get the code, a discussion of how it works, and tips on how to customize it to solve real-world problems. By the time you’re finished, we think you’ll agree that Ruby is a wicked cool way to get things done.

Steve Pugh has been a programmer for over a decade. He has worked as a software analyst for a banking software company, run a large-scale network operations center (overseeing 7,000 users and 130 network technicians), and is currently doing security research for the US government. Much of this book was written while Pugh was working for the US government in Northern Iraq.
Are you spending valuable time on work a well-trained monkey could do? If so, Wicked Cool Ruby Scripts will teach you how to automate repetitive tasks using Ruby, one of the most powerful and easy-to-use programming languages around.

Wicked Cool Ruby Scripts provides 58 scripts that offer quick solutions to problems like system administration, manipulating images, and managing a website. After getting your feet wet creating simple scripts to automate tasks like file compression and decompression, you’ll learn how to create powerful web crawlers, security scripts, and full-fledged libraries and applications, as well as how to:

* Rename files, disable processes, change permissions, and modify users
* Manipulate strings, encrypt files, and sort efficiently
* Validate web links, check for orphan files, and generate forms
* Mass edit photos, extract image information, and create thumbnails
* Parse CSV files and scrape links, images, and pages from the Web

And as a nod to our security friends, you’ll even learn how to use Ruby to write Metasploit exploits. For each script you get the code, a discussion of how it works, and tips on how to customize it to solve real-world problems. By the time you’re finished, we think you’ll agree that Ruby is a wicked cool way to get things done.

Steve Pugh has been a programmer for over a decade. He has worked as a software analyst for a banking software company, run a large-scale network operations center (overseeing 7,000 users and 130 network technicians), and is currently doing security research for the US government. Much of this book was written while Pugh was working for the US government in Northern Iraq.

More info:

Publish date: Dec 5, 2008
Added to Scribd: Aug 01, 2009
Copyright:Traditional Copyright: All rights reservedISBN:9781593271824
List Price: $23.95 Buy Now

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
See more
See less

09/16/2013

220

9781593271824

$23.95

USD

pdf

You're Reading a Free Preview
Pages 5 to 19 are not shown in this preview.
You're Reading a Free Preview
Pages 24 to 119 are not shown in this preview.
You're Reading a Free Preview
Page 124 is not shown in this preview.
You're Reading a Free Preview
Pages 129 to 184 are not shown in this preview.
You're Reading a Free Preview
Pages 189 to 220 are not shown in this preview.

Activity (19)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Felipe Zavitoski liked this
Tony Tzu liked this
Roughcoat liked this
Shubham Goel liked this
kaosad liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->