Posts

Showing posts from 2013

Nexus 4 Dual Boot - Android and Ubuntu

Note  :  Dual boot is not part of the regular Ubuntu release  After installation: A single device with the ability to switch between fully functional Android and Ubuntu images On Android: an Ubuntu Installer app to install Ubuntu, as well as to boot into Ubuntu On Android: the Super User app to grant permissions to the Ubuntu Installer app On Ubuntu: an Ubuntu Dual Boot app to boot into Android Ubuntu system updates are not yet supported from the Ubuntu side, but they can be done via the Android app Requirements To install dual-boot, you'll need: A Nexus 4 device  (other  supported Nexus devices  should in theory work but have not been tested at the time) Android 4.2 or higher  running on the device, either stock firmware or based on Cyanogen Mod or AOSP. Note that  Android 4.4 requires additional steps to get phone calls working on the Ubuntu side 2.7GB of free storage  on the device to install Ubuntu ADB tools  running on your desktop computer

Host Web Pages In Google Drive

Image
Sample : Goto this link   (Open in new Window) 1.Create a new folder in Drive and share it as " Public on the web ." 2.Upload your HTML, JS & CSS files to this folder. 3.Open the  HTML file  & you will see "Preview" button in the toolbar. 4.Share the URL that looks like www.googledrive.com/host/... from the preview    window and anyone can view your web page. Video Tutorial On Youtube    http://www.youtube.com/watch?v=9NChrhrjYI0 source : Google

Android Developer Tool Latest

Latest Android Studio Canary Build: 0.3.6 You can install 0.3.6 incrementally by just using "Check for Updates" in your IDE, and applying the update mechanism which will patch your existing install. Windows: Download (141 MB) Mac: Download (140 MB) Linux: Download (139 MB)

New Android Run-time , ART in KitKat

Image
ART, which stands for Android Runtime, handles app execution in a fundamentally different way from Dalvik. The current run-time relies on a Just-In-Time (JIT) compiler to interpret bytecode, a generic version of the original application code. In a manner of speaking, apps are only partially compiled by developers, then the resulting code must go through an interpreter on a user's device each and every time it is run. The process involves a lot of overhead and isn't particularly efficient, but the mechanism makes it easy for apps to run on a variety of hardware and architectures. ART is set to change this process by pre-compiling that bytecode into machine language when apps are first installed, turning them into truly native apps. This process is called Ahead-Of-Time (AOT) compilation. By removing the need to spin up a new virtual machine or run interpreted code, startup times can be cut down immensely and ongoing execution will become faster, as well. ART is a new Android r

C# System wide shortcut keys | Global Hot-key in C#

Port Check Tool In C#

Image
Simple port check tool for windows Tool Download here... Link Type Size download 7z   12KB  download exe  75KB C#  Source download

Limitations of SQL Server 2008 R2 Express

1. Maximum 10 GB per database. 2. Uses no more than 1 processor. 3. Uses no more than 1 GB of internal memory. 4. NO Maintenance plans 5. NO Database mail 6. NO User instances 7. SQL Server Agent 8. NO Full-text search

Google Start Rewards Program

Program Rules On October 9, 2013, we announced a new, experimental program that rewards  proactive security improvements  to select open-source projects. This effort complements and extends our long-running vulnerability reward programs for  Google web applications  and for  Google Chrome . Reward amounts Rewards for qualifying submissions will range from $500 to $3,133.7. The final amount is always chosen at the discretion of the reward panel and is based on our judgment of the complexity and impact of the patch. More Detail  

Speeding Up the Android Emulator on Intel Architecture

Image
This article will guide you through installing the Intel Hardware Accelerated Execution Manager (Intel HAXM), a hardware-assisted virtualization engine (hypervisor) that uses Intel Virtualization Technology (Intel VT) to speed up Android development on Windows. It also explains how to setup a hardware-assisted KVM on Linux and best known methods in compiling natively and submitting apps to the Google Play Store for x86. 2. Installation 2.1. Prerequisites You need to have the Android SDK installed. Your computer must have an Intel processor with support for Intel VT-x, EM64T and Execute Disable(XD) Bit functionality enabled from the BIOS. 2.2. Installation on Windows After you have installed the Android SDK, open the SDK Manager. In the extras section, you can find the Intel HAXM. File Path : \sdk\extras\intel\Hardware_Accelerated_Execution_Manager Check the box and click the ‘Install packages…’ button, once you have installed the package, the status will appear as ‘Inst

