SystemCrash86 Posted February 16, 2013 Share Posted February 16, 2013 I am using Backtrack 5r3 and have been playing around with SET (Social Engineering Toolkit) and Metasploit's Harverster with success with my Window XP virtual machine. I thought i would try jigsaw in the Backtrack menu - Backtrack - Information Gathering - Network Analysis - OSINT Analysis -Jigsaw I have run into some errors that i can't explain. I use example Google just to get me started, and its what is used on tutorials on youtube. First when i ran jigsaw it started out good : root@bt:/pentest/enumeration/jigsaw# ./jigsaw.rb -s googleSearching for google.Jigsaw ID: 215043 - Google, Inc. (5,896 employee/s)Jigsaw ID: 224667 - Google Postini Services (159 employee/s)Jigsaw ID: 439035 - AdMob Google Inc (3 employee/s)Jigsaw ID: 3661145 - Maps and Google Maps (1 employee/s)Jigsaw ID: 5170157 - Get Found on Google (0 employee/s)Jigsaw ID: 5124294 - Google Web List (0 employee/s)Jigsaw ID: 5138337 - Indian Art Company (0 employee/s)Jigsaw ID: 5184654 - Master Google (0 employee/s)Jigsaw ID: 5185023 - Davis Oldfield Inc (0 employee/s)Jigsaw ID: 5068941 - Appliance Service and Repair Center (0 employee/s)Jigsaw ID: 4866147 - Google Ventures (0 employee/s)Jigsaw ID: 458155 - Oogles N Googles (0 employee/s)Jigsaw ID: 1794426 - California Power and Light (0 employee/s)Jigsaw ID: 2378402 - How To Use Google (0 employee/s)root@bt:/pentest/enumeration/jigsaw# ./jigsaw.rb -iroot@bt:/pentest/enumeration/jigsaw# ^Croot@bt:/pentest/enumeration/jigsaw# ./jigsaw.rb -i 224667Your target has 3 domain/s:[1] - neomeo.com[2] - postini.com[3] - postinicorp.comEnter the number of the domain to use for crafting emails: 2Using 'postini.com' to craft emails.Found 27 records in the Sales department.Found 15 records in the Marketing department.Found 17 records in the Finance & Administration department.Found 4 records in the Human Resources department.Error retrieving number of records Timeout::ErrorError retrieving number of records Connection timed out - connect(2)Error retrieving number of records Connection timed out - connect(2) Then when i tried to run it a second time all i got was: root@bt:/pentest/enumeration/jigsaw# ./jigsaw.rb -s googleError getting cookie. Connection timed out - connect(2)Searching for google.Error performing search. undefined method `keys' for #<Errno::ETIMEDOUT: Connection timed out - connect(2)>root@bt:/pentest/enumeration/jigsaw# I have uninstalled, reinstalled, restarted, even downgraded once but still nothing. Hope someone can help Quote Link to comment Share on other sites More sharing options...
no42 Posted February 16, 2013 Share Posted February 16, 2013 Im guessing you need to make sure your running the latest version: https://github.com/pentestgeek/jigsaw/ And you need an account at jigsaw.com, you can then pass your username & password via the command line, to complete the search. Quote Link to comment Share on other sites More sharing options...
SystemCrash86 Posted February 16, 2013 Author Share Posted February 16, 2013 I tried that, i signed up at www.jigsaw.com and created a free account then tried again: root@bt:/pentest/enumeration/jigsaw# ruby jigsaw.rb -s google -u myemail@something.com -p ********************Error getting cookie. Connection timed out - connect(2)Searching for google.Error performing search. undefined method `keys' for #<Errno::ETIMEDOUT: Connection timed out - connect(2)>root@bt:/pentest/enumeration/jigsaw# And i am running the lastest version Quote Link to comment Share on other sites More sharing options...
no42 Posted February 16, 2013 Share Posted February 16, 2013 what version of ruby are you using? Quote Link to comment Share on other sites More sharing options...
SystemCrash86 Posted February 16, 2013 Author Share Posted February 16, 2013 Well i have the latest edition of Backtrack 5r3 and when i run ruby -v in the terminal i get: root@bt:~/Downloads# ruby -v ruby 1.9.2dev (2010-07-020 [i486-linux] Quote Link to comment Share on other sites More sharing options...
no42 Posted February 16, 2013 Share Posted February 16, 2013 Then I guess the owners of jigsaw have gotten wise to the jigsaw script, and connections from your IP are throttled/limited. Google does a similar thing - that is why you have the API now (with limitations). Quote Link to comment Share on other sites More sharing options...
SystemCrash86 Posted February 16, 2013 Author Share Posted February 16, 2013 That explains why i can no longer load www.jigsaw.com in my browser. Does this mean that jigsaw.rb in backtrack is now useless? Quote Link to comment Share on other sites More sharing options...
no42 Posted February 16, 2013 Share Posted February 16, 2013 (edited) Just use another IP, or use a proxy, or look into proxy-chaining, TOR? You can normally configure the shell to use a proxy, by setting an environment variable: $ export http_proxy=http://server-ip:port/ Also you could try writing a patch, so the ruby code supports using a web-proxy, a bet everyone would appreciate it. Edited February 16, 2013 by midnitesnake Quote Link to comment Share on other sites More sharing options...
gjames2467 Posted August 21, 2013 Share Posted August 21, 2013 Hey so I got Tor all set up, I changed it the socket host to 127.0.0.1:9950 and I can now go to Jigsaw.com on my browser, but still jigsaw will not run in the terminal. I figure I have to change this line in jigsaw.rb 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/20100101 Firefox/16.0' but I dont know what to change it to. How do I make jigsaw use tor-browser or a proxy error code: "root@bt:/pentest/enumeration/jigsaw# ./jigsaw.rb -s google -u george.james18@gmail.com -p ****** Error getting cookie. Connection refused - connect(2) Searching for google. Error performing search. undefined method `keys' for #<Errno::ECONNREFUSED: Connection refused - connect(2)> " Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.