G33K-TRICKS

Saturday, March 19, 2016

How to get Nonencrypted password using Website Login Form


On Few websites you can just verify the password directly using the PHP or Java Script code.
Though not always , you can get the password with few easy steps.

1. Right-Click on the "Login Form" of the website which you want hack.
2. Select ''Inspect element''
3. Search for  ''
and then ''action=''  in the code

4. If the URL ends with  ''.js'' Bingo!!! you hit the bullseye. Just copy it and paste it in the URL bar of your browser.
And in-case if the URL ends with ''.php'', type ''view-source:'' before pasting the URL
Then search for  ''password'' in the source code.

WARNING: This method works better for .JS pages than with .PHP.
Sometimes, there is no URL after ''action='' you will find just a JS function.
Again view source and look for "password".


How to hack the Website password


How to get an "apk" file of installed app in Android phone



Pull Android Apk from phones


Consider this scenario,
You have installed any app on your android phone now all of a sudden you feel, I should have that apk on my PC so whenever I want I can re install it again offline in-case I removed it from my phone.
Just a wild guess for scenario :)
So , this is what you need to do,
to get the APK file from the already installed application.
(Please note that you will need "adb" android utility to perform below steps)

adb shell pm list packages

 From the list of Packages get the name of that package which is similar to the one which
you want to get.
Say, you need Airbnb app to pull out of your phone, type,

 adb shell pm path com.airbnb.android  

To pull the apk from phone

adb pull /data/app/com.aibnb.android-1.apk .

(in the above command the "."(dot) denotes the current directory where adb binary is kept)

Energy or Power Saving Tricks


Everyone here on Earth want to save except few. Whether its money or life or other resources.
One of them is Power / Electricity / Energy and saving it is saving for our future generation.

1. Cooling 


  • Close exterior doors and windows properly when the AC is in use.
  • Change or clean AC's air filters at least once in a month to keep your it running at optimum performance.
  • Always try to buy AC with High or Good Energy Ratings.
  • Block the sun from heating your home! Inside, use shades, blinds and drapes. Outside, use awnings, trees and shrubs.
  • If possible insulate the walls with foam insulation to so that heat is trapped 
  • Keep the door inside home open, it will allow the free flow of air through the home.
  • Plant trees to provide shade on the sunny side of your home.
  • Try using ceiling fans more rather than ACs to cool, they dont need much electric power to run.But, make sure that you turn off the fans when you are not using it.

2. Appliances 

  • Use microwaves to cook or warm leftovers. They use less energy compared to conventional ones.
  • If you are staying where temperature is already low, try to keep the refrigerator's cooling knob to low level. It will save good amount of energy.
  • Replace a refrigerator that was bought in 90s with an energy-efficient models. 
  • Try to Keep the freezer full. It uses less energy than an empty one. For maximum savings, consider filling your freezer with gallon containers of water.
  • Choose energy-efficient appliances. They don’t just save you money, but they’re good for the environment because they use less energy.
  • Wash and dry several loads at once. It saves power. You can skip drying in machine when Sun is a free dryer available at your service.
  • Always match your pot size to the burner size on your cooking stove. Good amount of heat is lost in air when small pots are used on large burners.So, always try to use smaller burner.
  • Use tight-fitting covers on pots and pans when cooking on the stove to shorten your cooking time and save energy.
  • Turn off your burners when food is almost ready and let existing heat finish the cooking for you.
  • Whenever possible wash with full loads of clothes.
  • Set your dishwashers and washing machine on economy mode, to use less water and electricity.
  • Use copper bottomed pans and pots when cooking on the stove. Copper is good conductor of heat and gets heated up easily compared to another metals.

3. Electronics

  • Plug electronics into a power strips. So when you are done with one switch you can turn off all of them at once instead of forgetting to switch of particular one.
  • Unplug battery chargers when the batteries are fully charged or the chargers are not in use. Many chargers draw power continuously, even when the device is not plugged into the charger.
  • Consider buying a laptop instead of buying a computer. Laptop uses less power. In the Same way, buying LED TVs are good option but yeah they are costly.
  • Set your computer to sleep or hibernate mode instead of using a screen saver it saves electric when not in use.
  • Replace Old CRT monitors with LCD/LED ones.

Similar post on "how to save energy and go green"

Sunday, February 21, 2016

[Solved] Opera Mini "Font Data Calculation"


How to disable "Font Data Calculation" screen on Opera Mini.


Few days back I installed Opera Mini on my Android Mobile and just after launching the app displays an annoying screen "Font Data Calculation" 
What I know is that , this screen comes when your android phone is having some different Fonts and non-stock fonts,

Here is a simple g33ktrick for you.

1. Open Opera Mini app
2. Type "about:config"  and tap on Enter
3. Scroll down to "Use bitmap fonts for Complex scripts" and Select "Yes" option
4. Save the settings.
5. Now, close and Relaunch your Opera Mini without "font data calculation" screen.

Also, above setting can be used to Solve issues when you are not able to see some fonts at some websites.

This g33ktrick would work on Apple and Windows OS phones as well.

Sunday, February 14, 2016

Simple steps to Set / Mock / Change Android phone's Battery Level (No Root Permission Required)


Change Battery Level using command

How to change the Android Battery percentage


Mobile app developers must ensure that their applications function properly in low battery conditions. But how can you test app behavior when you don't have a low battery on hand? 
Sometimes , we need to check the low battery scenario over our Android Phones under certain conditions. Either you can put the low battery into your phone for which you need to have a battery of same phone or you can reduce the battery by keeping the WIFI, GPS, BT to On, keeping the brightness level to 100% and then keeping the camera for recording a video with Flash light in On state. Doing this will easily consume more time and everyone hates it.
In this guide, we'll show you how to simulate low battery conditions on an Android phone using ADB commands.

Steps to follow for mocking the Battery level

So, here is a simple solution to change level as per need.
Install ADB on your PC/Laptop. There are easy tutorial available all over the internet.
From command prompt / terminal type below set of commands.

To find the current battery level
C:\>adb shell dumpsys battery

Next run, 

C:\>adb shell dumpsys battery set usb 0
C:\>adb shell dumpsys battery unplug

OR you can run

C:\>adb shell dumpsys battery set status 3

Above command would set the battery to discharging status even though USB cable is connected to the mobile device.
And then run the below command to set the battery percentage as required.

C:\>adb shell dumpsys battery set level x 

   x indicates the percentage of battery to be set

 For Example,  

C:\>adb shell dumpsys battery set level 55 


To Reset the Battery status back, you can use: 

adb shell dumpsys battery reset

With Above steps will help in mocking the Low Battery scenario, in-case you want to test an android app behaviour with low battery.
If you could not reset the battery, just reboot the mobile phone and battery level would get reset to actual value.