PHP Database Backup Script

Mysqldump is a small utility that allows you to export a MySQL database to a text file for backup or transfer between two servers. This utility is very useful, is not always available on shared hosting as it embarks on the command line. This article therefore discusses how to export a MySQL database in PHP. Called "export" the fact of formatting in a file (a dump) all the information needed to create the table and populate. The following code allows for an export of a database in SQL file. The Setup section allows you to configure the connection information to the database (user name, password and server address) and the name of the database ($ dbname). As you can see, the script regularly dump the memory by recording the information as and in the dump file. This process is required for export of large databases. Note also that the export of a large BDD can take a long time. If you can, consider raising the maximum execution time of your script at the beginning of

Force Files to Download (Not Open in Browser) using htaccess

Remove File Extention from URLs using htaccess

That little bit will make  http://blogger.com/about.php into   http://blogger.com/about

Force Correct content-type for XHTML Documents using htaccess

Reference

SLT USAGE METER

USERNAME :

How to configure IIS to run in different port than 80

Microsoft Internet Information Server versions 1.0 to 2.0 Start Regedt32.exe and locate the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ServiceProvider\ServiceType\W3SVC Find the TCP Port value and double-click it. The DWORD Editor dialog box should appear with the default value (0x50 Hex; 80 Decimal) listed. Change the decimal value to the number of the port that you want the World Wide Web Publishing Service to listen to. NOTE : You can also follow steps 2 and 3 to change the following services: MSFTPSVC: FTP Publishing Service GOPHERSVC: Gopher Publishing Service Exit Regedt32.exe. Stop and Restart the IIS Services by Using the Internet Service Manager. Microsoft Internet Information Server version 3.0 Open Internet Service Manager. Double-click on the computer corresponding to the WWW service. On the  Service  tab, change the TCP Port field to the desired port number. Click  OK . Using the Internet Service Manager, stop and r

How to change target build on Android project ?

Image
Right click the project and click " Propertie s". Then select " Android " from the tree on the left. You can then select the target version on the right. hint:Sometime IDE need to restart Change Android build target

C++ Hello World In Visual Studio

Without using namespace std; when you write for example cout <<; you'd have to put std::cout <<;

Facebook Get Profile Information using https://graph.facebook.com/

Try  This: https://graph.facebook.com/{your profile id} tip : to find facebook profile id try this ex :  https://graph.facebook.com/ 4 it will display something like this: { "id": "4", "name": "Mark Zuckerberg", "first_name": "Mark", "last_name": "Zuckerberg", "link": "http://www.facebook.com/zuck", "username": "zuck", "gender": "male", "locale": "en_US" } Have Fun!!!

Android Web Request Sample

Image
Simple Android web request (POST Method) sample application

Easy Windows Password Recovery with Ophcrack live USB

Recovering Windows Passwords coulnd’t be easier with Ophcrack Live on USB. Whether it’s your sister’s forgotten XP account or [insert other legit reason] a little USB booting and Rainbow Table loving’s got you covered. Preparing an Ophcrack USB key is as simple as formatting your drive for FAT32 with the HP USB format tool . Downloading and launching USBOphcrack.exe and running the included batch file. The program will download a small set of rainbow tables and prepare your USB drive. For even higher password recovering accuracy I recommend finding a larger set of Ophcrack compatible rainbow tables .

Photoshop Automation

Image
Step 1. Start Photoshop (Mine CS 6) - Goto Window - > Actions (Alt+F9) Step 2. Crate New Action

C# Get All ToolStripMenuItems In MenuStrip

SQL Data Insert Via TSQL Server Cursor.

Pagination Full Example PHP - MYSQL

Image
Code :  http://pastebin.com/PKdbyT0A Database for mysql : http://downloads.mysql.com/docs/world_innodb.sql.zip

