LEADER 11118nam 2200661 a 450 001 9910777931403321 005 20230912144734.0 010 $a1-59327-236-7 035 $a(CKB)1000000000770889 035 $a(OCoLC)560644008 035 $a(CaPaEBR)ebrary10310898 035 $a(SSID)ssj0000285592 035 $a(PQKBManifestationID)11248362 035 $a(PQKBTitleCode)TC0000285592 035 $a(PQKBWorkID)10297026 035 $a(PQKB)11219376 035 $a(Au-PeEL)EBL3017632 035 $a(CaPaEBR)ebr10310898 035 $a(OCoLC)923652852 035 $a(Au-PeEL)EBL6052424 035 $a(OCoLC)1001359549 035 $a(CaSebORM)9781593271824 035 $a(MiAaPQ)EBC3017632 035 $a(MiAaPQ)EBC6052424 035 $a(EXLCZ)991000000000770889 100 $a20080929d2009 uy 0 101 0 $aeng 135 $aurcn||||||||| 181 $ctxt 182 $cc 183 $acr 200 10$aWicked cool Ruby scripts$b[electronic resource] $euseful scripts that solve difficult problems /$fby Steve Pugh 205 $a1st ed. 210 $aSan Francisco $cNo Starch Press$dc2009 215 $a1 online resource (220 p.) 300 $aIncludes index. 311 $a1-59327-182-4 327 $aIntro -- 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. 327 $aHow 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. 327 $aThe 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. 327 $aHow 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. 327 $aThe 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. 330 $aWicked 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. 606 $aRuby (Computer program language) 606 $aMacro instructions (Electronic computers) 606 $aComputers$xAccess control$xPasswords 615 0$aRuby (Computer program language) 615 0$aMacro instructions (Electronic computers) 615 0$aComputers$xAccess control$xPasswords. 676 $a005.13/3 700 $aPugh$b Steve$01506921 801 0$bMiAaPQ 801 1$bMiAaPQ 801 2$bMiAaPQ 906 $aBOOK 912 $a9910777931403321 996 $aWicked cool Ruby scripts$93737349 997 $aUNINA