Category: ruby

  • Snyk CTF Challenge: Feb 28th 2025.

    String Me Along This was the first reverse engineering challenge. It was labeled easy. The first thing I did was use the strings command to view all the strings in the binary. The string command will print all the printable characters that are in the file. Next I tired to enter, “unlock_me_123” after running the…

  • Updates: SnackHack2…

    The newly updated SnackHack2 comes with a Rakefile, which makes it a breeze to push, build, and install the gem. The Rakefile also includes tasks that can run code to ensure no bugs are introduced or to ensure nothing is broken. The documentation for the gem can be found here. RakeFile The command bellow will…

  • CryptoPriceFinder: Find Crypto prices.

    The gem can be found on Rubygems.org or on Github.com. Check out the examples folder for more examples on how this project could be used. Installing the gems This gem uses the Ruby gem “httparty” to make the request to the API. “gem install CryptoPriceFinder” will install the gem on your system. Saving the price…

  • SnackHack2: Scripts

    Port Scanning IPs This script will perform a port scan of the first 1,000 ports. The code will create a new file, with a name like “127.0.0.1_port_scan”. Since “delete” is set to true, after extracting all the scans with port “22” open. The code will delete the files and save all the IPs with port…

  • SnackHack2: Hacking tool and Recon

    This tool comes in gem form and can also be downloaded from Github.com. Originally, this project would be my senior project, but I had to scrape the idea for a simpler project due to my course workload and mental health. To install the gem run the command below. gem install snackhack2 Indirect Command Injection This…