Skip to main content

Posts

Showing posts from October, 2017

Raspberry Pi making HTTP requests using Python

Raspberry Pi making HTTP requests using Python HTTP GET and POST requests can be used to communicate with web servers ,api etc. Using this method you can develop some cool apps with your Raspberry Pi. In this tutorial we are going to see how to make HTTP GET and POST requests with your Raspberry Pi. Making HTTP GET requests In Raspberry Pi the HTTP GET requests can be made using the package urllib. The code is very simple. By using the method urllib.urlopen() you can get the contents of the page. In this example I am making HTTP GET request to the url “http://api.learn2crack.com/rpi/rpi_get.php”. It will print the output as “Hello Raspberry Pi”. Example Making HTTP POST requests Http POST requests can be made using the package urllib and urllib2. The post parameters should be in the format of { ‘data’:’data’ }. The post request can be made using the method urllib2.Request(). By using the method urllib2.urlopen() you can get the contents of the page. In this example I a...

Install Android Apk in Android Emulator easily

Install Android Apk in Android Emulator easily Android is a Linux-based operating system designed primarily for touchscreen mobile devices such as smartphones and tablet computers. Initially developed by Android, Inc., which Google backed financially and later bought in 2005 Android was unveiled in 2007 along with the founding of the Open Handset Alliance: a consortium of hardware, software, and telecommunication companies devoted to advancing open standards for mobile devices. The first Android-powered phone was sold in October 2008. In order to use android emulator in your computer download and install android sdk and download the packages required. Download sdk from the link https://developer.android.com/sdk/index.html Start the emulator from the android virtual device manager. In windows change your directory to sdk/platform-tools and open the command prompt. Type adb devices to view the emulator attached. For example let us consider the apk...

How to decompile Android apk to Java source code

How to decompile Android apk to Java source code Finally we found a way to easily decompile Android apk to original java source code.Here are the instructions to decompile android apk to java source code. This method is also called as Reverse Engineering. Requirements: Eclipse IDE: Download and install eclipse IDE from the link. http://www.eclipse.org/downloads/ Dex2jar: Dex2jar converts the DEX (Dalvik Executable) files to the Java source. Download and extract dex2jar from the link. https://dex2jar.googlecode.com/files/dex2jar-0.0.9.15.zip JD-GUI: JD-GUI is used to see the soure Java Class files from the converted jar files. Download and extract JD-GUI from the link. https://innlab.googlecode.com/files/jd-gui-0.3.3.windows.zip Decompiling Instructions: 1.Open Eclipse IDE and create a new Java project named Android2Java. 2.Create a new folder “libs” in the root of your Android2Java project. 3.Paste the jar files in the lib folder of extracted dex2jar...

Control your Android device from a PC

Control your Android device from a PC It would be easy if you control your Android device from your PC. We are providing you a way to control your Android device from your PC’s browser via WiFi tethering or through Internet via a Android Application called AirDroid. Requirements: 1. An Android device2. AirDroid App:Download and install AirDroid from the link https://play.google.com/store/apps/details?id=com.sand.airdroid3. Open AirDroid and register for a AirDroid account. Connecting Device via WiFi: 1. Open AirDroid App.2. In the Tools tab select Tethering, then Enable Set up portable hotspot. 2. The in your PC connect to a Wireless AP called AirDroid AP.4. Then Open the URL http://192.168.43.1:8888/ in your browser. In the Android device AirDroid asks for permission, accept it. 3. Now you can control your Android device via Browser. 4. You can transfer files, Install Apps, Play Video etc. Connecting Device through Internet: 1. Connect both the Android Device...

How to Install WhatsApp On PC

How to Install WhatsApp On PC Install WhatsApp on PC Requirements: 1: Bluestalk 2) A PC with updated graphics drivers. Instructions: 1)In order to use WhatsApp on PC we need a Software called BlueStacks, So download and install BlueStacks from this link BlueStacks Application Player enable Android applications to run on Windows PCs, Macintosh computers and televisions. 2)After the installing BlueStacks, search for WhatsApp in the search bar provided as in the below picture. 3)You will be asked to Add a Google account. So sign in with your Google account, after signing in your Google account will be linked with the BlueStacks. 4) Now select the mobile device which you have already synced with your Google account(I have used a virtual device using Virtual box). 5)Now search again for the WhatsApp in the search bar and download it from the play store. 6)Now choose your country and enter your phone number with which you want to access the WhatsApp Messenger. ...

