Header Banner
Null Byte Logo
Null Byte
wonderhowto.mark.png
Cyber Weapons Lab Forum Metasploit Basics Facebook Hacks Password Cracking Top Wi-Fi Adapters Wi-Fi Hacking Linux Basics Mr. Robot Hacks Hack Like a Pro Forensics Recon Social Engineering Networking Basics Antivirus Evasion Spy Tactics MitM Advice from a Hacker

Part 1: Ruby for the aspiring hacker. (Introduction)

Introduction:

Ruby is a programming language. It is vastly known by hackers. This particular programming language was influenced by Perl, Smalltalk, Eiffel, Ada, and Lisp.

Why you should learn Ruby?

Ruby is a very easy language to learn compared to other languages!

Ruby is a powerful, flexible programming language you can use in web/Internet development. You can create games, etc with it, too. Let's compare C++ to Ruby.

#include <iostream>

int main()

{

std::cout << "Hello World" << std::endl;

return 0;

}

Now look at Ruby:

puts "Hello World!"

2.) Lot's of companies are looking for people who know Ruby. Of course, you'll need to know PHP, C++, HTML, etc, but Ruby is a good step to learn.

Let's start actually learning Ruby. We will of course start off easily! Very simple.

I am using Notepad++, now. Let's create a file. I, myself, will name it: Test.rb, remember to add the: ".rb"

Ok. So... Let's do a simple: "Hello World!"!

puts "What is up?"

print "Nullbyte"

Now, remember to always add a 'print' statement, if not, it'll just give a nil.

That is all for today. Some simple Hello World commands, and introduction to Ruby. I will add another tutorial by tomorrow.

Apple's iOS 26 and iPadOS 26 updates are packed with new features, and you can try them before almost everyone else. First, check Gadget Hacks' list of supported iPhone and iPad models, then follow the step-by-step guide to install the iOS/iPadOS 26 beta — no paid developer account required.

Related Articles

Comments

No Comments Exist

Be the first, drop a comment!