Difference between two Rooting methods I bought a new XOLO Q700 last week, with Android jelly bean 4.2.1

I found out two ways to root the phone. 

First, as per the instructions given in this website

[ROOT] Xolo Q700 Rooted before it hits the shelves!


  As quoted in the website...
  
  The process is really simple for rooting the phone: 
  
  
  First what you need to do is download "MotoChopper" on your PC. 
  Extract the .zip file  to a specific folder Install the USB drivers      using PdaNet+ 
  Enable USB Debugging mode on your device.
  For Windows  users, execute the "run.bat" inside the contents of the    extracted    archive. Be sure to run it as admin.
  For Linux or OS X users, execute “./run.sh” via terminal window.
  
  
  And its done! I have tested this method on windows and it is working.
  It will continuously repeat that adb server is outdated and it is
  killing it but don't worry about it, it will still continue...
  
  Follow the steps carefully in the terminal window. After the window
  closes itself REBOOT YOUR PHONE!!!
  
  To check if the phone is rooted correctly or not use, Root Checker
  Basic from the playstore, it should do your work


Second, is using the software UnlockRoot


  Though the second method is pretty simple, connect your phone and hit
  ROOT and UNROOT to revert


While the First method is a little more tedious.

So I would like to know what is the difference between  the two methods. Also which would be safer.
Since both sets of instructions you link to consist of running some closed-source software that interacts with your phone through the debug interface, only the authors of those programs can tell you precisely what they do.

As ce4 says in his comment, the one on the XDA-Developers website exploits a vulnerability: that is, a defect in the phone's software. The defect lets a program run as root on the phone, and this software uses that to install a program permanently so that it always runs as root.

The other software could be doing anything. If it works for your phone, it probably exploits the same vulnerability, but only the author can tell you for sure.