Locations of Common Log Files on cPanel Servers

Apache Apache is the web server that is typically utilized by cPanel.  On cPanel servers Apache does write to a rather high number of logs as each site has its own traffic log. The access_log is used to log all http requests to ether the hostname of the server, requests directed at the servers IPs, or sites that resolve to the server but are no longer hosted on it. On cPanel servers all Apache errors, regardless of site, are logged in the error_log.

Wordpress admin password recovery methods

Method 1 -  Through FTP There is also an easy way to reset your password via FTP, if you're using the admin user. 1. Login to your site via FTP and download your active theme's functions.php file. 2. Edit the file and add this code to it, right at the beginning, after the first wp_set_password('password',1); Put in your own new password for the main admin user. The "1" is the user ID number in the wp_users table. 3. Upload the modified file back to your site. 4. After you then are able to login, make sure to go back and remove that code. It will reset your password on every page load until you do. Wordpress MD5 Genarator : http://www.insidepro.com/hashes.php Method 2 -Run This PHP Script :)

How to stop wordpress brute force attack

1. Use a strong password Minimum password recommendations: - At least 8 characters total - Mixture of upper and lower-case letters - Numbers, punctuation or other non-alphanumeric characters Example weak password: secret1 Improved strong password: Z#hupsZ2M4!Z 2. Change default WordPress admin username When installing WordPress by default the administrator user has the username of admin. The botnet attack is currently only targeting this default username, so even having an administrator username of admin123 could signifiantly reduce the likilhood of your site being succesfully logged into by a malicious user. 3. Lock down WordPress admin access with .htaccess Utilizing a WordPress brute force plugin for this type of attack is not very efficient, and in some cases can actually lead to your site becoming unavailable due to the large amount of processing power used to attempt to challenge each and every malicious login attempt. Instead you should rely on the informat

WordPress Brute Force Attack Script

The information is to be used for educational purposes only. I’m not responsible for any misuse of this information. The following is meant to help you develop a cracking defensive attitude to prevent such attacks. In no way should you use this information to cause any kind of damage directly or indirectly. I started writing a Python script for brute forcing WordPress’ login page. Then I found this script by PuRiCeL .

Amazing Lasers! - Laser Flashlight Hack!

Image
This is nice tutorial to make laser flashlight from Youtube :) 

Lot of hacking tutorial PDF's & Tools Download

Image
HACKING TUTORIAL PDF'S arp_spoofing_intro.pdf 30-May-2005 19:08 29K arp_spoofing_slides.pdf 30-May-2005 19:08 124K buffer_overruns.pdf 30-May-2005 19:09 663K cheating_chap.pdf 30-May-2005 19:09 477K cross-site_tracing.pdf 30-May-2005 19:10 774K crt_optical_tempest.pdf 30-May-2005 19:10 400K ddos_attacks_info.pdf 30-May-2005 19:10 98K etherleak_report.pdf 30-May-2005 19:11 282K fingerprint_scanners.pdf 30-May-2005 19:13 1.2M optical_tempest.pdf 30-May-2005 19:12 346K session_fixation.pdf 30-May-2005 19:12 356K ssh-timing.pdf 30-May-2005 19:13 362K wep_analysis.pdf 30-May-2005 19:13 148K wireless-ids.pdf 30-May-2005 19:13 38K wireless_auditing.pdf 30-May-2005 19:13 113K wlan_macspooof_detection.pdf 30-May-2005 19:13 79K

Remove Tags In Clothes (Security Tag )

Image
Security Tags How it works http://www.youtube.com/watch?v=mVfz3hLx4Tk

How to view original facebook profile picture in actual size

Image
1.Find Profile ID Think you find any familiar image from " Find us on Facebook" ad-don via any website like bellow and it enable profile privacy and cannot recognize from small size image. Then you can use google chrome or Firefox option call inspect elements to find profile ID  It will show link like as https://fbcdn-profile-a.akamaihd.net/hprofile-ak-prn1/387722_ 114462822005027 _325743855_n.jpg 2. Highlighted part is profile ID 3.Then go that profile using like this 4. https://www.facebook.com/profile.php?id= 114462822005027 5.Then you get that profile page in Facebook 6.Use Inspect element tool in google chrome or Firefox find profile picture location 

