Nov 11, 2016

Feb 4, 2016

Why we need Vulnerability Scanning?

I've been asked for a question: why we need vulnerability scanning and what is it for?

After I give it a thought, and my answer is: Vulnerability Scanning is a process with the intent to assess 3 things at the infrastructure:

  1. Missing patch
  2. Mis-configuration
  3. Default credential

Is this an over-simplified answer?  8-|

Let's see if I'm correct on this in the next few years.  :P

Dec 29, 2015

Random 'fortune' + random 'cowsay'

/usr/games/fortune -s | /usr/games/cowsay -f `ls -1 /usr/share/cowsay/cows/ | sort -R | head -1` -n

Sep 29, 2015

Demonstrate all the 'cowsay'

for f in /usr/share/cowsay/cows/*; do cowsay -f "${f:23:-4}" "${f:23:-4}"; done

Jun 29, 2015

Oneplus-One and ADB USB Driver

Manually install Android ADB USB Driver:

  • Install Android SDK;
  • Then, select "Extras->Google USB Driver", and enable the checkbox;
  • Start Device Manager;
  • Browse to "Other devices", and right-click on "Android phones", then Update Driver Software;
  • Select "Browse my computer for driver software";
  • Select "Let me pick from a list of device drivers on my computer"; 
  • Select "Show All Devices";
  • Press the "Have Disk" button;
  • Enter the path to the Google USB driver. 
  • Normally it is located in the following directory:
  • C:\Program Files (x86)\Android\android-sdk\extras\google\usb_driver
  • C:\Users\Administrator\AppData\Local\Android\sdk\extras\google\usb_driver
  • Select "Android ADB Interface" from the list of device types;
  • Confirm the installation again by pressing "Install";
  • When the installation is done, press "Close".
Install OnePlus One USB Drivers on Windows:
  • Install the latest Samsung drivers: SAMSUNG USB Driver v1.5.33.0;
  • Install it like normal applications and restart your computer so that the drivers get installed correctly;
  • After that connect your OnePlus One to your computer.
  • Navigate to the Device Manager;
  • Find the Android device, and select Update Driver Software.
  • Select Browse my computer for driver software;
  • Select Let me pick from a list of device drivers on my computer;
  • Select ADB Interface from the list;
  • Select SAMSUNG Android ADB Interface (this is a signed driver); 
  • If you get a warning, select Yes to continue;
  • Done!