Wicked Cool Ruby Scripts

Useful Scripts That Solve Difficult Problems

Af Steve Pugh
Detaljer No Starch Press, Incorporated
ISBN 9781593271824
Sprog Engelsk
Vælg mellem
Pris 345,00 kr.
Paperback

Ikke på lager

Bogen er i restordre hos udgiveren. Vi har ikke en leveringstid på den.

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, y

Dedication;FOREWORD;ACKNOWLEDGMENTS;INTRODUCTION; Wicked Cool Ruby Scripts; You Need Ruby Basics; Documentation; Organization and Approach; The Website;
Chapter 1: GENERAL PURPOSE UTILITIES;
1.1 Check for Changed Files;
1.2 Encrypt a File;
1.3 Decrypt a File;
1.4 File Splitting;
1.5 File Joining;
1.6 Windows Process Viewer;
1.7 File Compressor;
1.8 File Decompression;
1.9 Mortgage Calculator;
Chapter 2: WEBSITE SCRIPTING;
2.1 Web Page Link Validator;
2.2 Orphan File Checker;
2.3 Form Generator;
2.4 RSS Parsing;
2.5 Stock Exchange Grep;
2.6 IP Address Generation;
2.7 Subnet Calculator;
Chapter 3: LI(U)NIX SYSTEM ADMINISTRATION;
3.1 Fixing Bad Filenames;
3.2 Adding a User;
3.3 Modifying a User;
3.4 Killing a Stuck Process;
3.5 Validating Symlinks;
Chapter 4: PICTURE UTILITIES;
4.1 Mass Editing;
4.2 Image Information Extraction;
4.3 Creating a Thumbnail;
4.4 Resize a Picture;
4.5 Adding a Watermark to Pictures;
4.6 Convert to Black and White;
4.7 Creating a Photo Gallery;
Chapter 5: GAMES AND LEARNING TOOLS;
5.1 Sudoku Solver;
5.2 Flash Cards;
5.3 Number-Guessing Game;
5.4 Rock, Paper, Scissors;
5.5 Word Scramble;
5.6 Hangman;
5.7 Pig;
Chapter 6: STRING UTILITIES;
6.1 PDF Generator;
6.2 Word Frequency;
6.3 Comma-Separated Value Parser;
6.4 CSV to XML;
6.5 Ruby Grep;
6.6 Password Check;
Chapter 7: SERVERS AND SCRAPERS;
7.1 Define;
7.2 Automated SMS;
7.3 Link Scrape;
7.4 Image Scrape;
7.5 Scraper;
7.6 Encrypted Client;
7.7 Encrypted Server;
Chapter 8: ARGUMENTS AND DOCUMENTATION;
8.1 File Security;
8.2 Web Scraper;
8.3 Photo Utilities;
8.4 Conclusion;
Chapter 9: SORTING ALGORITHMS;
9.1 Bubble Sort;
9.2 Selection Sort;
9.3 Shell Sort;
9.4 Merge Sort;
9.5 Heap Sort;
9.6 Quick Sort;
9.7 Shear Sort;
9.8 A Note About Efficiencies;
Chapter 10: WRITING A METASPLOIT
3.1 MODULE WITH RUBY;
10.1 Introduction to Metasploit;
10.2 Installation;
10.3 Writing a Module;
10.4 Building the Exploit;
10.5 Watching in Real Time;
10.6 Explanation of Metasploit Module Shell;
10.7 Finding the Payload Space;AFTERWORD;COLOPHON;