How To Update Linux Kernel In Ubuntu - Manually

Image
You must download appropriate ubuntu kernel release from http://kernel.ubuntu.com/~kernel-ppa/mainline/   (in this case I am download 2.6.32 kernel version for update)   Download this 3 file types (it will depend on your processor architecture - my one is Intel 32bit - then i am downloaded i386 file types ) (your downloaded file must contain this names as file name) i.   linux-headers-??????????_all.deb ii.   linux-headers-??????????_i386.deb iii.  linux-image-????????????_i386.deb

Create First iPhone App

Image
Your First iOS App  introduces you to the Three T’s of iOS app development: Tools . How to use Xcode to create and manage a project. Technologies . How to create an app that responds to user input. Techniques . How to take advantage of some of the fundamental design patterns that underlie all iOS app development. After you complete all the steps in this tutorial, you’ll have an app that looks something like this: As you can see above, there are three main user interface elements in the app that you create: A text field (in which the user enters information) A label (in which the app displays information) A button (which causes the app to display information in the label)

Samsung SA100 Monitor Brightness Adjustment Tool

Adjust Monitor Brightness You can download the program from the below links Monitor Brightness Controller 1.2v  (updated 08-03-2013) Monitor Brightness Type Windows Size Download .exe 32-bit x86 213 KB Download .7z 32-bit x86 14 KB You can download  the  source code  or preview online  from    Source Mirror 1   Source Mirror 2 Last Update 2013-03-06 if you are not windows 7 or vista user you must install Microsoft .net framework before run the program. it can download bellow link www. microsoft .com/en-us/ download /details.aspx?id=1639 ‎

How to reset apple ID password ?

Image
Go to this URL and type your apple ID https://iforgot.apple.com How to reset apple id password ?

How to view open ports in windows pc

Image
Open Command prompt : Step 1. Press these key-combination to open run dialog Ctrl+R  Step 2. Type "cmd" (without quotes) command to open command prompt [DOS prompt] cmd  Step 3. Type "netstat -a" (without quotes) netstat -a To get help about this command type netstat /? or netstat help

Install MySQL In Ubuntu On VMware And Connect Through The Host Pc (windows or any host pc)

Image
This article explain how to install MySql 5.5 with Ubuntu 12.04 on VMware (VMware Workstation 8.0.1) and connect through the virtual pc to access the MySql databases in Host pc (Windows or what ever os on host pc).  1.Install MYSQL On Ubuntu 12.04 sudo apt-get install mysql-server   (make sure you are log in as root user,fast internet connection help to download package's correctly.if network connection slow,then download packages may be corrupted!) 2.Install MYSQL Workbench sudo apt-get install mysql-workbench  

Vmware ubuntu 12.04 - windows 7 networking

Virtual machine settings : ------------------------- Network adapter - Host Only IPv4 Settings - Method Automatic DHCP IPv6 Settings -  Method Automatic Host-PC --------- Select your network adapter  eg: Celcome3G BroadBand Right click - > properties -> goto Sharing-> select  Allow to other network  users to connect through this computer's internet  connection. Then select vmware network adapter VMNet1. Then Press OK.

Reboot VMware -Ubuntu

sudo reboot

VMWare Tool Installation for Ubuntu

#Mount the CD drom sudo mkdir /mnt/cdrom sudo mount /dev/cdrom /mnt/cdrom #Run this command to find the exact name of the VMware Tools bundle; the file name varies depending on your version of Fusion: ls /mnt/cdrom #Extract contents of cdrom to tmp directory tar -zxvf /mnt/cdrom/VMwareTools- .tar.gz -C /tmp/ Note: is the version discovered in the previous step which at the time of writing was  VMwareTools-8.3.7-341836.tar.gz #now move into the vmware tools directory in tmp directory. cd /tmp/vmware-tools-distrib/ #Run the installer with the -d switch to accept defaults. sudo ./vmware-install.pl -d

Enabling the root account in ubuntu

sudo -i To enable the Root account (i.e. set a password) use: sudo passwd root