wicked_cool_ruby_scripts

Wicked Cool Ruby Scripts

Ruby: Ruby Fundamentals, Ruby Inventor - Ruby Language Designer: Yukihiro Matsumoto in 1995; Ruby scripting, Rails, RubyGems, Ruby keywords, Ruby Built-In Data Types, Ruby data structures - Ruby algorithms, Ruby syntax, Ruby OOP - Ruby design patterns, Ruby for Chef, Ruby for Puppet, Ruby on Linux, Ruby on macOS, Ruby on Windows, Ruby installation, Ruby containerization, Ruby configuration, Ruby compiler - Ruby interpreter (Matz's Ruby Interpreter or Ruby MRI, also called CRuby), Ruby IDEs (RubyMine), Ruby development tools, Ruby DevOps - Ruby SRE, Ruby data science - Ruby DataOps, Ruby machine learning, Ruby deep learning, Functional Ruby, Ruby concurrency, Ruby history, Ruby bibliography, Ruby glossary, Ruby topics, Ruby courses, Ruby Standard Library, Ruby libraries, Ruby frameworks (Ruby on Rails), Ruby research, Ruby GitHub, Written in Ruby, Ruby popularity, Ruby Awesome list, Ruby Versions. (navbar_ruby)

Wicked Cool Ruby Scripts

Wicked Cool Ruby Scripts Table of Contents

Table of Contents

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

The Code

Running the Code

The Results

How It Works

Hacking the Script

Encrypt a FileEncrypt a File

The Code

Running the Code

The Results

How It Works

Hacking the Script

Decrypt a FileDecrypt a File

The Code

Running the Code

The Results

How It Works

File SplittingFile Splitting

The Code

Running the Code

The Results

How It Works

Hacking the Script

File JoiningFile Joining

The Code

Running the Code

The Results

How It Works

Hacking the Script

Windows Process ViewerWindows Process Viewer

The Code

Running the Code

The Results

How It Works

Hacking the Script

File CompressorFile Compressor

The Code

Running the Code

The Results

How It Works

File DecompressionFile Decompression

The Code

Running the Code

The Results

How It Works

Mortgage CalculatorMortgage Calculator

The Code

Running the Code

The Results

How It Works

Hacking the Script

2. WEBSITE SCRIPTING Web Page Link Validator

Web Page Link Validator

The Code

Running the Code

The Results

How It Works

Hacking the Script

Orphan File CheckerOrphan File Checker

The Code

Running the Script

The Results

How It Works

Form GeneratorForm Generator

The Code

Running the Code

The Results

How It Works

Hacking the Script

RSS ParsingRSS Parsing

The Code

Running the Code

The Results

How It Works

Hacking the Script

Stock Exchange GrepStock Exchange Grep

The Code

Running the Code

The Results

How It Works

Hacking the Script

IP Address GenerationIP Address Generation

The Code

Running the Code

The Results

How It Works

Subnet CalculatorSubnet Calculator

The Code

Running the Code

The Results

How It Works

Hacking the Script

3. LI(U)NIX SYSTEM ADMINISTRATIONFixing Bad Filenames

Fixing Bad Filenames

The Code

Running the Code

The Results

How It Works

Hacking the Script

Adding a UserAdding a User

The Code

Running the Code

The Results

How It Works

Hacking the Script

Modifying a UserModifying a User

The Code

Running the Code

The Results

How It Works

Hacking the Script

Killing a Stuck ProcessKilling a Stuck Process

The Code

Running the Code

The Results

How It Works

Validating SymlinksValidating Symlinks

The Code

Running the Code

The Results

How It Works

Hacking the Script

4. PICTURE UTILITIESMass Editing

Mass Editing

The Code

Running the Code

The Results

How It Works

Image Information ExtractionImage Information Extraction

The Code

Running the Code

The Results

How It Works

Hacking the Script

Creating a ThumbnailCreating a Thumbnail

The Code

Running the Code

The Results

How It Works

Hacking the Script

Resize a PictureResize a Picture

The Code

Running the Code

The Results

How It Works

Hacking the Script

Adding a Watermark to PicturesAdding a Watermark to Pictures

The Code

Running the Code

The Results

How It Works

Convert to Black and WhiteConvert to Black and White

The Code

Running the Code

The Results

How It Works

Creating a Photo GalleryCreating a Photo Gallery

The Code

Running the Code

Results

How It Works

Hacking the Script

5. GAMES AND LEARNING TOOLSSudoku Solver

Sudoku Solver

The Code

Running the Code

The Results

How It Works

Flash CardsFlash Cards

The Code

Running the Code

The Results

How It Works

Hacking the Script

Number-Guessing GameNumber-Guessing Game

The Code

Running the Code

The Results

How It Works

Rock, Paper, ScissorsRock, Paper, Scissors

The Code

Running the Code

The Results

How It Works

Hacking the Script

Word ScrambleWord Scramble

The Code

Running the Code

The Results

How It Works

HangmanHangman

The Code

Running the Code

The Results

How It Works

PigPig

The Code

Running the Code

The Results

How It Works

Hacking the Script

6. STRING UTILITIESPDF Generator

PDF Generator

The Code

Running the Code

The Results

How It Works

Word FrequencyWord Frequency

The Code

Running the Code

The Results

How It Works

Hacking the Script

Comma-Separated Value ParserComma-Separated Value Parser

The Code

Running the Code

The Results

How It Works

Hacking the Script

CSV to XMLCSV to XML

The Code

Running the Code

The Results

How It Works

Hacking the Script

Ruby GrepRuby Grep

The Code

Running the Code

The Results

How It Works

Hacking the Script

Password CheckPassword Check

The Code

Running the Code

The Results

How It Works

Hacking the Script

7. SERVERS AND SCRAPERSDefine

Define

The Code

Running the Code

The Results

How It Works

Hacking the Script

Automated SMSAutomated SMS

The Code

Running the Code

The Results

How It Works

Link ScrapeLink Scrape

The Code

Running the Code

The Results

How It Works

Hacking the Script

Image ScrapeImage Scrape

The Code

Running the Code

The Results

How It Works

Hacking the Script

ScraperScraper

The Code

Running the Code

The Results

How It Works

Encrypted ClientEncrypted Client

The Code

Running the Code

The Results

How It Works

Encrypted ServerEncrypted Server

The Code

Running the Code

The Results

How It Works

8. ARGUMENTS AND DOCUMENTATIONFile Security

File Security

The Code

Running the Code

The Results

How It Works

Web ScraperWeb Scraper

The Code

Running the Code

The Results

How It Works

Photo UtilitiesPhoto Utilities

The Code

Running the Code

The Results

How It Works

Conclusion

9. SORTING ALGORITHMSBubble Sort

Bubble Sort

The Code

Running the Code

The Results

How It Works

Selection SortSelection Sort

The Code

Running the Code

The Results

How It Works

Shell SortShell Sort

The Code

Running the Code

The Results

How It Works

Merge SortMerge Sort

The Code

Running the Code

The Results

How It Works

Heap SortHeap Sort

The Code

Running the Code

The Results

How It Works

Quick SortQuick Sort

The Code

Running the Code

The Results

How It Works

Shear SortShear Sort

The Code

Running the Code

The Results

How It Works

A Note About Efficiencies

10. WRITING A METASPLOIT 3.1 MODULE WITH RUBYIntroduction to Metasploit

Installation

Writing a Module

Building the Exploit

Watching in Real [[Time

Explanation of Metasploit Module Shell

Finding the Payload Space

A. AFTERWORD

Wicked Cool Ruby Scripts

wicked_cool_ruby_scripts.txt · Last modified: 2024/04/28 03:30 (external edit)