Saturday, April 26, 2014

How to install scrapy on windows 7

Scrapy is a python library and is used to scrap and crawl the data from web. Here are the steps to install scrapy 

1. Install python 2.7
First install python 2.7 from
Direct Link:

2. Set Environment Variables
Add following paths in PATH variable
Here is a guide how to add system variables

3. Install Visual C++ 2008 redistributables
Direct Link:

4. Install OpenSSL
Direct Link:
again add C:\OpenSSL-Win32\bin in your environment variables

5. Install Setuptools and pip
Setup Tools:

6. pywin32
Direct Link:

7. Install Twisted-13.0.0.win32
Direct Link:

8. Install zope interface
Direct Link:

9. Install LXML
Direct Link: 

10 Install pyopenssl
Direct Link:

11. Install scrapy
Run this command
pip install scrapy

Tuesday, July 30, 2013


In today’s technology centered environment, there are often clashes between PHP and Ruby on rails programmers for their language supremacy. People should have a clear idea that PHP is a language and Ruby on rails is language over a framework. So, comparing PHP Vs Ruby on Rails wouldn’t be ideal one. However, I have tried to provide few insights on this comparison.

Most interesting talks these days in tech world is PHP replaced perl and now it is more likely ROR would replace PHP. I would certainly disagree with these, as PHP has been built to overcome difficulties based by programmers in perl. Similarly ruby in rails is built by programmers after drawbacks in languages PHP, ASP and perl.

PHP growth rate is stagnating for the past few years, whereas Ruby on rails has been growing tremendously. It is mainly because most developers want to be more sophisticated in their development.

Following are few general differences which could be list out,
Application performance:
PHP coding runs faster than that of Ruby on rails code. However, we can achieve tasks in ROR with few lines of code compared with that of PHP coding.

Web hosting:
Most of the webs hosting companies do support PHP applications, whereas Ruby on rails would be supported only by unix based server. Still Control panel for Rails 3.0 framework have not been implemented. On hosting front, PHP is clear winner. With introduction of Heroku, ROR applications can be hosted easier.

In PHP, testing code and modules is difficult one. However, in Ruby on rails with introduction of R-spec testing rails code is an easy cake for developers.Ruby on Rails development will be helpful in creating bug-free application. In CakePHP you can do those testing, with certain code changes.

Code Structure:
ROR has clear code structure compared to that of PHP.

PHP has more compatible frameworks like CakePHP, codeigniter and Zend. In Ruby too, apart from rails there are many good frameworks like Sinatra, vintage etc. Both languages has very good MVC architectural framework.

Both languages’ syntax are clear and simple. However, Ruby without ending syntax was not acceptable many programmers.

PHP along with its fireworks utilizes less memory space, whereas Ruby on rails would use more space. Hence, application based on Ruby on rails would be slower compared to that of PHP.

In the war of PHP Vs ROR, developers shouldn’t have any issues in learning both technologies. You could choose technology depending on resource availability and requirements. Ruby on rails is gaining momentum and PHP has proven track record of matured programming language.


Wednesday, March 20, 2013

Firesheep - A Firefox extension that demonstrates HTTP session hijacking attacks.

Firesheep, a Firefox extension designed to demonstrate just how serious this problem is.

After installing the extension you'll see a new sidebar. Connect to any busy open wifi network and click the big "Start Capturing" button. Then wait.

System Requirements

  • Mac OS X: 10.5 or newer on an Intel processor.
  • Windows: XP or newer. Install Winpcap first!
  • Linux: Not currently supported.
  • Firefox: 3.6.12 or newer. 32-bit only. Firefox 4.x beta not supported.


Getting Help

More Information

Wireless Network Hacking | Download Wi-fEye

Wi-fEye is designed to help with network penetration testing, Wi-fEye will allow you to perform a number of powerful attacks Automatically, all you have to do is to lunch Wi-fEye, choose which attack to perform, select your target and let Wi-fEye do the magic !!.

Wi-fEye is divided to four main menus:

Cracking menu: This menu will allow you to:
Enable monitor mode
View avalale Wireless Networks
Launch Airodump-ng on a specific AP
WEP cracking: this will allow you to perform the following attacks automatically:

- Interactive packet replay.
- Fake Authentication Attack.
- Korek Chopchop Attack.
- Fragmentation Attack.
- Hirte Attack (cfrag attack).
- Wesside-ng.

WPA Cracking: This contains the following attacks:

- Wordlist Attack
- Rouge AP Attack.

2. Mapping: this menu will allow you to do the following:
Scan the network and view the connected hosts.
Use Nmap Automatically.

