Quick Tip: Installing Ruby Gems in the user’s Home Directory

By | April 19, 2016

Note: The Operating System in use is Ubuntu Linux (11.04) My Gem Environment – $ gem env RubyGems Environment: – RUBYGEMS VERSION: 1.8.11 – RUBY VERSION: 1.9.2 (2010-08-18 patchlevel 0) [x86_64-linux] – INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.9.1 – RUBY EXECUTABLE: /usr/local/bin/ruby – EXECUTABLE DIRECTORY: /usr/local/bin – RUBYGEMS PLATFORMS: – ruby – x86_64-linux – GEM PATHS: – /usr/local/lib/ruby/gems/1.9.1… Read More »

How to Code a TCP Connect Port Scanner in PHP

By | August 11, 2020

A port scanner is a program designed to probe a server or host for open ports. Looking at open ports, one can tell what services might be running on the remote server. We earlier made a TCP Connect port scanner in C here – https://www.binarytides.com/tcp-connect-port-scanner-code-c-winsock/ and here – https://www.binarytides.com/tcp-connect-port-scanner-c-code-linux-sockets/ Now we shall try making the… Read More »