How to Install Android Lollipop 5.0 on PC with Google Apps(Play Store)

How to Install Android Lollipop 5.0 on PC with Google Apps(Play Store) For some reasons like developing or testing an Android Application we need to Install Android Lollipop 5.0 on PC. To do this we may use the some virtual machines or android emulators like Oracle VM VirtualBoX, VMware Virtualization, BlueStacks, Genymotion and the list goes on. But unfortunately none of them allows us to use popular Google Apps (Applications) like Google+, Google Play Store, Gmail, and many more with the Android Lollipop on PC. Install Android Lollipop 5.0 on PC We have come up with an Easy way to get your Google Apps Installed on your android Emulator. All you have to do is to get things that are required from the link provided and follow the step by step tutorial give bellow. Things that you need: 1. Genymotion Android Emulator We are going run Android Lollipop on PC using Genymotion Android Emulator, so get registered in Genymotion Website in order to download. Download and install l...

A SIMPLE JAVA IF STATEMENT FOR NEWBIE

a simple if statement in java Java programming as widely known today is a very poweerful language but that dosent make it a very hard to learn for the newbies,it only requires time and determination and also starting from the beginning So today lagahit tech share to u guys a simple if statement in java,the will be beneficiary to newbies ENJOY

A SIMPLE PYTHON APPLICATION FOR CALCULATIONS

A SIMPLE PYTHON APPLICATION FOR CALCULATIONS def help_screen(): print("Add: Add two numbers") print("subtract: subtract two numbers") print("multiplication: multiple two numbers") print("divsion: divide two numbers") print("print: display the result of latest operation") print("help: display help screen") print("quit: exit the program") def menu(): return input("A(add S(ubtract M(ultiple D(ivide P(rint H(elp Q(uit") result = 0.0 first_num = 0.0 second_num = 0.0 def get_input(): global first_num, second_num first_num = float(input("first figure:")) second_num = float(input("second figure:")) def report(): print(result) def add(): global result result = first_num + second_num def subtract(): global result result = first_num - second_num def multiply(): global result result = first_num * second_num def divide(): glo...

How to force 2G/3G/LTE only mode in your Android Smartphone

How to force 2G/3G/LTE only mode in your Android Smartphone Some times you are in a area where 3G signal is weak and your phone may constantly jump between 2G and 3G mode. It would be really annoying to browse or stream video in that situation. Some OEM like Samsung provide a way to use 2G/3G only mode from their settings menu. But most OEM don’t. Here is a way to access the hidden menu in all Android devices regardless of OEM. Open the default dialer and enter the following code. *#*#4636#*#* It opens the testing screen. Select Phone information. From there select your preferred network. For 2G select GSM only . For 3G select WCDMA only . For 4G/LTE select LTE only . Good luck

Learn to Hack WIFI password with Ubuntu (WPA/WPA2)

Learn to Hack WIFI password with Ubuntu (WPA/WPA2) In this hacking tutorial we are going to use a new vulnerability in WPA and WPA 2 (PSK/TKIP)Wireless passwords, this weak point is to attack WPS, Which is Wireless Protected Setup. This type of setup is built in 90% of routers to allow easy establishment of secure home wireless by the user, though it has been shown to fall to BruteForce Attacks. This BruteForce attack will try all combinations of Router’s PIN number (Provided by WPS) and access the router to reveal the password. This type of hack have many benefits such as, You can always have the Wireless Password even if It’s changed by knowing the PIN number. Steps To Hack WPA/WPA2 Passwords using Ubuntu (Reaver) Follow these simple steps. Step 1 (Setting up Reaver 1.4 ) 1) Open terminal and type sudo -s and then type your password. 2) Download Reaver (Better Download the Latest Version ) Place in a specified folder. 3) Open the Terminal and type tar xvfz re...

