11118nam 2200661 a 450 991077793140332120230912144734.01-59327-236-7(CKB)1000000000770889(OCoLC)560644008(CaPaEBR)ebrary10310898(SSID)ssj0000285592(PQKBManifestationID)11248362(PQKBTitleCode)TC0000285592(PQKBWorkID)10297026(PQKB)11219376(Au-PeEL)EBL3017632(CaPaEBR)ebr10310898(OCoLC)923652852(Au-PeEL)EBL6052424(OCoLC)1001359549(CaSebORM)9781593271824(MiAaPQ)EBC3017632(MiAaPQ)EBC6052424(EXLCZ)99100000000077088920080929d2009 uy 0engurcn|||||||||txtccrWicked cool Ruby scripts[electronic resource] useful scripts that solve difficult problems /by Steve Pugh1st ed.San Francisco No Starch Pressc20091 online resource (220 p.) Includes index.1-59327-182-4 Intro -- Wicked Cool Ruby Scripts -- FOREWORD -- ACKNOWLEDGMENTS -- INTRODUCTION -- Wicked Cool Ruby Scripts -- You Need Ruby Basics -- Documentation -- Organization and Approach -- The Website -- 1. GENERAL PURPOSE UTILITIES -- Check for Changed Files -- Check for Changed Files -- changedFiles.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- Encrypt a File -- Encrypt a File -- encrypt.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- Decrypt a File -- Decrypt a File -- decrypt.rb -- The Code -- Running the Code -- The Results -- How It Works -- File Splitting -- File Splitting -- fileSplit.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- File Joining -- File Joining -- fileJoin.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- Windows Process Viewer -- Windows Process Viewer -- listWin Processes.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- File Compressor -- File Compressor -- compress.rb -- The Code -- Running the Code -- The Results -- How It Works -- File Decompression -- File Decompression -- decompress.rb -- The Code -- Running the Code -- The Results -- How It Works -- Mortgage Calculator -- Mortgage Calculator -- mortgageCalc.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- 2. WEBSITE SCRIPTING -- Web Page Link Validator -- Web Page Link Validator -- linkValidator.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- Orphan File Checker -- Orphan File Checker -- orphanCheck.rb -- The Code -- Running the Script -- The Results -- How It Works -- Form Generator -- Form Generator -- formGenerator.rb -- The Code -- Running the Code -- The Results.How It Works -- Hacking the Script -- RSS Parsing -- RSS Parsing -- rssParser.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- Stock Exchange Grep -- Stock Exchange Grep -- stockGrep.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- IP Address Generation -- IP Address Generation -- ipAdderGen.rb -- The Code -- Running the Code -- The Results -- How It Works -- Subnet Calculator -- Subnet Calculator -- subnetCalc.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- 3. LI(U)NIX SYSTEM ADMINISTRATION -- Fixing Bad Filenames -- Fixing Bad Filenames -- fixFilename.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- Adding a User -- Adding a User -- addUser.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- Modifying a User -- Modifying a User -- modUser.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- Killing a Stuck Process -- Killing a Stuck Process -- killProcess.rb -- The Code -- Running the Code -- The Results -- How It Works -- Validating Symlinks -- Validating Symlinks -- symlinkCheck.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- 4. PICTURE UTILITIES -- Mass Editing -- Mass Editing -- massEdit.rb -- The Code -- Running the Code -- The Results -- How It Works -- Image Information Extraction -- Image Information Extraction -- imageInfo.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- Creating a Thumbnail -- Creating a Thumbnail -- thumbnail.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- Resize a Picture -- Resize a Picture -- resizePhoto.rb -- The Code -- Running the Code.The Results -- How It Works -- Hacking the Script -- Adding a Watermark to Pictures -- Adding a Watermark to Pictures -- watermark.rb -- The Code -- Running the Code -- The Results -- How It Works -- Convert to Black and White -- Convert to Black and White -- bwPhoto.rb -- The Code -- Running the Code -- The Results -- How It Works -- Creating a Photo Gallery -- Creating a Photo Gallery -- createGallery.rb -- The Code -- Running the Code -- Results -- How It Works -- Hacking the Script -- 5. GAMES AND LEARNING TOOLS -- Sudoku Solver -- Sudoku Solver -- sudoku.rb -- The Code -- Running the Code -- The Results -- How It Works -- Flash Cards -- Flash Cards -- flashCards.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- Number-Guessing Game -- Number-Guessing Game -- guessingGame.rb -- The Code -- Running the Code -- The Results -- How It Works -- Rock, Paper, Scissors -- Rock, Paper, Scissors -- rps.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- Word Scramble -- Word Scramble -- wordScramble.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hangman -- Hangman -- hangman.rb -- The Code -- Running the Code -- The Results -- How It Works -- Pig -- Pig -- pig.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- 6. STRING UTILITIES -- PDF Generator -- PDF Generator -- pdfGen.rb -- The Code -- Running the Code -- The Results -- How It Works -- Word Frequency -- Word Frequency -- wordFreq.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- Comma-Separated Value Parser -- Comma-Separated Value Parser -- csv.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- CSV to XML -- CSV to XML -- csvToXML.rb -- The Code -- Running the Code -- The Results.How It Works -- Hacking the Script -- Ruby Grep -- Ruby Grep -- rubyGrep.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- Password Check -- Password Check -- password.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- 7. SERVERS AND SCRAPERS -- Define -- Define -- define.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- Automated SMS -- Automated SMS -- sms.rb -- The Code -- Running the Code -- The Results -- How It Works -- Link Scrape -- Link Scrape -- linkScrape.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- Image Scrape -- Image Scrape -- imageScrape.rb -- The Code -- Running the Code -- The Results -- How It Works -- Hacking the Script -- Scraper -- Scraper -- scrape.rb -- The Code -- Running the Code -- The Results -- How It Works -- Encrypted Client -- Encrypted Client -- RSA_client.rb -- The Code -- Running the Code -- The Results -- How It Works -- Encrypted Server -- Encrypted Server -- RSA_server.rb -- The Code -- Running the Code -- The Results -- How It Works -- 8. ARGUMENTS AND DOCUMENTATION -- File Security -- File Security -- fileSecurity.rb -- The Code -- Running the Code -- The Results -- How It Works -- Web Scraper -- Web Scraper -- webScraper.rb -- The Code -- Running the Code -- The Results -- How It Works -- Photo Utilities -- Photo Utilities -- photoUtility.rb -- The Code -- Running the Code -- The Results -- How It Works -- Conclusion -- 9. SORTING ALGORITHMS -- Bubble Sort -- Bubble Sort -- bubbleSort.rb -- The Code -- Running the Code -- The Results -- How It Works -- Selection Sort -- Selection Sort -- selectionSort.rb -- The Code -- Running the Code -- The Results -- How It Works -- Shell Sort -- Shell Sort -- shellSort.rb -- The Code -- Running the Code.The Results -- How It Works -- Merge Sort -- Merge Sort -- mergeSort.rb -- The Code -- Running the Code -- The Results -- How It Works -- Heap Sort -- Heap Sort -- heapSort.rb -- The Code -- Running the Code -- The Results -- How It Works -- Quick Sort -- Quick Sort -- quickSort.rb -- The Code -- Running the Code -- The Results -- How It Works -- Shear Sort -- Shear Sort -- shearSort.rb -- The Code -- Running the Code -- The Results -- How It Works -- A Note About Efficiencies -- 10. WRITING A METASPLOIT 3.1 MODULE WITH RUBY -- Introduction to Metasploit -- Installation -- Writing a Module -- Building the Exploit -- Watching in Real Time -- Explanation of Metasploit Module Shell -- Finding the Payload Space -- A. AFTERWORD -- COLOPHON.Wicked Cool Ruby Scripts is a compendium of scripts that will make your life easier by saving you time and solving problems. If you find yourself wasting effort and time on a task a trained monkey could do, it's time for Ruby to come to the rescue. Wicked Cool Ruby Scripts provides carefully selected Ruby scripts that are immediately useful. Learn how to streamline administrative tasks like renaming files, disabling processes, and changing permissions. After you get your feet wet creating basic scripts, author Steve Pugh will show you how to create powerful Web crawlers, security scripts, full-fledged libraries and applications, and much more. With each script you'll get the raw code followed by an explanation of how it really works, as well as instructions for how to run the script and suggestions for customizing it. Wicked Cool Ruby Scripts will save you from the tedium of repetitive tasks and give you back the time it would take to write scripts from scratch.Ruby (Computer program language)Macro instructions (Electronic computers)ComputersAccess controlPasswordsRuby (Computer program language)Macro instructions (Electronic computers)ComputersAccess controlPasswords.005.13/3Pugh Steve1506921MiAaPQMiAaPQMiAaPQBOOK9910777931403321Wicked cool Ruby scripts3737349UNINA