3. MITM: this menu will allow you to do the following Automatically:
Enable IP forwarding.
ARP Spoof.
Launch ettercap (Text mode).
Sniff SSL/HTTPS traffic.
Sniff URLs and send them to browser.
Sniff messengers from instant messengers.
Sniff images.
DNS Spoof.
HTTP Session Hijacking (using Hamster).

4. Others: this menu will allow you to o the following automatically:
Change MAC Address.
Hijack software updates (using Evilgrade).

Click to Download

Get Someone's IP Through AIM/MSN/Chat

Found a great website that logs IPs and gives you the lat/long./isp.

1)Create Account

2)Get one of the links and tell someone on AIM or whatever to click it, choose any of the images and tell them you painted it or some stupid shit like that.

3)When they look at the image, it logs their IP.

4)Bonus points:

-Tell them its animated and 20 seconds in it will change, this allows the website to have time to ensure all their info is retrieved.

Friday, March 15, 2013

Advanced GOOGLE Search Techniques

Advanced GOOGLE Search Techniques

Google, undoubtedly is the most popular search engine. May be you are using google for a long time, but do you know the advanced searching techniques to get the best results out of google?

It's never too late. A few search techniques you must know, are below. For ease of understanding, each technique is explained with an example.....

1>Type in Google :- nokia phone 
Result :- the words "nokia" and "phone"
2>Type in Google :- sailing OR boating 
Result :- either the word sailing or the word boating
3>Type in Google :- "love me tender" 
Result :- the exact phrase love me tender
4>Type in Google :- printer -cartridge 
Result :- the word printer but NOT the word cartridge
5>Type in Google :- Toy Story +2 
Result :- movie title including the number 2
6>Type in Google :- ~auto 
Result :- looks up the word auto and synonyms

7>Type in Google :- define:serendipity 
Result :- definitions of the word serendipity
8>Type in Google :- how now * cow 
Result :- the words how now cow separated by one or more words
Type in Google :- 978+456
Type in Google :- 978-456
Type in Google :- 978*456
Type in Google :- 978/456
12>% of 
Type in Google :- 50% of 100

raise to a power; 
Type in Google :- 4^8
14>old in new (conversion) 
Type in Google :- 45 celsius in Fahrenheit
15>site:(search only one website) 
Type in Google :- "invisible web"
16>link:(find linked pages) 
Type in Google :- link:
17>#...#(search within a number range) 
Type in Google :- nokia phone $200...$300
18>daterange:(search within specific date range) 
Type in Google :- bosnia daterange:200508-200510
19>safesearch: (exclude adult content) 
Type in Google :- safesearch:breast cancer
20>info: (find info about a page)
Type in Google :-

21>related: (related pages)
Type in Google :-
22>cache: (view cached page) 
Type in Google :-
23>filetype:(restrict search to specific filetype) 
Type in Google :- zoology filetype:ppt
24>allintitle: (search for keywords in page title) 
Type in Google :- allintitle:"nike" running
25>inurl:(restrict search to page URLs) 
Type in Google :- inurl:chewbacca
26> (specific domain search) 
Type in Google :-,,, etc.
27>site:country code (restrict search to country) 
Type in Google :- "rio de Janeiro"
28>intext:(search for keyword in body text) 
Type in Google :- intext:parlor

29>allintext: (return pages with all words specified in body text)
Type in Google :- allintext:north pole
30>book(search book text) 
Type in Google :- book The Lord of the Rings
31>phonebook:(find a phone number) 
Type in Google :- phonebook:Google CA
32>bphonebook: (find business phone numbers) 
Type in Google :- bphonebook:Intel OR
33>rphonebook:(find residential phone numbers) 
Type in Google :- rphonebook:Joe Smith Seattle WA
34>movie:(search for showtimes) 
Type in Google :- movie:wallace and gromit 97110
35>stocks:(get a stock quote) 
Type in Google :- stocks:ncesa
36> weather:(get local weather) 

Type in Google :- weather:97132

Tuesday, March 5, 2013

How to run android applications on computer

Its very simple to run the android applications on computer . 

Follow these steps

Step 1:
  1. Download BlueStacks on your Computer from this link
  2. After Download BlueStacks, Run Setup file and Install BlueStacks on your Computer.
  3. Restart computer after installation. Now BlueStacks is Installed on Your Computer.
Step 2: 
  1. Download any Android App on your PC.
  2. Browse the Folder where the app is downloaded
  3. Right Click on App (with .apk extenstion)
  4. Select "Open With"
  5. Click on "Browse"
  6. Browse to C:\ProgramFiles\BlueStacks-Android Apk Handler Application Program
  7. Click "OK"
  8. Double Click on the App that you want to Install
  9. Installation will start 
  10. Confirmation message will display in pop-up
  11. Run BlueStacks Program from Desktop
  12. You can see your installed app in BlueStacks