Hack a Computer Only with just a IP Address in Easy steps

lagahit technology presents you an easy tutorial to hack a Computer only with a just a IP Address in six simple steps. Steps to Hack IP Address: 1) Prepare the IP address of the Victim. (e.g : 101.23.53.70 ) 2) Download and Install Advanced Port Scanner 3) Open Advanced Port Scanner and Type the IP Address in the right column and Click Scan. 4) It will lists you all Opened Ports of the Victim’s PC or Router. (e.g : Port 91 ) 5) After retrieving the IP address and the Opened Ports of the Victim, Open Command Prompt (CMD) and Type: telnet [IP ADDRESS] [PORT] e.g : telnet 101.23.53.70 91 6) Now you’ll be asked to Enter Login Information, Just type Username and Password and hit Enter. If no password is used just type the Username. Done! Now you’ll get access to all Victim’s Files and Documents by browsing with CMD (use cd, copy, delete, mv… to do all tricks.) YOUR DONE

How to Enable, Disable USB Drives & Mass Storage Devices using Registry

If the administrator is smart, then he would definitely do this to ensure a tight blockade. He would alter the settings through regedit command on Run console. Now how do you unlock it? You have to go right into where the administrator has been. Here is how. 1. Go to Start > Run, type “ regedit” and press enter to open the registry editor 2. Navigate to the following key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR In the right pane, select Start and change the value to 3 . (The value 4 will disable USB Storage). Click OK. This will re-enable USB Ports and allow you to use USB or Pen drives.

How to remove / bypass please enter the Privacy Protection

With this Miracle Box method, you wont need to flash the phone's firmware to fix this "please enter the privacy protection password to unlock" error. Some Supported :- Spice , karbonn , lava , micromax , intex , vivo , and More Requirement * Download Miracle * PC windows * USB cord * Manually Install Mediatek VCOM drivers Procedure 1. Extract the content of the Miracle Box to your desktop. Open the folder and run "Miracle_Loader_2.27A" 2. Wait till the Miracle Box program is launched 3. Click on the MTK tab 4. Click on the Unlock / Fix tab 5. Tick Clear Anti-theft 6. Click the dropdown box and select your chipset type MT**** 7. Click the Start Button 8. Connect the phone to the PC (must be switched off still with battery inside) 9. Press the power button once (this is to ensure that your device is detected immediately). DO NOT hold down the power button else the phone will boot up normally 10. Wait for the message ">>Done....

Samsung Galaxy J7 Prime Usb Charging Problem Solution Jumper Ways

Samsung Galaxy J7 Prime Usb Charging Problem Solution Jumper Ways Problem:- Samsung Galaxy J7 Prime usb charge solution, Samsung Galaxy J7 Prime usb not recognized not detected Diagnostic: – Plug the USB cable into the PC and phone jack, read the notifications on the screen phone recognized or not. Make sure you can save data to the memory card or not. Replace the USB data cable and try again. Replace the usb charger and try it again can charge it or not. Solution:- If you are facing a load problem in Samsung Galaxy J7 Prime and have tested all the above steps to solve this problem in it. Dismantle the phone and look at the phone for water and carbon damage. Clean it with an electronic cleaner and apply heat with a heat gun to dry it. Keep in mind the heat should not be over and much because it can harm your skin and damage the motherboard. So keep it in the normal stream and look at the parts carefully. Follow all these paths and components as shown in the diagram abov...

Nokia 105 sim ways

nokia 105 sim solution -trace the broken point With multitester -apply jumpers at the required ares

Sony xperia hardreset code

Have been trying to reset your sony xperia device which was in a pattern lock or u want to do a normal reset,this is the appropriate guild for you -this is useful if the power + volume up button dont work for you -just enter the below code in you dail pad and ur done

Nokia 105 charging ways

Nokia 105 charging ways Fix -charger not supported -charging error

Nokia asha 200 charging solution

Nokia Nokia asha 200 charging Solution Steps -Observe the point with ur multitester meter, -run jumpers in the required parts The above diagram is suported By 201,200